]> git.phdru.name Git - dotfiles.git/log
dotfiles.git
4 years ago.mc/menu: Switch from `deadbeef` back to `audacious` and `audtool`
Oleg Broytman [Fri, 10 Apr 2020 09:57:56 +0000 (12:57 +0300)]
.mc/menu: Switch from `deadbeef` back to `audacious` and `audtool`

4 years ago.fvwmrc: Switch to the 1st virtual screen, top-left corner
Oleg Broytman [Fri, 10 Apr 2020 00:26:02 +0000 (03:26 +0300)]
.fvwmrc: Switch to the 1st virtual screen, top-left corner

I no longer start root terminal so I don't need to switch to it.

4 years ago.xinitrc: Run `xmodmap`
Oleg Broytman [Thu, 9 Apr 2020 18:53:35 +0000 (21:53 +0300)]
.xinitrc: Run `xmodmap`

4 years ago.Xmodmap: Map keypad keys
Oleg Broytman [Thu, 9 Apr 2020 18:44:26 +0000 (21:44 +0300)]
.Xmodmap: Map keypad keys

4 years ago.Xmodmap: Add more examples
Oleg Broytman [Thu, 9 Apr 2020 18:43:53 +0000 (21:43 +0300)]
.Xmodmap: Add more examples

4 years ago.Xmodmap: Refactor
Oleg Broytman [Thu, 9 Apr 2020 18:42:40 +0000 (21:42 +0300)]
.Xmodmap: Refactor

Just reorder sections.

4 years ago.fvwmrc: Start PulseAudio on start and resume
Oleg Broytman [Tue, 7 Apr 2020 05:45:06 +0000 (08:45 +0300)]
.fvwmrc: Start PulseAudio on start and resume

Right before `pavucontrol`.

4 years ago.fvwmrc: Return to `audacious` and `audtool`
Oleg Broytman [Tue, 7 Apr 2020 05:34:58 +0000 (08:34 +0300)]
.fvwmrc: Return to `audacious` and `audtool`

Switch from `deadbeef` back again.

4 years ago.fvwmrc: Do not return to (absent) root terminal
Oleg Broytman [Tue, 7 Apr 2020 05:34:18 +0000 (08:34 +0300)]
.fvwmrc: Do not return to (absent) root terminal

4 years ago.muttrc: Map keypad keys to arrows
Oleg Broytman [Tue, 7 Apr 2020 00:37:13 +0000 (03:37 +0300)]
.muttrc: Map keypad keys to arrows

Arrows doesn't really work, Home/End/PgUp/PgDn work.

4 years ago.vimrc: Map keypad keys to arrows
Oleg Broytman [Mon, 6 Apr 2020 23:48:49 +0000 (02:48 +0300)]
.vimrc: Map keypad keys to arrows

4 years ago.vimrc: Set `visualbell` and `belloff`
Oleg Broytman [Mon, 6 Apr 2020 23:48:12 +0000 (02:48 +0300)]
.vimrc: Set `visualbell` and `belloff`

4 years ago.xinitrc: Start/stop PulseAudio
Oleg Broytman [Mon, 6 Apr 2020 21:48:11 +0000 (00:48 +0300)]
.xinitrc: Start/stop PulseAudio

4 years ago.fvwmrc: Start PulseAudio
Oleg Broytman [Mon, 6 Apr 2020 12:23:43 +0000 (15:23 +0300)]
.fvwmrc: Start PulseAudio

PaVuControl stopped starting PA

4 years ago.fvwmrc: Do not start root terminal
Oleg Broytman [Mon, 6 Apr 2020 12:21:05 +0000 (15:21 +0300)]
.fvwmrc: Do not start root terminal

These days I prefer `sudo` for its excessive logging.

4 years ago.fvwmrc: Change big terminal size
Oleg Broytman [Mon, 6 Apr 2020 12:20:28 +0000 (15:20 +0300)]
.fvwmrc: Change big terminal size

4 years ago.shellrc: Minor refactoring
Oleg Broytman [Sun, 5 Apr 2020 15:08:50 +0000 (18:08 +0300)]
.shellrc: Minor refactoring

Source `~/.bash_completion.d/` after all completions.

4 years ago.vimrc: Remove excessive `redraw`
Oleg Broytman [Sun, 5 Apr 2020 14:40:47 +0000 (17:40 +0300)]
.vimrc: Remove excessive `redraw`

In `vim` 8.1 it causes strange on-screen effects.

4 years ago.profile: Add `~/.local/bin` to `PATH`
Oleg Broytman [Sun, 5 Apr 2020 14:40:07 +0000 (17:40 +0300)]
.profile: Add `~/.local/bin` to `PATH`

4 years ago.vim/python/virtualenv.py: Remove deprecated universal mode
Oleg Broytman [Sun, 5 Apr 2020 09:35:15 +0000 (12:35 +0300)]
.vim/python/virtualenv.py: Remove deprecated universal mode

4 years ago.xinitrc: calculate geometry for `xclock`
Oleg Broytman [Fri, 27 Mar 2020 15:59:42 +0000 (18:59 +0300)]
.xinitrc: calculate geometry for `xclock`

4 years ago.shellrc: Check if file `bash_completion` exists
Oleg Broytman [Tue, 10 Mar 2020 23:26:33 +0000 (02:26 +0300)]
.shellrc: Check if file `bash_completion` exists

4 years agoFix(init.py): Do not intercept EOF in `myinput`
Oleg Broytman [Thu, 5 Mar 2020 10:02:01 +0000 (13:02 +0300)]
Fix(init.py): Do not intercept EOF in `myinput`

4 years ago.vimrc: Use `empty()` instead of `len`/`strlen`
Oleg Broytman [Sun, 2 Feb 2020 15:33:30 +0000 (18:33 +0300)]
.vimrc: Use `empty()` instead of `len`/`strlen`

4 years agoFeat(python/init.py): Add more dark terminals
Oleg Broytman [Sun, 2 Feb 2020 14:01:48 +0000 (17:01 +0300)]
Feat(python/init.py): Add more dark terminals

Add `cygwin` and `putty`.

4 years agoFix(python/init.py): Do not use `ColoredFile` at unrecognized terminals
Oleg Broytman [Sun, 2 Feb 2020 14:01:48 +0000 (17:01 +0300)]
Fix(python/init.py): Do not use `ColoredFile` at unrecognized terminals

4 years ago.mc/menu: Test symlinks
Oleg Broytman [Thu, 30 Jan 2020 18:09:18 +0000 (21:09 +0300)]
.mc/menu: Test symlinks

4 years ago.psqlrc: Stop processing after an error
Oleg Broytman [Mon, 27 Jan 2020 22:10:46 +0000 (01:10 +0300)]
.psqlrc: Stop processing after an error

4 years ago.vimrc: Fix: expand to the full path for proper comparison
Oleg Broytman [Sun, 26 Jan 2020 18:12:05 +0000 (21:12 +0300)]
.vimrc: Fix: expand to the full path for proper comparison

4 years ago.plan: Add Skype
Oleg Broytman [Thu, 16 Jan 2020 11:42:52 +0000 (14:42 +0300)]
.plan: Add Skype

4 years ago.plan: Add Viber, WhatsApp
Oleg Broytman [Thu, 16 Jan 2020 11:42:22 +0000 (14:42 +0300)]
.plan: Add Viber, WhatsApp

4 years ago.plan: Removed Jabber JID phd@phdru.name
Oleg Broytman [Thu, 16 Jan 2020 11:40:05 +0000 (14:40 +0300)]
.plan: Removed Jabber JID phd@phdru.name

Free Jabber hosting Host.IM going to shut down.

4 years ago.shellrc: Use `.` instead of bashism `source`
Oleg Broytman [Tue, 24 Dec 2019 01:48:52 +0000 (04:48 +0300)]
.shellrc: Use `.` instead of bashism `source`

4 years ago.vimrc: Fix `lazyredraw`
Oleg Broytman [Thu, 19 Dec 2019 02:29:47 +0000 (05:29 +0300)]
.vimrc: Fix `lazyredraw`

4 years ago.mc/menu: View (Open)Docs with `libreoffice --cat`
Oleg Broytman [Fri, 29 Nov 2019 10:20:55 +0000 (13:20 +0300)]
.mc/menu: View (Open)Docs with `libreoffice --cat`

4 years ago.mc/menu: Verify signature from `*.gpg` files
Oleg Broytman [Wed, 27 Nov 2019 16:40:29 +0000 (19:40 +0300)]
.mc/menu: Verify signature from `*.gpg` files

5 years ago.vimrc: Change GUI cursor shape in different modes
Oleg Broytman [Mon, 18 Nov 2019 01:42:20 +0000 (04:42 +0300)]
.vimrc: Change GUI cursor shape in different modes

5 years agoAdapt Python scripts to Python 3
Oleg Broytman [Sat, 9 Nov 2019 23:01:39 +0000 (02:01 +0300)]
Adapt Python scripts to Python 3

Fix some `flake8` errors.

5 years agobin/cgmem_nice: Change `nice` parameter
Oleg Broytman [Tue, 5 Nov 2019 16:46:19 +0000 (19:46 +0300)]
bin/cgmem_nice: Change `nice` parameter

5 years ago.shellrc: Fix `cdremote`
Oleg Broytman [Tue, 5 Nov 2019 01:42:08 +0000 (04:42 +0300)]
.shellrc: Fix `cdremote`

`_list_remotes` and arrays are available only under bash.

5 years ago.shellrc: Add comment
Oleg Broytman [Tue, 5 Nov 2019 01:41:50 +0000 (04:41 +0300)]
.shellrc: Add comment

5 years ago.bash_completion: Add completion for `cgmem_nice`
Oleg Broytman [Sat, 26 Oct 2019 23:52:43 +0000 (02:52 +0300)]
.bash_completion: Add completion for `cgmem_nice`

5 years ago.vimrc: Add more dark terminals
Oleg Broytman [Mon, 21 Oct 2019 12:03:13 +0000 (15:03 +0300)]
.vimrc: Add more dark terminals

5 years ago.mc/mc.ext: Fix XML type
Oleg Broytman [Fri, 27 Sep 2019 21:09:11 +0000 (00:09 +0300)]
.mc/mc.ext: Fix XML type

5 years ago.shellrc: Remove excessive semicolons
Oleg Broytman [Thu, 26 Sep 2019 21:53:05 +0000 (00:53 +0300)]
.shellrc: Remove excessive semicolons

5 years ago.shellrc: Remove unused variable
Oleg Broytman [Thu, 26 Sep 2019 06:23:15 +0000 (09:23 +0300)]
.shellrc: Remove unused variable

5 years ago.shellrc: Fold long line
Oleg Broytman [Thu, 26 Sep 2019 06:22:52 +0000 (09:22 +0300)]
.shellrc: Fold long line

5 years ago.shellrc: Avoid excessive spaces on completion
Oleg Broytman [Sat, 21 Sep 2019 00:12:48 +0000 (03:12 +0300)]
.shellrc: Avoid excessive spaces on completion

Especially for `rsync` completion.

5 years agoAdd script `wget-download`
Oleg Broytman [Sat, 21 Sep 2019 00:12:09 +0000 (03:12 +0300)]
Add script `wget-download`

5 years ago.mc/menu: Change default mode for opening files in browser
Oleg Broytman [Tue, 27 Aug 2019 17:23:11 +0000 (20:23 +0300)]
.mc/menu: Change default mode for opening files in browser

Change default mode for opening html/text in browser
from new tab to new window.

5 years ago.shellrc: Fix `cdremote`: Skip branch without upstream
Oleg Broytman [Sun, 18 Aug 2019 18:19:19 +0000 (21:19 +0300)]
.shellrc: Fix `cdremote`: Skip branch without upstream

5 years ago.gitconfig: Comment out alias `git git`
Oleg Broytman [Sun, 18 Aug 2019 16:54:26 +0000 (19:54 +0300)]
.gitconfig: Comment out alias `git git`

It prevents `git help git`.

5 years agoStyle: Remove extra spaces
Oleg Broytman [Thu, 15 Aug 2019 23:54:23 +0000 (02:54 +0300)]
Style: Remove extra spaces

5 years agoFeat(.shellrc): Allow `file:/` URLs for `cdgitpath` and `cdremote`
Oleg Broytman [Thu, 15 Aug 2019 19:12:56 +0000 (22:12 +0300)]
Feat(.shellrc): Allow `file:/` URLs for `cdgitpath` and `cdremote`

5 years agoRefactor(.shellrc): Remove `_cdgitpath_completion_loader`
Oleg Broytman [Thu, 15 Aug 2019 19:11:59 +0000 (22:11 +0300)]
Refactor(.shellrc): Remove `_cdgitpath_completion_loader`

`_cdgitpath_complete` can be used directly.

5 years agoRefactor: Use `$#` to check parameters
Oleg Broytman [Thu, 15 Aug 2019 18:58:08 +0000 (21:58 +0300)]
Refactor: Use `$#` to check parameters

5 years agoFix(git-open): Replace `git@` in URL with `https://`
Oleg Broytman [Thu, 15 Aug 2019 18:52:29 +0000 (21:52 +0300)]
Fix(git-open): Replace `git@` in URL with `https://`

In hope the remote repository has web interface.

5 years ago.shellrc: Fix the list of remotes
Oleg Broytman [Fri, 9 Aug 2019 11:51:18 +0000 (14:51 +0300)]
.shellrc: Fix the list of remotes

5 years ago.shellrc: Report error if no directory found for the argument
Oleg Broytman [Mon, 5 Aug 2019 16:18:42 +0000 (19:18 +0300)]
.shellrc: Report error if no directory found for the argument

5 years ago.shellrc: Refactor `cdremote`: Use `_list_remotes`
Oleg Broytman [Mon, 5 Aug 2019 16:14:54 +0000 (19:14 +0300)]
.shellrc: Refactor `cdremote`: Use `_list_remotes`

5 years ago.shellrc: Improve array processing
Oleg Broytman [Mon, 5 Aug 2019 14:55:45 +0000 (17:55 +0300)]
.shellrc: Improve array processing

Make `GIT_REMOTES` array instead of converting it
from a string to array.

5 years ago.shellrc: Improve `cdremote`
Oleg Broytman [Mon, 5 Aug 2019 14:47:50 +0000 (17:47 +0300)]
.shellrc: Improve `cdremote`

If the remote URL for the current branch is not a filesystem path
try to find any remote with path as the URL;
if one is found `cd` to the path, else report error.

5 years agoFix(webbrowser-encode-url): Import forgotten `GetoptError`
Oleg Broytman [Sun, 4 Aug 2019 17:15:29 +0000 (20:15 +0300)]
Fix(webbrowser-encode-url): Import forgotten `GetoptError`

5 years ago.vimrc: Automatically run `mkspell` when saving spell `.add` files
Oleg Broytman [Fri, 19 Jul 2019 17:22:07 +0000 (20:22 +0300)]
.vimrc: Automatically run `mkspell` when saving spell `.add` files

5 years ago.vimrc: Fix: `t_SR` is a latest addition
Oleg Broytman [Fri, 19 Jul 2019 00:06:32 +0000 (03:06 +0300)]
.vimrc: Fix: `t_SR` is a latest addition

5 years ago.vimrc: Change cursor shape under GNU `screen`
Oleg Broytman [Thu, 18 Jul 2019 23:36:43 +0000 (02:36 +0300)]
.vimrc: Change cursor shape under GNU `screen`

5 years ago.vimrc: Restore `WrapForTmux`
Oleg Broytman [Thu, 18 Jul 2019 23:00:10 +0000 (02:00 +0300)]
.vimrc: Restore `WrapForTmux`

5 years ago.vimrc: Change xterm cursor shape in different modes
Oleg Broytman [Thu, 18 Jul 2019 20:36:27 +0000 (23:36 +0300)]
.vimrc: Change xterm cursor shape in different modes

Normal, insert, replace modes. Urxvt, actually.

5 years ago.vimrc: Improved bracketed paste mode
Oleg Broytman [Thu, 18 Jul 2019 19:28:59 +0000 (22:28 +0300)]
.vimrc: Improved bracketed paste mode

5 years ago.vimrc: Minor refactoring: reorder options
Oleg Broytman [Thu, 18 Jul 2019 19:28:18 +0000 (22:28 +0300)]
.vimrc: Minor refactoring: reorder options

5 years ago.shellrc: Process `~/.bash_completion.d`
Oleg Broytman [Tue, 16 Jul 2019 11:13:43 +0000 (14:13 +0300)]
.shellrc: Process `~/.bash_completion.d`

5 years ago.pdbrc: Adapt to Python 3
Oleg Broytman [Mon, 10 Jun 2019 10:11:49 +0000 (13:11 +0300)]
.pdbrc: Adapt to Python 3

5 years agopdb: Improve completion
Oleg Broytman [Mon, 10 Jun 2019 10:11:23 +0000 (13:11 +0300)]
pdb: Improve completion

5 years ago.xinitrc: Switch keyboard layout on both Shifts
Oleg Broytman [Wed, 5 Jun 2019 20:52:06 +0000 (23:52 +0300)]
.xinitrc: Switch keyboard layout on both Shifts

5 years agoRevert ".vimrc: Set universal encoding for .viminfo"
Oleg Broytman [Tue, 4 Jun 2019 22:19:09 +0000 (01:19 +0300)]
Revert ".vimrc: Set universal encoding for .viminfo"

This reverts commit cf1fcbf3b80158230383b27776ca768899b3a52b.

5 years ago.vimrc: Comment out `SetViminfoEncoding`
Oleg Broytman [Wed, 22 May 2019 08:39:21 +0000 (11:39 +0300)]
.vimrc: Comment out `SetViminfoEncoding`

Undo cf1fcbf3b80158230383b27776ca768899b3a52b.

It prevents copy/paste via `.viminfo` between terminals
with different encodings.

5 years ago.vim/plugin/tmpwatch.vim: echo -> echoerr
Oleg Broytman [Thu, 16 May 2019 23:50:30 +0000 (02:50 +0300)]
.vim/plugin/tmpwatch.vim: echo -> echoerr

5 years ago.muttrc: Change keys: Ctrl+A and Shift+A.
Oleg Broytman [Thu, 16 May 2019 20:01:01 +0000 (23:01 +0300)]
.muttrc: Change keys: Ctrl+A and Shift+A.

5 years ago.vim/filetype.vim: For `stackoverflow` exec `Code`
Oleg Broytman [Thu, 16 May 2019 18:06:51 +0000 (21:06 +0300)]
.vim/filetype.vim: For `stackoverflow` exec `Code`

For texts opened by `textern` for `stackoverflow.com`
execute command `Code`.

5 years ago.vim/filetype.vim: Add autocmd for `textern`
Oleg Broytman [Thu, 16 May 2019 00:54:05 +0000 (03:54 +0300)]
.vim/filetype.vim: Add autocmd for `textern`

Remove `ViewSourceWith` - the extension stopped working long ago.

5 years ago.vimrc: Add functions `Code`/`Text`
Oleg Broytman [Thu, 16 May 2019 00:53:31 +0000 (03:53 +0300)]
.vimrc: Add functions `Code`/`Text`

5 years ago.vimrc: Fix `SetExecutableBit`: Remove autocmd `FileChangedShell`
Oleg Broytman [Thu, 16 May 2019 00:52:06 +0000 (03:52 +0300)]
.vimrc: Fix `SetExecutableBit`: Remove autocmd `FileChangedShell`

5 years ago.vimrc: Set universal encoding for .viminfo
Oleg Broytman [Thu, 9 May 2019 17:38:46 +0000 (20:38 +0300)]
.vimrc: Set universal encoding for .viminfo

Set encoding in autocmd `VimLeavePre` for `.viminfo`.

5 years ago.vimrc: Refactor `viminfo` settings
Oleg Broytman [Thu, 9 May 2019 17:31:28 +0000 (20:31 +0300)]
.vimrc: Refactor `viminfo` settings

5 years ago.fvwm: Do not start `term-im-remote`
Oleg Broytman [Tue, 7 May 2019 13:36:41 +0000 (16:36 +0300)]
.fvwm: Do not start `term-im-remote`

5 years ago.vimrc: Set mouse only if mouse support is available
Oleg Broytman [Mon, 6 May 2019 14:51:25 +0000 (17:51 +0300)]
.vimrc: Set mouse only if mouse support is available

5 years ago.vimrc: Set flag `c` in `viminfo` in function `SlowTerm`
Oleg Broytman [Sun, 5 May 2019 16:48:58 +0000 (19:48 +0300)]
.vimrc: Set flag `c` in `viminfo` in function `SlowTerm`

5 years agoinit.py: Hide errors during `.write_history_file()`
Oleg Broytman [Tue, 23 Apr 2019 13:39:30 +0000 (16:39 +0300)]
init.py: Hide errors during `.write_history_file()`

5 years agoinit.py: Read and save history from/to the current virtualenv
Oleg Broytman [Mon, 22 Apr 2019 19:35:14 +0000 (22:35 +0300)]
init.py: Read and save history from/to the current virtualenv

Commented out for now.

5 years agoinit.py: Fix flake8 warnings
Oleg Broytman [Mon, 22 Apr 2019 19:34:40 +0000 (22:34 +0300)]
init.py: Fix flake8 warnings

5 years ago.vimrc: Redirect wikia.com -> fandom.com
Oleg Broytman [Thu, 18 Apr 2019 02:48:50 +0000 (05:48 +0300)]
.vimrc: Redirect wikia.com -> fandom.com

5 years ago.mc/menu: Use (g)mplay scripts
Oleg Broytman [Sun, 14 Apr 2019 18:18:21 +0000 (21:18 +0300)]
.mc/menu: Use (g)mplay scripts

5 years agoPlay video file(s) asking audio volume
Oleg Broytman [Sun, 14 Apr 2019 18:03:09 +0000 (21:03 +0300)]
Play video file(s) asking audio volume

5 years agobin/mplay: Adapt from mplayer to mpv
Oleg Broytman [Sun, 14 Apr 2019 17:59:02 +0000 (20:59 +0300)]
bin/mplay: Adapt from mplayer to mpv

5 years ago.mc/menu: Change wording
Oleg Broytman [Sun, 14 Apr 2019 16:14:21 +0000 (19:14 +0300)]
.mc/menu: Change wording

Replace "with recoded" by "recoding".

5 years ago.mc/menu: Use selected (`%s`) instead of tagged (`%t`) files
Oleg Broytman [Sun, 14 Apr 2019 16:13:28 +0000 (19:13 +0300)]
.mc/menu: Use selected (`%s`) instead of tagged (`%t`) files

5 years agobin/recode-inplace: Use `mktemp` instead of `python -c 'tempfile.mktemp()'`
Oleg Broytman [Sun, 31 Mar 2019 16:11:17 +0000 (19:11 +0300)]
bin/recode-inplace: Use `mktemp` instead of `python -c 'tempfile.mktemp()'`

5 years ago.gitconfig: Stop using `git://` protocol at Github
Oleg Broytman [Tue, 19 Mar 2019 16:36:47 +0000 (19:36 +0300)]
.gitconfig: Stop using `git://` protocol at Github

Github disabled `git://` protocol long ago.

5 years ago.mc/menu: View WebP image
Oleg Broytman [Tue, 12 Mar 2019 19:44:36 +0000 (22:44 +0300)]
.mc/menu: View WebP image

5 years ago.vim/plugin/tmpwatch.vim: Do not remove file from the current directory
Oleg Broytman [Sat, 9 Mar 2019 21:44:40 +0000 (00:44 +0300)]
.vim/plugin/tmpwatch.vim: Do not remove file from the current directory