]> ruderich.org/simon Gitweb - config/dotfiles.git/log
config/dotfiles.git
11 years agovimrc: Add wildignore settings for C, Java, LaTeX and Python.
Simon Ruderich [Fri, 2 Nov 2012 16:57:00 +0000 (17:57 +0100)]
vimrc: Add wildignore settings for C, Java, LaTeX and Python.

11 years agotmux-window.pl: Call select-window last in the binding.
Simon Ruderich [Sun, 21 Oct 2012 21:25:33 +0000 (23:25 +0200)]
tmux-window.pl: Call select-window last in the binding.

Otherwise non-existent windows prevent unmapping the temporary 0-9 ;
keys.

11 years agovimrc: Fix assignments outside of if has('eval') block.
Simon Ruderich [Sat, 20 Oct 2012 10:57:02 +0000 (12:57 +0200)]
vimrc: Fix assignments outside of if has('eval') block.

11 years agovimrc: Add CtrlP settings.
Simon Ruderich [Sat, 20 Oct 2012 10:51:47 +0000 (12:51 +0200)]
vimrc: Add CtrlP settings.

11 years agovimrc: Don't open folds for block movements.
Simon Ruderich [Sat, 20 Oct 2012 10:42:20 +0000 (12:42 +0200)]
vimrc: Don't open folds for block movements.

11 years agotmux.conf: Add mappings to switch to windows 10-29 quickly.
Simon Ruderich [Sat, 20 Oct 2012 10:24:00 +0000 (12:24 +0200)]
tmux.conf: Add mappings to switch to windows 10-29 quickly.

Also add helper script tmux-window.pl and update setup.sh.

11 years agoreminders.in: Fix minor typo in an example.
Simon Ruderich [Fri, 19 Oct 2012 22:19:14 +0000 (00:19 +0200)]
reminders.in: Fix minor typo in an example.

11 years agoreminders.in: Don't display todo list by default.
Simon Ruderich [Fri, 19 Oct 2012 22:18:58 +0000 (00:18 +0200)]
reminders.in: Don't display todo list by default.

11 years agoreminders.in: Remove space between comment and text for examples.
Simon Ruderich [Fri, 19 Oct 2012 22:18:11 +0000 (00:18 +0200)]
reminders.in: Remove space between comment and text for examples.

Sets them apart from documentation comments.

11 years agot: Add another test.
Simon Ruderich [Wed, 17 Oct 2012 23:19:59 +0000 (01:19 +0200)]
t: Add another test.

Shows one problem of words-nonword.

11 years agoperl/perlcriticrc: Also allow $0.
Simon Ruderich [Wed, 17 Oct 2012 23:08:20 +0000 (01:08 +0200)]
perl/perlcriticrc: Also allow $0.

11 years agoperl/perlcriticrc: Also allow $? and $+.
Simon Ruderich [Wed, 17 Oct 2012 23:00:33 +0000 (01:00 +0200)]
perl/perlcriticrc: Also allow $? and $+.

11 years agogitconfig: Add diff.wordregex for better git --color-words.
Simon Ruderich [Wed, 17 Oct 2012 20:00:17 +0000 (22:00 +0200)]
gitconfig: Add diff.wordregex for better git --color-words.

Also add t/ which some tests and examples.

11 years agoreminders.in: Add remind template file.
Simon Ruderich [Wed, 17 Oct 2012 19:50:21 +0000 (21:50 +0200)]
reminders.in: Add remind template file.

Update setup.sh to copy it to ~/.reminders if it doesn't exist.

11 years agoxinitrc: Set LANG in xinitrc to prevent problems on some systems.
Simon Ruderich [Wed, 17 Oct 2012 19:24:07 +0000 (21:24 +0200)]
xinitrc: Set LANG in xinitrc to prevent problems on some systems.

11 years agosetup.sh: Fix typo in urxvt 256-color check.
Simon Ruderich [Tue, 16 Oct 2012 08:36:48 +0000 (10:36 +0200)]
setup.sh: Fix typo in urxvt 256-color check.

11 years agoXdefaults: Fix alignment in a few places.
Simon Ruderich [Tue, 16 Oct 2012 05:19:56 +0000 (07:19 +0200)]
Xdefaults: Fix alignment in a few places.

11 years agoXdefaults: Replace black with #000000 for consistency.
Simon Ruderich [Tue, 16 Oct 2012 05:15:37 +0000 (07:15 +0200)]
Xdefaults: Replace black with #000000 for consistency.

11 years agozsh/rc: Replace $use_tmux with $use_multiplexer.
Simon Ruderich [Tue, 16 Oct 2012 03:42:29 +0000 (05:42 +0200)]
zsh/rc: Replace $use_tmux with $use_multiplexer.

Allows easy switching between GNU screen, tmux and no multiplexer.

11 years ago.gitignore: Ignore shell/aliases.
Simon Ruderich [Tue, 16 Oct 2012 03:31:32 +0000 (05:31 +0200)]
.gitignore: Ignore shell/aliases.

Forgotten in 7c442e3d0aaa99822844838cd18a0a3b24892bbb.

11 years agozsh/rc: Add global aliases N (>/dev/null) and EN (2>/dev/null).
Simon Ruderich [Tue, 16 Oct 2012 03:26:24 +0000 (05:26 +0200)]
zsh/rc: Add global aliases N (>/dev/null) and EN (2>/dev/null).

11 years agoshell/aliases,setup.sh: Move ls color detection to setup.sh.
Simon Ruderich [Tue, 16 Oct 2012 03:14:44 +0000 (05:14 +0200)]
shell/aliases,setup.sh: Move ls color detection to setup.sh.

11 years agosetup.sh: Fix GNU screen Git check.
Simon Ruderich [Mon, 15 Oct 2012 20:29:12 +0000 (22:29 +0200)]
setup.sh: Fix GNU screen Git check.

Broken in 6b3da4f032ce15fb6d8557e72b0e6611e2476e59.

11 years agovimrc: Display a warning when editing auto-generated files.
Simon Ruderich [Mon, 15 Oct 2012 20:09:59 +0000 (22:09 +0200)]
vimrc: Display a warning when editing auto-generated files.

Searches for "do not edit" (ignoring the case).

11 years agoxpdfrc: Zoom to full page on startup.
Simon Ruderich [Mon, 15 Oct 2012 19:57:34 +0000 (21:57 +0200)]
xpdfrc: Zoom to full page on startup.

11 years agoxinitrc: Use ~/.xinitrc.local to disable background images.
Simon Ruderich [Mon, 15 Oct 2012 19:56:30 +0000 (21:56 +0200)]
xinitrc: Use ~/.xinitrc.local to disable background images.

11 years agoxinitrc: Use test instead of [ and $HOME instead of ~.
Simon Ruderich [Mon, 15 Oct 2012 19:53:11 +0000 (21:53 +0200)]
xinitrc: Use test instead of [ and $HOME instead of ~.

Is a bit more portable and more consistent.

11 years agoscreenrc: Minor documentation update.
Simon Ruderich [Mon, 15 Oct 2012 19:41:11 +0000 (21:41 +0200)]
screenrc: Minor documentation update.

11 years agotmux.conf: Minor documentation updates.
Simon Ruderich [Mon, 15 Oct 2012 19:40:41 +0000 (21:40 +0200)]
tmux.conf: Minor documentation updates.

11 years agotmux.conf: Use Zsh as shell if available.
Simon Ruderich [Mon, 15 Oct 2012 19:39:31 +0000 (21:39 +0200)]
tmux.conf: Use Zsh as shell if available.

11 years agosetup.sh: Also use 256color check for Tmux.
Simon Ruderich [Mon, 15 Oct 2012 19:36:30 +0000 (21:36 +0200)]
setup.sh: Also use 256color check for Tmux.

Use 256 colors by default in tmux.conf.

11 years agosetup.sh: Remove unnecessary hostname call.
Simon Ruderich [Mon, 15 Oct 2012 19:33:50 +0000 (21:33 +0200)]
setup.sh: Remove unnecessary hostname call.

11 years agosetup.sh: Minor documentation update.
Simon Ruderich [Mon, 15 Oct 2012 19:05:03 +0000 (21:05 +0200)]
setup.sh: Minor documentation update.

11 years agosetup.sh: Use test instead of [.
Simon Ruderich [Mon, 15 Oct 2012 19:04:34 +0000 (21:04 +0200)]
setup.sh: Use test instead of [.

Also fix a comparison, `id -u` is a number.

11 years agosetup.sh: Improve check for Git version of GNU screen.
Simon Ruderich [Mon, 15 Oct 2012 19:02:41 +0000 (21:02 +0200)]
setup.sh: Improve check for Git version of GNU screen.

11 years agosetup.sh: Use automic 256color check for GNU screen.
Simon Ruderich [Mon, 15 Oct 2012 19:00:49 +0000 (21:00 +0200)]
setup.sh: Use automic 256color check for GNU screen.

11 years agogitconfig: Set receive.fsckobjects.
Simon Ruderich [Sun, 14 Oct 2012 20:22:19 +0000 (22:22 +0200)]
gitconfig: Set receive.fsckobjects.

11 years agozsh/rc: Ctrl-C doesn't store the line if histignorespace applies.
Simon Ruderich [Sun, 14 Oct 2012 19:58:19 +0000 (21:58 +0200)]
zsh/rc: Ctrl-C doesn't store the line if histignorespace applies.

11 years agogitconfig: Update alias rp to run in parallel.
Simon Ruderich [Sun, 14 Oct 2012 19:48:51 +0000 (21:48 +0200)]
gitconfig: Update alias rp to run in parallel.

11 years agogitconfig: Update alias ru to run updates in parallel.
Simon Ruderich [Sun, 14 Oct 2012 19:48:13 +0000 (21:48 +0200)]
gitconfig: Update alias ru to run updates in parallel.

11 years agogitconfig: Move alias rp to remote section.
Simon Ruderich [Sun, 14 Oct 2012 19:38:10 +0000 (21:38 +0200)]
gitconfig: Move alias rp to remote section.

11 years agotmux.conf: Add note how to swap/renumber windows.
Simon Ruderich [Sun, 14 Oct 2012 19:35:41 +0000 (21:35 +0200)]
tmux.conf: Add note how to swap/renumber windows.

11 years agogitconfig: Use ## for section headers in [alias].
Simon Ruderich [Sun, 14 Oct 2012 19:33:13 +0000 (21:33 +0200)]
gitconfig: Use ## for section headers in [alias].

A single # is used for normal comments.

11 years agotmux.conf: Use Tmux's working directory when creating new panes.
Simon Ruderich [Sun, 14 Oct 2012 18:59:57 +0000 (20:59 +0200)]
tmux.conf: Use Tmux's working directory when creating new panes.

11 years agotmux.conf: Use line continuation.
Simon Ruderich [Fri, 12 Oct 2012 14:41:21 +0000 (16:41 +0200)]
tmux.conf: Use line continuation.

Also add new script remove-continuation.pl which performs this change.
Older Tmux versions don't support line continuation.

Adapt setup.sh to generate tmux.conf from tmux.conf.in.

11 years ago.gitignore: Use leading slash.
Simon Ruderich [Fri, 12 Oct 2012 14:41:13 +0000 (16:41 +0200)]
.gitignore: Use leading slash.

11 years agovimrc: Remap <C-L> only in normal mode.
Simon Ruderich [Fri, 12 Oct 2012 13:48:06 +0000 (15:48 +0200)]
vimrc: Remap <C-L> only in normal mode.

11 years ago.gitignore: Sort ignores.
Simon Ruderich [Fri, 12 Oct 2012 13:45:20 +0000 (15:45 +0200)]
.gitignore: Sort ignores.

11 years agotmux.conf: Add ^a ^t mapping to display current date.
Simon Ruderich [Wed, 5 Sep 2012 13:16:35 +0000 (15:16 +0200)]
tmux.conf: Add ^a ^t mapping to display current date.

11 years agotmux.conf: Reduce status line updates to one per minute.
Simon Ruderich [Wed, 5 Sep 2012 13:15:51 +0000 (15:15 +0200)]
tmux.conf: Reduce status line updates to one per minute.

11 years agotmux.conf: Run urlview on current screen content with Ctrl-B.
Simon Ruderich [Mon, 8 Oct 2012 14:24:39 +0000 (16:24 +0200)]
tmux.conf: Run urlview on current screen content with Ctrl-B.

11 years agoscreenrc,setup.sh: Store temporary files in ~/.tmp/.
Simon Ruderich [Mon, 8 Oct 2012 14:20:20 +0000 (16:20 +0200)]
screenrc,setup.sh: Store temporary files in ~/.tmp/.

This prevents cluttering ~/.

11 years agovimrc: Minor documentation updates.
Simon Ruderich [Sun, 7 Oct 2012 23:26:52 +0000 (01:26 +0200)]
vimrc: Minor documentation updates.

11 years agocrontab: Add. Delete old CtrlP cache files.
Simon Ruderich [Sun, 7 Oct 2012 23:14:13 +0000 (01:14 +0200)]
crontab: Add. Delete old CtrlP cache files.

11 years agovimrc: Show completion menu even if only one entry matches.
Simon Ruderich [Sun, 7 Oct 2012 23:11:00 +0000 (01:11 +0200)]
vimrc: Show completion menu even if only one entry matches.

11 years agovimrc: Ignore case when completing files/directories.
Simon Ruderich [Sun, 7 Oct 2012 23:08:42 +0000 (01:08 +0200)]
vimrc: Ignore case when completing files/directories.

11 years agogitconfig: Add mo alias (git merge origin/master).
Simon Ruderich [Thu, 27 Sep 2012 11:02:10 +0000 (13:02 +0200)]
gitconfig: Add mo alias (git merge origin/master).

11 years agoMerge remote-tracking branch 'asp/master'
Simon Ruderich [Thu, 27 Sep 2012 11:01:05 +0000 (13:01 +0200)]
Merge remote-tracking branch 'asp/master'

11 years agogitconfig: Add fg alias (git fs && git gc --aggressive).
Simon Ruderich [Thu, 27 Sep 2012 10:53:23 +0000 (12:53 +0200)]
gitconfig: Add fg alias (git fs && git gc --aggressive).

11 years agogitconfig: Redirect stderr for fs alias.
Simon Ruderich [Thu, 27 Sep 2012 10:52:27 +0000 (12:52 +0200)]
gitconfig: Redirect stderr for fs alias.

Also move it to new "Maintenance" section.

11 years agogitconfig: Add 'noexpandtab' to Vim modeline.
Simon Ruderich [Thu, 27 Sep 2012 10:51:27 +0000 (12:51 +0200)]
gitconfig: Add 'noexpandtab' to Vim modeline.

11 years agomutt/ruderich: Better quoting in send-hook.
Simon Ruderich [Wed, 26 Sep 2012 14:39:28 +0000 (16:39 +0200)]
mutt/ruderich: Better quoting in send-hook.

Fixes problems with Vim's syntax highlighting.

11 years agomutt/ruderich: Remove old MacPorts email from alternates.
Simon Ruderich [Wed, 26 Sep 2012 14:37:56 +0000 (16:37 +0200)]
mutt/ruderich: Remove old MacPorts email from alternates.

11 years agomutt/crypto: Use long options in $pgp_import_command.
Simon Ruderich [Wed, 26 Sep 2012 14:34:57 +0000 (16:34 +0200)]
mutt/crypto: Use long options in $pgp_import_command.

11 years agomutt/crypto: Use %a in $pgp_*_command instead of my key id.
Simon Ruderich [Wed, 26 Sep 2012 14:33:12 +0000 (16:33 +0200)]
mutt/crypto: Use %a in $pgp_*_command instead of my key id.

Prevents duplication, only $pgp_sign_as must be changed now. %a is
automatically replaced by the value of $pgp_sign_as.

11 years agomutt/ruderich-signature: Add missing "gnupg".
Simon Ruderich [Wed, 19 Sep 2012 13:51:44 +0000 (15:51 +0200)]
mutt/ruderich-signature: Add missing "gnupg".

11 years agomutt/mails: Don't use '..' around %s.
Simon Ruderich [Wed, 19 Sep 2012 13:50:18 +0000 (15:50 +0200)]
mutt/mails: Don't use '..' around %s.

Mutt correctly quotes the string when replacing %s.

11 years agomutt/crypto: Fix path to pgpewrap.
Simon Ruderich [Wed, 19 Sep 2012 13:31:02 +0000 (15:31 +0200)]
mutt/crypto: Fix path to pgpewrap.

11 years agognupg/gpg.conf: Add Vim modeline.
Simon Ruderich [Wed, 19 Sep 2012 13:24:47 +0000 (15:24 +0200)]
gnupg/gpg.conf: Add Vim modeline.

11 years agoabook/abookrc: Use elinks as browser.
Simon Ruderich [Wed, 19 Sep 2012 12:44:29 +0000 (14:44 +0200)]
abook/abookrc: Use elinks as browser.

11 years ago.gitignore: Add.
Simon Ruderich [Wed, 19 Sep 2012 12:38:10 +0000 (14:38 +0200)]
.gitignore: Add.

11 years agoInitial commit.
Simon Ruderich [Wed, 19 Sep 2012 12:35:26 +0000 (14:35 +0200)]
Initial commit.

Continued from private mail repository.

11 years agotmux.conf: Fix load average command.
Simon Ruderich [Wed, 19 Sep 2012 10:53:34 +0000 (12:53 +0200)]
tmux.conf: Fix load average command.

The new command is more portable.

11 years agosetup.sh: Only link files if the program is available.
Simon Ruderich [Sun, 16 Sep 2012 20:30:10 +0000 (22:30 +0200)]
setup.sh: Only link files if the program is available.

11 years agosetup.sh: Minor documentation update.
Simon Ruderich [Sun, 16 Sep 2012 20:28:44 +0000 (22:28 +0200)]
setup.sh: Minor documentation update.

11 years agoperl/perlcriticrc: Add, perlcriticrc configuration file.
Simon Ruderich [Sun, 16 Sep 2012 20:28:38 +0000 (22:28 +0200)]
perl/perlcriticrc: Add, perlcriticrc configuration file.

11 years agosetup.sh,gitconfig: Support old Git without diff --patience.
Simon Ruderich [Sat, 15 Sep 2012 13:40:04 +0000 (15:40 +0200)]
setup.sh,gitconfig: Support old Git without diff --patience.

11 years agosetup.sh: Rewrap lines.
Simon Ruderich [Sat, 15 Sep 2012 13:36:13 +0000 (15:36 +0200)]
setup.sh: Rewrap lines.

11 years agovimrc: Fix compatibility for older Vim versions.
Simon Ruderich [Sun, 2 Sep 2012 02:27:54 +0000 (04:27 +0200)]
vimrc: Fix compatibility for older Vim versions.

Works fine with Vim 6.4.

11 years agovimrc: Use pathogen#infect() available since 2.0.
Simon Ruderich [Sun, 2 Sep 2012 00:03:55 +0000 (02:03 +0200)]
vimrc: Use pathogen#infect() available since 2.0.

11 years agoautoload/pathogen.vim: Update to 2.0, revision 5e3fdd3.
Simon Ruderich [Sat, 1 Sep 2012 23:56:49 +0000 (01:56 +0200)]
autoload/pathogen.vim: Update to 2.0, revision 5e3fdd3.

Git revision 5e3fdd3a8a3b244e1fedd0f5597f4a9879e16c3b from [1].

[1]: https://github.com/tpope/vim-pathogen

11 years agogitconfig: Don't use long option names for git branch.
Simon Ruderich [Sat, 1 Sep 2012 20:56:33 +0000 (22:56 +0200)]
gitconfig: Don't use long option names for git branch.

git branch only supports short options in (more or less) recent git
versions.

11 years agohtoprc: Add Vim modeline.
Simon Ruderich [Sat, 1 Sep 2012 17:26:51 +0000 (19:26 +0200)]
htoprc: Add Vim modeline.

11 years agozsh/rc: Don't use add-zsh-hook.
Simon Ruderich [Thu, 30 Aug 2012 17:47:16 +0000 (19:47 +0200)]
zsh/rc: Don't use add-zsh-hook.

Instead append to *_functions directly.

Also delete old compatibility file.

11 years agozsh/rc: Fix version check for test versions.
Simon Ruderich [Thu, 30 Aug 2012 17:42:44 +0000 (19:42 +0200)]
zsh/rc: Fix version check for test versions.

E.g. 4.3.12-test-2 is newer than 4.3.5.

11 years agozsh/rc: Add global alias LS (2>&1 | less -S).
Simon Ruderich [Wed, 29 Aug 2012 16:31:46 +0000 (18:31 +0200)]
zsh/rc: Add global alias LS (2>&1 | less -S).

11 years agozsh/rc: Fix typo in documentation.
Simon Ruderich [Wed, 29 Aug 2012 16:30:34 +0000 (18:30 +0200)]
zsh/rc: Fix typo in documentation.

11 years agozsh/rc: Update documentation for global aliases.
Simon Ruderich [Wed, 29 Aug 2012 16:27:44 +0000 (18:27 +0200)]
zsh/rc: Update documentation for global aliases.

11 years agozsh/rc: Add global aliases A (| awk) and P (| perl).
Simon Ruderich [Wed, 29 Aug 2012 16:24:40 +0000 (18:24 +0200)]
zsh/rc: Add global aliases A (| awk) and P (| perl).

11 years agozsh/rc: Sort global aliases.
Simon Ruderich [Wed, 29 Aug 2012 16:24:18 +0000 (18:24 +0200)]
zsh/rc: Sort global aliases.

11 years agozsh/rc: Remove a few indirections in aliases.
Simon Ruderich [Wed, 29 Aug 2012 16:22:51 +0000 (18:22 +0200)]
zsh/rc: Remove a few indirections in aliases.

11 years agozsh/rc: Create program functions only if the programs are installed.
Simon Ruderich [Wed, 29 Aug 2012 16:20:42 +0000 (18:20 +0200)]
zsh/rc: Create program functions only if the programs are installed.

11 years agobin/srsync-incremental: Only match directories when searching for --link-dest.
Simon Ruderich [Wed, 29 Aug 2012 16:17:50 +0000 (18:17 +0200)]
bin/srsync-incremental: Only match directories when searching for --link-dest.

11 years agobin/srsync-incremental: Use --itemize-changes.
Simon Ruderich [Wed, 29 Aug 2012 16:17:12 +0000 (18:17 +0200)]
bin/srsync-incremental: Use --itemize-changes.

11 years agobin/srsync-incremental: Add, incremental backups with rsync.
Simon Ruderich [Wed, 29 Aug 2012 16:07:01 +0000 (18:07 +0200)]
bin/srsync-incremental: Add, incremental backups with rsync.

11 years agobin/print-constant.pl: Add, print values of C constants.
Simon Ruderich [Tue, 28 Aug 2012 20:50:46 +0000 (22:50 +0200)]
bin/print-constant.pl: Add, print values of C constants.

11 years agozsh/rc: Improve documentation for matcher-list.
Simon Ruderich [Tue, 28 Aug 2012 17:12:28 +0000 (19:12 +0200)]
zsh/rc: Improve documentation for matcher-list.

11 years agovimrc: Add j to 'formatoptions' if available.
Simon Ruderich [Mon, 27 Aug 2012 18:15:47 +0000 (20:15 +0200)]
vimrc: Add j to 'formatoptions' if available.

11 years agovim/ftplugin/*/*.xpt.vim: Prevent errors if XPTemplate is not installed.
Simon Ruderich [Mon, 27 Aug 2012 14:55:42 +0000 (16:55 +0200)]
vim/ftplugin/*/*.xpt.vim: Prevent errors if XPTemplate is not installed.

11 years agomplayer/config: Disable the mouse.
Simon Ruderich [Sat, 18 Aug 2012 12:37:00 +0000 (14:37 +0200)]
mplayer/config: Disable the mouse.