]>
git.phdru.name Git - dotfiles.git/log
Oleg Broytman [Mon, 1 Oct 2018 13:08:28 +0000 (16:08 +0300)]
.vimrc: source $VIMRUNTIME/defaults.vim and reset &scrolloff
Oleg Broytman [Mon, 1 Oct 2018 13:07:47 +0000 (16:07 +0300)]
.vimrc: Exit vim if the only window is option window
Oleg Broytman [Sat, 15 Sep 2018 08:51:41 +0000 (11:51 +0300)]
.vim/after/indent/(x|ht)ml.vim: Don't re-indent lines on right-angle-bracket
Oleg Broytman [Mon, 3 Sep 2018 15:16:10 +0000 (18:16 +0300)]
.vim/python/completion.py: Fix "bare exec" in Python 2
Prevent SyntaxError: unqualified exec is not allowed in function 'vim_calc'
it contains a nested function with free variables.
The problem is that ''.join('\\x%02x' % ord(x) for x in str(_))
creates a generator.
Oleg Broytman [Tue, 28 Aug 2018 22:46:38 +0000 (01:46 +0300)]
.vim/rc: Adapt python code to both python and python3
Oleg Broytman [Tue, 21 Aug 2018 06:32:01 +0000 (09:32 +0300)]
.screenrc: Add flags (`%f`) to hardstatus
Oleg Broytman [Wed, 8 Aug 2018 22:51:35 +0000 (01:51 +0300)]
.mc/menu: Identify image properties using `xli -identify`
Oleg Broytman [Wed, 8 Aug 2018 22:51:06 +0000 (01:51 +0300)]
.mc/menu: Change gvim hotkey
Oleg Broytman [Tue, 24 Jul 2018 21:41:54 +0000 (00:41 +0300)]
.screenrc: Update from Debian system /etc/screenrc
Oleg Broytman [Sun, 15 Jul 2018 21:56:10 +0000 (00:56 +0300)]
xinitrc: On an unknown host just start X without adding alternatives
Oleg Broytman [Sat, 14 Jul 2018 19:55:43 +0000 (22:55 +0300)]
.fvwmrc: Open mpv a bit to the left to allow bigger initial window
Oleg Broytman [Fri, 29 Jun 2018 14:42:31 +0000 (17:42 +0300)]
.vimrc: Extend listchars
Oleg Broytman [Tue, 26 Jun 2018 18:07:19 +0000 (21:07 +0300)]
.gitconfig: `exec git` to avoid an excessive `fork`
Oleg Broytman [Sat, 26 May 2018 04:50:18 +0000 (07:50 +0300)]
.mc/menu: Edit the file in gvim
Oleg Broytman [Fri, 25 May 2018 07:45:52 +0000 (10:45 +0300)]
Upgrade: http://phdru.name -> https://phdru.name
Oleg Broytman [Sat, 5 May 2018 00:31:21 +0000 (03:31 +0300)]
bin/: Upgrade debian to D9 "stretch"
Replace mplayer/gmplayer/smplayer with mpv.
Oleg Broytman [Sat, 5 May 2018 00:30:17 +0000 (03:30 +0300)]
bin/: Remove outdated PTL-related scripts
Oleg Broytman [Fri, 4 May 2018 23:32:40 +0000 (02:32 +0300)]
.mc/: Use djview to view djvu
Oleg Broytman [Fri, 4 May 2018 23:31:44 +0000 (02:31 +0300)]
.mc/: Upgrade debian to D9 "stretch"
Replace mplayer/gmplayer/smplayer with mpv.
Oleg Broytman [Fri, 4 May 2018 23:12:38 +0000 (02:12 +0300)]
.mailcap: Give djview higher priority
Oleg Broytman [Sun, 29 Apr 2018 17:01:04 +0000 (20:01 +0300)]
.gitconfig: Add alias `dh` to run diff-highlight
Oleg Broytman [Tue, 24 Apr 2018 05:59:56 +0000 (08:59 +0300)]
.fvwm/main.m4: Reorder menu items
Oleg Broytman [Fri, 20 Apr 2018 13:31:03 +0000 (16:31 +0300)]
.vimrc: Run `chmod` silently
Oleg Broytman [Fri, 20 Apr 2018 13:30:08 +0000 (16:30 +0300)]
.vimrc: Don't use `execute` for fixed autocommands
Oleg Broytman [Thu, 19 Apr 2018 22:14:04 +0000 (01:14 +0300)]
.gitconfig: Allow force-push to local repositories
Oleg Broytman [Mon, 9 Apr 2018 19:59:21 +0000 (22:59 +0300)]
Fix(.shellrc): Fix directory name: bash_completion -> bash-completion
Oleg Broytman [Fri, 6 Apr 2018 22:03:43 +0000 (01:03 +0300)]
.fvwm/main.m4: Remove extra ruler line in menu
Comment out excessive Nop.
Oleg Broytman [Thu, 5 Apr 2018 22:01:25 +0000 (01:01 +0300)]
.fvwm/main.m4: Remove MyRuLib
Development of MyRuLib has stalled.
Oleg Broytman [Mon, 2 Apr 2018 23:26:19 +0000 (02:26 +0300)]
.shellrc: Remove .Xauthority on exit from X
Oleg Broytman [Mon, 2 Apr 2018 23:21:31 +0000 (02:21 +0300)]
.xinitrc: Add X authorization for all host names
My notebook has notebook-eth and notebook-wifi names.
To seamlessly switch between them I need to allow both.
Oleg Broytman [Thu, 29 Mar 2018 18:42:29 +0000 (21:42 +0300)]
init.py: Refactor loop over term types
Oleg Broytman [Wed, 28 Mar 2018 17:51:54 +0000 (20:51 +0300)]
.shellrc: Refactor `has_completion`
Oleg Broytman [Mon, 26 Mar 2018 04:07:22 +0000 (07:07 +0300)]
.vimrc: Optimize SetExecutableBit: fname is no longer used
We use `au FileChangedShell <buffer>` syntax
instead of `au FileChangedShell fname`.
Oleg Broytman [Mon, 26 Mar 2018 04:03:51 +0000 (07:03 +0300)]
.vimrc: Fix checktime/FileChangedShell
When `checktime` is called in an autocommand
it doesn't trigger FileChangedShell immediately.
Instead it waits until the end of the autocommand.
So we have to remove FileChangedShell autocommand
when it's triggered, not inside SetExecutableBit function
called from an autocommand.
Oleg Broytman [Mon, 26 Mar 2018 04:00:44 +0000 (07:00 +0300)]
.vimrc: Rename Xbit to ToggleXbit
Oleg Broytman [Mon, 26 Mar 2018 03:59:48 +0000 (06:59 +0300)]
.vimrc: Check chmod just once
Oleg Broytman [Thu, 22 Mar 2018 14:21:52 +0000 (17:21 +0300)]
.screenrc: Remove unused settings
They are probably outdated anyway.
Oleg Broytman [Thu, 22 Mar 2018 14:21:20 +0000 (17:21 +0300)]
.screenrc: Allow virtual alternate screen
Oleg Broytman [Fri, 16 Mar 2018 18:01:29 +0000 (21:01 +0300)]
.muttrc: Use mimedecode instead of mimedecode.py
`mimedecode.py` was split into `mimedecode` startup script
and `mimedecode` library.
Oleg Broytman [Tue, 13 Mar 2018 20:44:35 +0000 (23:44 +0300)]
.fvwm/main.m4: Add a newline for gxmessage
Remove option `-n` from `text-wrap.py` to add a newline in the text
for `gxmessage`. `gxmessage` now requires the last `\n`.
Oleg Broytman [Tue, 6 Mar 2018 16:37:10 +0000 (19:37 +0300)]
.inputrc: Change key bindings
Restore Up/Down behaviour to be prev/next history.
Make PgUp/PgDn behaviour to be prev/next search.
Oleg Broytman [Tue, 6 Mar 2018 09:05:16 +0000 (12:05 +0300)]
Add .vim/plugin/tmpwatch.vim - plugin to cleanup old files from ~/tmp/vim
Oleg Broytman [Tue, 6 Mar 2018 08:44:48 +0000 (11:44 +0300)]
Stop using tmux: it no longer works with non-utf8 locales
See https://github.com/tmux/tmux/issues/1211
Back to GNU screen then.
Oleg Broytman [Tue, 6 Mar 2018 08:44:03 +0000 (11:44 +0300)]
Update configs after upgrading to Debian 9 "stretch"
Oleg Broytman [Tue, 6 Mar 2018 08:42:39 +0000 (11:42 +0300)]
Remove bin/replace: Use `sed -i` instead
Oleg Broytman [Mon, 5 Mar 2018 01:21:56 +0000 (04:21 +0300)]
.tmux.conf: Update to tmux 2.3 (Debian 9 stretch)
Oleg Broytman [Sat, 24 Feb 2018 20:57:26 +0000 (23:57 +0300)]
.muttrc: Update for Debian 9 "stretch"
Oleg Broytman [Tue, 30 Jan 2018 23:03:04 +0000 (02:03 +0300)]
lib/config/gpg-agent-update-tty: Change gpg-connect-agent command line
Oleg Broytman [Thu, 11 Jan 2018 21:57:21 +0000 (00:57 +0300)]
.muttrc: Fix quoting in a multiline hook
Oleg Broytman [Sat, 30 Dec 2017 13:31:23 +0000 (16:31 +0300)]
.xinitrc: Set mouse acceleration
Oleg Broytman [Wed, 13 Dec 2017 19:47:13 +0000 (22:47 +0300)]
.shellrc: Fix _cdgitpath_completion_loader name
Oleg Broytman [Wed, 13 Dec 2017 19:37:05 +0000 (22:37 +0300)]
.shellrc: Split cdremote into cdgitpath
cdgitpath can now cd into a path in any config key.
cdremote performs cd to a path in a remote.
Oleg Broytman [Sun, 10 Dec 2017 19:33:51 +0000 (22:33 +0300)]
.fvwm/main.m4: Iconify Firefox' 1st window instead of lowering
Oleg Broytman [Wed, 22 Nov 2017 18:48:04 +0000 (21:48 +0300)]
.procmailrc: Add core-workflow mailing list
Oleg Broytman [Fri, 10 Nov 2017 20:36:08 +0000 (23:36 +0300)]
.gitconfig: exec exec exec
Oleg Broytman [Tue, 24 Oct 2017 19:57:06 +0000 (22:57 +0300)]
.muttrc: Restore more defaults
Oleg Broytman [Fri, 20 Oct 2017 15:49:54 +0000 (18:49 +0300)]
.muttrc: Add header X-Skip-DKIM-Sig for known mailing lists
The header is checked in exim to skip DKIM-signing messages
to mailing lists -- mail forwarded via lists have problems
with DKIM/DMARC and they usually sign messages themselves.
Oleg Broytman [Tue, 17 Oct 2017 23:50:20 +0000 (02:50 +0300)]
.tmux.conf: Don't wait for [Esc]
Allow fast switching from insert mode to normal in vim.
Set (and export) environment variable SLOWTERM to override.
Oleg Broytman [Fri, 13 Oct 2017 17:23:11 +0000 (20:23 +0300)]
.shellrc: Fix shell syntax
Read completion files one by one.
Oleg Broytman [Fri, 29 Sep 2017 13:14:48 +0000 (16:14 +0300)]
init.py: Catch EOFError in myinput()
Oleg Broytman [Fri, 29 Sep 2017 13:14:05 +0000 (16:14 +0300)]
pdbrc.py: Move global code into function init()
Oleg Broytman [Thu, 31 Aug 2017 14:08:42 +0000 (17:08 +0300)]
.tmux.conf: Improve copy mode bindings
Use vi mode-keys. Add/fix vi-copy bindings.
Remove emacs-copy bindings.
Oleg Broytman [Thu, 31 Aug 2017 14:08:11 +0000 (17:08 +0300)]
.tmux.conf: Change message
Oleg Broytman [Fri, 25 Aug 2017 09:54:19 +0000 (12:54 +0300)]
.vimrc: Improve SetExecutableBit
Do not set/clear the executable bit if it's already set/clear.
Oleg Broytman [Fri, 25 Aug 2017 09:53:51 +0000 (12:53 +0300)]
.vim/ftplugin/python.vim: Fix elseif syntax
Oleg Broytman [Fri, 25 Aug 2017 09:53:04 +0000 (12:53 +0300)]
.vimrc: Protect SetupEncoding from reloading unnamed buffer
Oleg Broytman [Thu, 24 Aug 2017 18:12:31 +0000 (21:12 +0300)]
.gitconfig: Add tag.sort reminder
It's not compatible with 'git tags' alias.
Oleg Broytman [Sun, 20 Aug 2017 21:06:31 +0000 (00:06 +0300)]
.shellrc: Get remote for cdremote from the current branch
Oleg Broytman [Sun, 20 Aug 2017 01:02:24 +0000 (04:02 +0300)]
.vim: Add SetExecutableBit based on Tip 212
Oleg Broytman [Sun, 20 Aug 2017 01:01:36 +0000 (04:01 +0300)]
.vimrc: Change URLs
Oleg Broytman [Mon, 7 Aug 2017 10:14:11 +0000 (13:14 +0300)]
.procmailrc: Fix Klez rule to avoid false positives
Avoid recognizing .com TLD as .com file extension.
Oleg Broytman [Thu, 27 Jul 2017 21:56:14 +0000 (00:56 +0300)]
lib/python/init.py: Call parse_and_bind for libedit and readline
Just a reminder for now.
Oleg Broytman [Thu, 27 Jul 2017 13:11:53 +0000 (16:11 +0300)]
.muttrc: Add mailing lists .*@vex.net (PyGreSQL)
Oleg Broytman [Wed, 26 Jul 2017 22:01:13 +0000 (01:01 +0300)]
.procmailrc: Add a rule for PyGreSQL mailing list
Oleg Broytman [Mon, 24 Jul 2017 16:05:38 +0000 (19:05 +0300)]
.shellrc: activate virtualenv in a subshell
Oleg Broytman [Sat, 22 Jul 2017 11:33:04 +0000 (14:33 +0300)]
.vimrc: Use xclip to copy/paste to/from X clipboard at remote host
Oleg Broytman [Fri, 7 Jul 2017 18:10:04 +0000 (21:10 +0300)]
.mc/mc.ext: Add a regex for zip archives
Default mc.ext recognizes zip by type which is not reliable -
it recognizes JAR archives as JAR, not ZIP, for example.
Oleg Broytman [Wed, 5 Jul 2017 09:31:03 +0000 (12:31 +0300)]
Fix(lib/python/init.py): Fix stdout for readline
Restore stdout during raw_input().
Necessary because readline works only with bare stdout.
This fixes code.interact(), django-admin shell and all that.
Oleg Broytman [Tue, 4 Jul 2017 20:47:49 +0000 (23:47 +0300)]
Feat(.vim/ftplugin/python.vim): report if there was an error calling chmod
Oleg Broytman [Tue, 4 Jul 2017 20:46:02 +0000 (23:46 +0300)]
Feat(.vim/ftplugin/python.vim): Do not call chmod if not required
Do not call chmod if the script is already executable
or chmod is not available in the wrong OS.
Oleg Broytman [Tue, 20 Jun 2017 20:52:56 +0000 (23:52 +0300)]
.shellrc: slightly change comment
Oleg Broytman [Sat, 17 Jun 2017 09:39:42 +0000 (12:39 +0300)]
.fvwm/main.m4: At startup open 2 windows with just 1 tab
Oleg Broytman [Sat, 17 Jun 2017 09:38:56 +0000 (12:38 +0300)]
.fvwm/main.m4: Fix path to Firefox icons
Oleg Broytman [Tue, 6 Jun 2017 19:52:34 +0000 (22:52 +0300)]
.gitconfig: add my GPG key
Oleg Broytman [Tue, 16 May 2017 14:20:21 +0000 (17:20 +0300)]
.gitconfig: Add transfer.fsckObjects but not enable it
Just add as a reminder.
Oleg Broytman [Tue, 16 May 2017 14:19:40 +0000 (17:19 +0300)]
.gitconfig: Add receive.deny*
Oleg Broytman [Tue, 16 May 2017 14:18:56 +0000 (17:18 +0300)]
.gitconfig: Set push.recurseSubmodules = check
Oleg Broytman [Tue, 16 May 2017 14:17:40 +0000 (17:17 +0300)]
.gitconfig: Add log.mailmap but not enable it
Just add as a reminder.
Oleg Broytman [Tue, 16 May 2017 14:16:53 +0000 (17:16 +0300)]
.gitconfig: Set grep.fallbackToNoIndex
Oleg Broytman [Tue, 16 May 2017 14:16:11 +0000 (17:16 +0300)]
.gitconfig: Set diff.indentHeuristic
Oleg Broytman [Tue, 16 May 2017 14:14:54 +0000 (17:14 +0300)]
.gitconfig: Force --no-short for status
Oleg Broytman [Tue, 16 May 2017 11:29:28 +0000 (14:29 +0300)]
.gitconfig: Add ff and git aliases
Oleg Broytman [Tue, 2 May 2017 20:17:15 +0000 (23:17 +0300)]
.muttrc: Set Mail-Followup-To for cheetahtemplate-announce list
Oleg Broytman [Wed, 19 Apr 2017 23:21:55 +0000 (02:21 +0300)]
.gitconfig: set push.followTags = true
Oleg Broytman [Wed, 19 Apr 2017 19:57:03 +0000 (22:57 +0300)]
.tmux.conf: fix copy/paste commands
Oleg Broytman [Fri, 14 Apr 2017 07:05:55 +0000 (10:05 +0300)]
.vimrc: automatically set paste mode when pasting in bracketed paste mode
Oleg Broytman [Fri, 14 Apr 2017 07:04:51 +0000 (10:04 +0300)]
.muttrc: change envelope settings in sync with my exim config
Oleg Broytman [Thu, 13 Apr 2017 22:37:53 +0000 (01:37 +0300)]
.tmux.conf: add select-window bindings
Oleg Broytman [Sun, 9 Apr 2017 17:12:06 +0000 (20:12 +0300)]
init.py: Remove support for Python <= 2.4
Oleg Broytman [Sun, 9 Apr 2017 13:52:17 +0000 (16:52 +0300)]
.vim: Change path to tmp files of ViewSourceWith