]> git.phdru.name Git - dotfiles.git/log
dotfiles.git
6 years ago.vimrc: Fix checktime/FileChangedShell
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.

6 years ago.vimrc: Rename Xbit to ToggleXbit
Oleg Broytman [Mon, 26 Mar 2018 04:00:44 +0000 (07:00 +0300)]
.vimrc: Rename Xbit to ToggleXbit

6 years ago.vimrc: Check chmod just once
Oleg Broytman [Mon, 26 Mar 2018 03:59:48 +0000 (06:59 +0300)]
.vimrc: Check chmod just once

6 years ago.screenrc: Remove unused settings
Oleg Broytman [Thu, 22 Mar 2018 14:21:52 +0000 (17:21 +0300)]
.screenrc: Remove unused settings

They are probably outdated anyway.

6 years ago.screenrc: Allow virtual alternate screen
Oleg Broytman [Thu, 22 Mar 2018 14:21:20 +0000 (17:21 +0300)]
.screenrc: Allow virtual alternate screen

6 years ago.muttrc: Use mimedecode instead of mimedecode.py
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.

6 years ago.fvwm/main.m4: Add a newline for gxmessage
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`.

6 years ago.inputrc: Change key bindings
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.

6 years agoAdd .vim/plugin/tmpwatch.vim - plugin to cleanup old files from ~/tmp/vim
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

6 years agoStop using tmux: it no longer works with non-utf8 locales
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.

6 years agoUpdate configs after upgrading to Debian 9 "stretch"
Oleg Broytman [Tue, 6 Mar 2018 08:44:03 +0000 (11:44 +0300)]
Update configs after upgrading to Debian 9 "stretch"

6 years agoRemove bin/replace: Use `sed -i` instead
Oleg Broytman [Tue, 6 Mar 2018 08:42:39 +0000 (11:42 +0300)]
Remove bin/replace: Use `sed -i` instead

6 years ago.tmux.conf: Update to tmux 2.3 (Debian 9 stretch)
Oleg Broytman [Mon, 5 Mar 2018 01:21:56 +0000 (04:21 +0300)]
.tmux.conf: Update to tmux 2.3 (Debian 9 stretch)

6 years ago.muttrc: Update for Debian 9 "stretch"
Oleg Broytman [Sat, 24 Feb 2018 20:57:26 +0000 (23:57 +0300)]
.muttrc: Update for Debian 9 "stretch"

6 years agolib/config/gpg-agent-update-tty: Change gpg-connect-agent command line
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

6 years ago.muttrc: Fix quoting in a multiline hook
Oleg Broytman [Thu, 11 Jan 2018 21:57:21 +0000 (00:57 +0300)]
.muttrc: Fix quoting in a multiline hook

6 years ago.xinitrc: Set mouse acceleration
Oleg Broytman [Sat, 30 Dec 2017 13:31:23 +0000 (16:31 +0300)]
.xinitrc: Set mouse acceleration

6 years ago.shellrc: Fix _cdgitpath_completion_loader name
Oleg Broytman [Wed, 13 Dec 2017 19:47:13 +0000 (22:47 +0300)]
.shellrc: Fix _cdgitpath_completion_loader name

6 years ago.shellrc: Split cdremote into cdgitpath
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.

6 years ago.fvwm/main.m4: Iconify Firefox' 1st window instead of lowering
Oleg Broytman [Sun, 10 Dec 2017 19:33:51 +0000 (22:33 +0300)]
.fvwm/main.m4: Iconify Firefox' 1st window instead of lowering

7 years ago.procmailrc: Add core-workflow mailing list
Oleg Broytman [Wed, 22 Nov 2017 18:48:04 +0000 (21:48 +0300)]
.procmailrc: Add core-workflow mailing list

7 years ago.gitconfig: exec exec exec
Oleg Broytman [Fri, 10 Nov 2017 20:36:08 +0000 (23:36 +0300)]
.gitconfig: exec exec exec

7 years ago.muttrc: Restore more defaults
Oleg Broytman [Tue, 24 Oct 2017 19:57:06 +0000 (22:57 +0300)]
.muttrc: Restore more defaults

7 years ago.muttrc: Add header X-Skip-DKIM-Sig for known mailing lists
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.

7 years ago.tmux.conf: Don't wait for [Esc]
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.

7 years ago.shellrc: Fix shell syntax
Oleg Broytman [Fri, 13 Oct 2017 17:23:11 +0000 (20:23 +0300)]
.shellrc: Fix shell syntax

Read completion files one by one.

7 years agoinit.py: Catch EOFError in myinput()
Oleg Broytman [Fri, 29 Sep 2017 13:14:48 +0000 (16:14 +0300)]
init.py: Catch EOFError in myinput()

7 years agopdbrc.py: Move global code into function init()
Oleg Broytman [Fri, 29 Sep 2017 13:14:05 +0000 (16:14 +0300)]
pdbrc.py: Move global code into function init()

7 years ago.tmux.conf: Improve copy mode bindings
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.

7 years ago.tmux.conf: Change message
Oleg Broytman [Thu, 31 Aug 2017 14:08:11 +0000 (17:08 +0300)]
.tmux.conf: Change message

7 years ago.vimrc: Improve SetExecutableBit
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.

7 years ago.vim/ftplugin/python.vim: Fix elseif syntax
Oleg Broytman [Fri, 25 Aug 2017 09:53:51 +0000 (12:53 +0300)]
.vim/ftplugin/python.vim: Fix elseif syntax

7 years ago.vimrc: Protect SetupEncoding from reloading unnamed buffer
Oleg Broytman [Fri, 25 Aug 2017 09:53:04 +0000 (12:53 +0300)]
.vimrc: Protect SetupEncoding from reloading unnamed buffer

7 years ago.gitconfig: Add tag.sort reminder
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.

7 years ago.shellrc: Get remote for cdremote from the current branch
Oleg Broytman [Sun, 20 Aug 2017 21:06:31 +0000 (00:06 +0300)]
.shellrc: Get remote for cdremote from the current branch

7 years ago.vim: Add SetExecutableBit based on Tip 212
Oleg Broytman [Sun, 20 Aug 2017 01:02:24 +0000 (04:02 +0300)]
.vim: Add SetExecutableBit based on Tip 212

7 years ago.vimrc: Change URLs
Oleg Broytman [Sun, 20 Aug 2017 01:01:36 +0000 (04:01 +0300)]
.vimrc: Change URLs

7 years ago.procmailrc: Fix Klez rule to avoid false positives
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.

7 years agolib/python/init.py: Call parse_and_bind for libedit and readline
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.

7 years ago.muttrc: Add mailing lists .*@vex.net (PyGreSQL)
Oleg Broytman [Thu, 27 Jul 2017 13:11:53 +0000 (16:11 +0300)]
.muttrc: Add mailing lists .*@vex.net (PyGreSQL)

7 years ago.procmailrc: Add a rule for PyGreSQL mailing list
Oleg Broytman [Wed, 26 Jul 2017 22:01:13 +0000 (01:01 +0300)]
.procmailrc: Add a rule for PyGreSQL mailing list

7 years ago.shellrc: activate virtualenv in a subshell
Oleg Broytman [Mon, 24 Jul 2017 16:05:38 +0000 (19:05 +0300)]
.shellrc: activate virtualenv in a subshell

7 years ago.vimrc: Use xclip to copy/paste to/from X clipboard at remote host
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

7 years ago.mc/mc.ext: Add a regex for zip archives
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.

7 years agoFix(lib/python/init.py): Fix stdout for readline
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.

7 years agoFeat(.vim/ftplugin/python.vim): report if there was an error calling chmod
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

7 years agoFeat(.vim/ftplugin/python.vim): Do not call chmod if not required
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.

7 years ago.shellrc: slightly change comment
Oleg Broytman [Tue, 20 Jun 2017 20:52:56 +0000 (23:52 +0300)]
.shellrc: slightly change comment

7 years ago.fvwm/main.m4: At startup open 2 windows with just 1 tab
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

7 years ago.fvwm/main.m4: Fix path to Firefox icons
Oleg Broytman [Sat, 17 Jun 2017 09:38:56 +0000 (12:38 +0300)]
.fvwm/main.m4: Fix path to Firefox icons

7 years ago.gitconfig: add my GPG key
Oleg Broytman [Tue, 6 Jun 2017 19:52:34 +0000 (22:52 +0300)]
.gitconfig: add my GPG key

7 years ago.gitconfig: Add transfer.fsckObjects but not enable it
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.

7 years ago.gitconfig: Add receive.deny*
Oleg Broytman [Tue, 16 May 2017 14:19:40 +0000 (17:19 +0300)]
.gitconfig: Add receive.deny*

7 years ago.gitconfig: Set push.recurseSubmodules = check
Oleg Broytman [Tue, 16 May 2017 14:18:56 +0000 (17:18 +0300)]
.gitconfig: Set push.recurseSubmodules = check

7 years ago.gitconfig: Add log.mailmap but not enable it
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.

7 years ago.gitconfig: Set grep.fallbackToNoIndex
Oleg Broytman [Tue, 16 May 2017 14:16:53 +0000 (17:16 +0300)]
.gitconfig: Set grep.fallbackToNoIndex

7 years ago.gitconfig: Set diff.indentHeuristic
Oleg Broytman [Tue, 16 May 2017 14:16:11 +0000 (17:16 +0300)]
.gitconfig: Set diff.indentHeuristic

7 years ago.gitconfig: Force --no-short for status
Oleg Broytman [Tue, 16 May 2017 14:14:54 +0000 (17:14 +0300)]
.gitconfig: Force --no-short for status

7 years ago.gitconfig: Add ff and git aliases
Oleg Broytman [Tue, 16 May 2017 11:29:28 +0000 (14:29 +0300)]
.gitconfig: Add ff and git aliases

7 years ago.muttrc: Set Mail-Followup-To for cheetahtemplate-announce list
Oleg Broytman [Tue, 2 May 2017 20:17:15 +0000 (23:17 +0300)]
.muttrc: Set Mail-Followup-To for cheetahtemplate-announce list

7 years ago.gitconfig: set push.followTags = true
Oleg Broytman [Wed, 19 Apr 2017 23:21:55 +0000 (02:21 +0300)]
.gitconfig: set push.followTags = true

7 years ago.tmux.conf: fix copy/paste commands
Oleg Broytman [Wed, 19 Apr 2017 19:57:03 +0000 (22:57 +0300)]
.tmux.conf: fix copy/paste commands

7 years ago.vimrc: automatically set paste mode when pasting in bracketed paste mode
Oleg Broytman [Fri, 14 Apr 2017 07:05:55 +0000 (10:05 +0300)]
.vimrc: automatically set paste mode when pasting in bracketed paste mode

7 years ago.muttrc: change envelope settings in sync with my exim config
Oleg Broytman [Fri, 14 Apr 2017 07:04:51 +0000 (10:04 +0300)]
.muttrc: change envelope settings in sync with my exim config

7 years ago.tmux.conf: add select-window bindings
Oleg Broytman [Thu, 13 Apr 2017 22:37:53 +0000 (01:37 +0300)]
.tmux.conf: add select-window bindings

7 years agoinit.py: Remove support for Python <= 2.4
Oleg Broytman [Sun, 9 Apr 2017 17:12:06 +0000 (20:12 +0300)]
init.py: Remove support for Python <= 2.4

7 years ago.vim: Change path to tmp files of ViewSourceWith
Oleg Broytman [Sun, 9 Apr 2017 13:52:17 +0000 (16:52 +0300)]
.vim: Change path to tmp files of ViewSourceWith

7 years ago.tmux.conf: exchange tmux copy buffer with X clipboard
Oleg Broytman [Sat, 8 Apr 2017 22:40:20 +0000 (01:40 +0300)]
.tmux.conf: exchange tmux copy buffer with X clipboard

7 years ago.gitconfig: add `git dir` alias
Oleg Broytman [Mon, 3 Apr 2017 09:33:18 +0000 (12:33 +0300)]
.gitconfig: add `git dir` alias

7 years ago.tmux.conf: vim-like navigation
Oleg Broytman [Sat, 1 Apr 2017 12:43:49 +0000 (15:43 +0300)]
.tmux.conf: vim-like navigation

7 years ago.shellrc: refactor delegate_completion
Oleg Broytman [Sun, 26 Mar 2017 23:29:35 +0000 (02:29 +0300)]
.shellrc: refactor delegate_completion

7 years ago.gitconfig: add Github URL shortcuts
Oleg Broytman [Fri, 24 Mar 2017 14:12:47 +0000 (17:12 +0300)]
.gitconfig: add Github URL shortcuts

7 years agobin/xtitle: fix bashism
Oleg Broytman [Fri, 17 Mar 2017 07:17:59 +0000 (10:17 +0300)]
bin/xtitle: fix bashism

7 years agoMove Reply-To header removing to the very end
Oleg Broytman [Thu, 2 Mar 2017 14:16:41 +0000 (17:16 +0300)]
Move Reply-To header removing to the very end

Remove Reply-To header from *all* mailing lists.

7 years agobin/PS: pass option '-S' to 'less'
Oleg Broytman [Wed, 1 Mar 2017 21:17:34 +0000 (00:17 +0300)]
bin/PS: pass option '-S' to 'less'

7 years ago.gitconfig: use cut instead or colrm
Oleg Broytman [Mon, 27 Feb 2017 19:58:09 +0000 (22:58 +0300)]
.gitconfig: use cut instead or colrm

7 years ago.procmailrc: add cheetahtemplate lists
Oleg Broytman [Mon, 6 Feb 2017 22:21:00 +0000 (01:21 +0300)]
.procmailrc: add cheetahtemplate lists

7 years ago.screenrc: use hardstatus instead of caption
Oleg Broytman [Sat, 28 Jan 2017 13:04:35 +0000 (16:04 +0300)]
.screenrc: use hardstatus instead of caption

Free up one additional screen line.

7 years ago.shellrc: fix a minor misspelling
Oleg Broytman [Sat, 14 Jan 2017 06:51:16 +0000 (09:51 +0300)]
.shellrc: fix a minor misspelling

7 years agobin/find_home: remove Bregis; add tmp
Oleg Broytman [Wed, 7 Dec 2016 17:52:54 +0000 (20:52 +0300)]
bin/find_home: remove Bregis; add tmp

7 years agoSet directory for swap files to ~/tmp/vim
Oleg Broytman [Wed, 30 Nov 2016 05:01:50 +0000 (10:31 +0530)]
Set directory for swap files to ~/tmp/vim

Create the directory (and the directory for undo files)
if they don't exist. Use mkdir() instead of system('mkdir').

8 years agocompyle4vim.py: adapt for Python 3
Oleg Broytman [Thu, 17 Nov 2016 13:01:26 +0000 (16:01 +0300)]
compyle4vim.py: adapt for Python 3

8 years ago.vimrc: keep undo history across sessions by storing it in a file
Oleg Broytman [Thu, 10 Nov 2016 19:58:53 +0000 (22:58 +0300)]
.vimrc: keep undo history across sessions by storing it in a file

8 years ago.gitconfig: add (un)assume aliases
Oleg Broytman [Wed, 9 Nov 2016 17:06:43 +0000 (20:06 +0300)]
.gitconfig: add (un)assume aliases

8 years agoAdd .vim/ftplugin/yaml.vim
Oleg Broytman [Sun, 6 Nov 2016 20:21:21 +0000 (23:21 +0300)]
Add .vim/ftplugin/yaml.vim

8 years ago.mc/menu: recognize DTS as an audio file format
Oleg Broytman [Sun, 23 Oct 2016 18:41:54 +0000 (21:41 +0300)]
.mc/menu: recognize DTS as an audio file format

8 years ago(Re)activate python virtual environment
Oleg Broytman [Sat, 22 Oct 2016 06:11:18 +0000 (09:11 +0300)]
(Re)activate python virtual environment

8 years agogit: change colors
Oleg Broytman [Wed, 19 Oct 2016 04:25:34 +0000 (07:25 +0300)]
git: change colors

git: make branch decoration readable.

8 years ago.vim, git: change colors
Oleg Broytman [Wed, 19 Oct 2016 04:25:34 +0000 (07:25 +0300)]
.vim, git: change colors

git: make HEAD decoration readable.
vim: fix GUI diff colors.

8 years ago.vim, git: change colors
Oleg Broytman [Wed, 19 Oct 2016 04:25:34 +0000 (07:25 +0300)]
.vim, git: change colors

Change git colors to be closer to default.
Change vim diff colors to be closer to git.

8 years ago.shellrc: minor optimization in delegate_completion
Oleg Broytman [Tue, 18 Oct 2016 19:29:09 +0000 (22:29 +0300)]
.shellrc: minor optimization in delegate_completion

8 years ago.vim: change colors
Oleg Broytman [Mon, 17 Oct 2016 06:11:52 +0000 (09:11 +0300)]
.vim: change colors

8 years ago.profile: comment out MOTD handling
Oleg Broytman [Wed, 12 Oct 2016 19:28:22 +0000 (22:28 +0300)]
.profile: comment out MOTD handling

I never use .hushlogin anyway.

8 years ago.shellrc: minor refactoring
Oleg Broytman [Wed, 12 Oct 2016 03:26:27 +0000 (06:26 +0300)]
.shellrc: minor refactoring

Move pyenv init and virtualenvwrapper under $BASH_VERSION test.

8 years ago.shellrc: delegate completion for `p` as for `ping`
Oleg Broytman [Tue, 11 Oct 2016 20:16:46 +0000 (23:16 +0300)]
.shellrc: delegate completion for `p` as for `ping`

8 years ago.gitconfig: add lasttag and lasttagged aliases
Oleg Broytman [Thu, 6 Oct 2016 10:49:04 +0000 (13:49 +0300)]
.gitconfig: add lasttag and lasttagged aliases

8 years ago.gitconfig: reorder options for 'tags' alias
Oleg Broytman [Thu, 6 Oct 2016 10:48:30 +0000 (13:48 +0300)]
.gitconfig: reorder options for 'tags' alias

8 years ago.shellrc: source virtualenvwrapper from the PATH
Oleg Broytman [Wed, 28 Sep 2016 20:24:03 +0000 (23:24 +0300)]
.shellrc: source virtualenvwrapper from the PATH

virtualenvwrapper can be anywhere - in /usr/bin, /usr/local/bin, etc.

8 years ago.vim: change colors; fix colors for dark bg
Oleg Broytman [Wed, 21 Sep 2016 11:00:44 +0000 (14:00 +0300)]
.vim: change colors; fix colors for dark bg

8 years agolib/python/init.py: fix Pager
Oleg Broytman [Mon, 19 Sep 2016 20:19:41 +0000 (23:19 +0300)]
lib/python/init.py: fix Pager