]> ruderich.org/simon Gitweb - config/dotfiles.git/log
config/dotfiles.git
11 years agobin/{git-update.sh,git-update-all.sh}: Remove. No longer necessary.
Simon Ruderich [Thu, 20 Dec 2012 20:40:30 +0000 (21:40 +0100)]
bin/{git-update.sh,git-update-all.sh}: Remove. No longer necessary.

11 years agoshell/aliases: Use grep --color=auto if available.
Simon Ruderich [Thu, 20 Dec 2012 20:39:06 +0000 (21:39 +0100)]
shell/aliases: Use grep --color=auto if available.

11 years agozsh/rc: Handle fg in longrun_preexec().
Simon Ruderich [Thu, 20 Dec 2012 17:10:06 +0000 (18:10 +0100)]
zsh/rc: Handle fg in longrun_preexec().

11 years agozsh/rc: Display running time for long running processes.
Simon Ruderich [Thu, 20 Dec 2012 16:54:04 +0000 (17:54 +0100)]
zsh/rc: Display running time for long running processes.

Also send a bell to the terminal when the process is done.

11 years agozsh/rc: Also display fortune every 4 hours.
Simon Ruderich [Thu, 20 Dec 2012 16:38:40 +0000 (17:38 +0100)]
zsh/rc: Also display fortune every 4 hours.

11 years agozsh/rc: Prefer xpdf over zathura.
Simon Ruderich [Thu, 20 Dec 2012 16:35:42 +0000 (17:35 +0100)]
zsh/rc: Prefer xpdf over zathura.

11 years agoshell/aliases: Display complete size in du alias.
Simon Ruderich [Thu, 20 Dec 2012 16:33:18 +0000 (17:33 +0100)]
shell/aliases: Display complete size in du alias.

11 years agosetup.sh: Also link configuration file for newer htop versions.
Simon Ruderich [Thu, 20 Dec 2012 16:32:13 +0000 (17:32 +0100)]
setup.sh: Also link configuration file for newer htop versions.

11 years agolesskey: Minor documentation update.
Simon Ruderich [Thu, 20 Dec 2012 16:29:12 +0000 (17:29 +0100)]
lesskey: Minor documentation update.

11 years agolesskey: Don't use --search-skip-screen.
Simon Ruderich [Thu, 20 Dec 2012 16:19:39 +0000 (17:19 +0100)]
lesskey: Don't use --search-skip-screen.

11 years agosetup.sh: Link crontab into ~/.crontab.d if it's available.
Simon Ruderich [Fri, 14 Dec 2012 23:32:24 +0000 (00:32 +0100)]
setup.sh: Link crontab into ~/.crontab.d if it's available.

11 years agocrontab: Delete old CtrlP cache entries after a week.
Simon Ruderich [Fri, 14 Dec 2012 23:31:38 +0000 (00:31 +0100)]
crontab: Delete old CtrlP cache entries after a week.

11 years agocrontab.d: Add, directory for crontab snippets.
Simon Ruderich [Fri, 14 Dec 2012 23:28:59 +0000 (00:28 +0100)]
crontab.d: Add, directory for crontab snippets.

~/.crontab.d can be used by other configuration files (e.g. vim) to
provide crontab entries which are then loaded by `update.sh` in the
crontab entry of the current user.

11 years agosetup.sh: Split in sections "{DIRECTORY,FILE,LINK} SETUP".
Simon Ruderich [Fri, 14 Dec 2012 23:19:29 +0000 (00:19 +0100)]
setup.sh: Split in sections "{DIRECTORY,FILE,LINK} SETUP".

11 years agosetup.sh: Add set -e.
Simon Ruderich [Fri, 14 Dec 2012 23:18:41 +0000 (00:18 +0100)]
setup.sh: Add set -e.

11 years agoscreenrc: Add bindings for fast switching to windows 20-29.
Simon Ruderich [Fri, 14 Dec 2012 23:17:34 +0000 (00:17 +0100)]
screenrc: Add bindings for fast switching to windows 20-29.

11 years agossh_config: Improve comment for ControlPath.
Simon Ruderich [Thu, 13 Dec 2012 23:17:58 +0000 (00:17 +0100)]
ssh_config: Improve comment for ControlPath.

11 years agovimrc: Use 'noignorecase' for * and #.
Simon Ruderich [Sun, 2 Dec 2012 22:06:44 +0000 (23:06 +0100)]
vimrc: Use 'noignorecase' for * and #.

11 years agovimrc: Fix compatibility with Vim 6.4 and later.
Simon Ruderich [Sun, 2 Dec 2012 21:56:34 +0000 (22:56 +0100)]
vimrc: Fix compatibility with Vim 6.4 and later.

11 years agovimrc: Don't display unexpected 'fileencoding' for help files.
Simon Ruderich [Sun, 2 Dec 2012 21:50:43 +0000 (22:50 +0100)]
vimrc: Don't display unexpected 'fileencoding' for help files.

11 years agovimrc: Display unexpected 'fileformat'/'fileencoding' in statusline.
Simon Ruderich [Sun, 2 Dec 2012 21:37:21 +0000 (22:37 +0100)]
vimrc: Display unexpected 'fileformat'/'fileencoding' in statusline.

11 years agobundle/ctrlp: Update to f1acbbc503f44fc6d9c057fa593733e4f074da5d.
Simon Ruderich [Sun, 2 Dec 2012 21:21:55 +0000 (22:21 +0100)]
bundle/ctrlp: Update to f1acbbc503f44fc6d9c057fa593733e4f074da5d.

11 years agoftplugin/tex/tex.xpt.vim: Add `[text?]^ to description's \item.
Simon Ruderich [Sun, 2 Dec 2012 21:07:40 +0000 (22:07 +0100)]
ftplugin/tex/tex.xpt.vim: Add `[text?]^ to description's \item.

11 years agoafter/syntax/perl.vim: Fix regex for continue/break.
Simon Ruderich [Sun, 2 Dec 2012 21:06:50 +0000 (22:06 +0100)]
after/syntax/perl.vim: Fix regex for continue/break.

11 years agoafter/syntax/perl.vim: Mark continue and break as Errors.
Simon Ruderich [Sun, 2 Dec 2012 21:01:20 +0000 (22:01 +0100)]
after/syntax/perl.vim: Mark continue and break as Errors.

The Perl keywords for loops are called next and last and though continue
and break are valid Perl keywords I never use them.

11 years agoafter/syntax/perl.vim: Use SpecialComment for shebangs.
Simon Ruderich [Sun, 2 Dec 2012 20:55:47 +0000 (21:55 +0100)]
after/syntax/perl.vim: Use SpecialComment for shebangs.

11 years agoafter/ftplugin/mail.vim: Fix documentation typo.
Simon Ruderich [Sun, 2 Dec 2012 20:53:01 +0000 (21:53 +0100)]
after/ftplugin/mail.vim: Fix documentation typo.

11 years agovimrc: Minor documentation update.
Simon Ruderich [Sun, 2 Dec 2012 20:52:48 +0000 (21:52 +0100)]
vimrc: Minor documentation update.

11 years agovim/after/syntax/gitcommit.vim: Don't fold diffs.
Simon Ruderich [Sun, 2 Dec 2012 20:45:12 +0000 (21:45 +0100)]
vim/after/syntax/gitcommit.vim: Don't fold diffs.

11 years agogitconfig: Rename glog to tig and add --decorate.
Simon Ruderich [Fri, 30 Nov 2012 02:17:02 +0000 (03:17 +0100)]
gitconfig: Rename glog to tig and add --decorate.

11 years agoafter/ftplugin/mail.vim: Fix regex to remove spaces after quotes.
Simon Ruderich [Mon, 26 Nov 2012 19:57:42 +0000 (20:57 +0100)]
after/ftplugin/mail.vim: Fix regex to remove spaces after quotes.

Broken in 5f16623bed6d265a859e6559fb2860f80f285302.

11 years agoxinitrc: Improve ~/.fehbg comment.
Simon Ruderich [Fri, 23 Nov 2012 20:07:12 +0000 (21:07 +0100)]
xinitrc: Improve ~/.fehbg comment.

11 years agogdbinit: Enable disassemble-next-line.
Simon Ruderich [Fri, 23 Nov 2012 20:04:45 +0000 (21:04 +0100)]
gdbinit: Enable disassemble-next-line.

11 years agovimrc: Check if 'splitright' is available.
Simon Ruderich [Tue, 20 Nov 2012 22:02:45 +0000 (23:02 +0100)]
vimrc: Check if 'splitright' is available.

Also move it to a the EDITOR section.

11 years agovimrc: Use echoerr to warn about possible template files.
Simon Ruderich [Tue, 20 Nov 2012 21:23:35 +0000 (22:23 +0100)]
vimrc: Use echoerr to warn about possible template files.

echohl WarningMsg ... echohl None doesn't always display the message,
even with redraw.

11 years agovimrc: :make writes all files and not only the current one.
Simon Ruderich [Tue, 20 Nov 2012 21:22:32 +0000 (22:22 +0100)]
vimrc: :make writes all files and not only the current one.

11 years agovimrc: Fix indentation for 'statusline' comments.
Simon Ruderich [Tue, 20 Nov 2012 21:20:09 +0000 (22:20 +0100)]
vimrc: Fix indentation for 'statusline' comments.

11 years agovimrc: Use short function names in 'statusline'.
Simon Ruderich [Tue, 20 Nov 2012 21:18:13 +0000 (22:18 +0100)]
vimrc: Use short function names in 'statusline'.

11 years agovimrc: Enable fast terminal mode in GNU screen and tmux.
Simon Ruderich [Tue, 20 Nov 2012 21:01:57 +0000 (22:01 +0100)]
vimrc: Enable fast terminal mode in GNU screen and tmux.

11 years agovimrc: Create new split windows on the right.
Simon Ruderich [Tue, 20 Nov 2012 20:53:26 +0000 (21:53 +0100)]
vimrc: Create new split windows on the right.

11 years agoafter/ftplugin/php.vim: Move syntax settings to vimrc.
Simon Ruderich [Tue, 20 Nov 2012 20:50:07 +0000 (21:50 +0100)]
after/ftplugin/php.vim: Move syntax settings to vimrc.

11 years agovimrc: Add Java highlighting settings.
Simon Ruderich [Tue, 20 Nov 2012 00:27:11 +0000 (01:27 +0100)]
vimrc: Add Java highlighting settings.

11 years agoftplugin/tex/tex.xpt.vim: Add more snippets.
Simon Ruderich [Sun, 18 Nov 2012 14:45:17 +0000 (15:45 +0100)]
ftplugin/tex/tex.xpt.vim: Add more snippets.

11 years agoftplugin/text: Add, basic snippets for LaTeX.
Simon Ruderich [Sun, 18 Nov 2012 14:40:33 +0000 (15:40 +0100)]
ftplugin/text: Add, basic snippets for LaTeX.

11 years agoftplugin/java: Add, basic snippets for Java.
Simon Ruderich [Sat, 17 Nov 2012 15:01:41 +0000 (16:01 +0100)]
ftplugin/java: Add, basic snippets for Java.

11 years agoftplugin/*/*.xpt.vim: Add p (print) and pe (print error) snippets.
Simon Ruderich [Sat, 17 Nov 2012 15:01:06 +0000 (16:01 +0100)]
ftplugin/*/*.xpt.vim: Add p (print) and pe (print error) snippets.

11 years agoftplugin/*/*.xpt.vim: Set empty `description^ to XXX.
Simon Ruderich [Sat, 17 Nov 2012 15:00:40 +0000 (16:00 +0100)]
ftplugin/*/*.xpt.vim: Set empty `description^ to XXX.

11 years agoftplugin/*/*.xpt.vim: year is no placeholder.
Simon Ruderich [Sat, 17 Nov 2012 15:00:07 +0000 (16:00 +0100)]
ftplugin/*/*.xpt.vim: year is no placeholder.

11 years agovimrc: Disable spell mappings if there's no spell support.
Simon Ruderich [Thu, 15 Nov 2012 20:22:22 +0000 (21:22 +0100)]
vimrc: Disable spell mappings if there's no spell support.

11 years agoafter/ftplugin/mail.vim: Better regex to remove spaces between ">".
Simon Ruderich [Thu, 15 Nov 2012 20:17:00 +0000 (21:17 +0100)]
after/ftplugin/mail.vim: Better regex to remove spaces between ">".

11 years agoafter/ftplugin/mail.vim: Only remove trailing space after quotes.
Simon Ruderich [Thu, 15 Nov 2012 20:13:48 +0000 (21:13 +0100)]
after/ftplugin/mail.vim: Only remove trailing space after quotes.

It's important not to destroy whitespace in e.g. patches.

11 years agovimrc: Add StatuslineSyntaxGroup().
Simon Ruderich [Thu, 15 Nov 2012 20:00:19 +0000 (21:00 +0100)]
vimrc: Add StatuslineSyntaxGroup().

Useful to debug color schemes but not used by default.

11 years agovim/bundle/ctrlp: Update to 7251d9dce85e45b41dab00d7d7032713847ed5ea.
Simon Ruderich [Thu, 15 Nov 2012 19:56:36 +0000 (20:56 +0100)]
vim/bundle/ctrlp: Update to 7251d9dce85e45b41dab00d7d7032713847ed5ea.

11 years agovimrc: Add FSWitch settings.
Simon Ruderich [Thu, 15 Nov 2012 16:59:04 +0000 (17:59 +0100)]
vimrc: Add FSWitch settings.

11 years agocolors/simon.vim: Color booleans like constants.
Simon Ruderich [Thu, 15 Nov 2012 16:55:04 +0000 (17:55 +0100)]
colors/simon.vim: Color booleans like constants.

11 years agoterm2gui.pl: Add, convert 256-color terminal color scheme to GUI.
Simon Ruderich [Thu, 15 Nov 2012 16:51:40 +0000 (17:51 +0100)]
term2gui.pl: Add, convert 256-color terminal color scheme to GUI.

11 years agofeh/themes: Add, default options for feh.
Simon Ruderich [Thu, 15 Nov 2012 16:37:19 +0000 (17:37 +0100)]
feh/themes: Add, default options for feh.

~/.fehrc in older versions.

11 years agofeh/keys: Add, (Vi-like) mappings for feh.
Simon Ruderich [Thu, 15 Nov 2012 16:28:24 +0000 (17:28 +0100)]
feh/keys: Add, (Vi-like) mappings for feh.

Only works in recent feh versions.

11 years agoxinitrc: Don't create ~/.fehbg when using feh to set the background.
Simon Ruderich [Sun, 4 Nov 2012 15:21:47 +0000 (16:21 +0100)]
xinitrc: Don't create ~/.fehbg when using feh to set the background.

11 years agoxinitrc: Fix background check.
Simon Ruderich [Sun, 4 Nov 2012 15:20:54 +0000 (16:20 +0100)]
xinitrc: Fix background check.

The quotes are necessary or test -n always assumes the result is not
empty because it gets no parameters (the shell expands $set_background
which is empty and then doesn't pass anything to test -n).

11 years agogitconfig: Add alias for stash pop (sp).
Simon Ruderich [Thu, 15 Nov 2012 16:22:35 +0000 (17:22 +0100)]
gitconfig: Add alias for stash pop (sp).

11 years agolesskey: Increase less' history to 1000 lines.
Simon Ruderich [Thu, 15 Nov 2012 16:21:00 +0000 (17:21 +0100)]
lesskey: Increase less' history to 1000 lines.

11 years agolesskey, setup.sh: Don't store less' history in ~/.
Simon Ruderich [Thu, 15 Nov 2012 16:20:05 +0000 (17:20 +0100)]
lesskey, setup.sh: Don't store less' history in ~/.

11 years agosetup.sh: Create documentation tags for pathogen plugins.
Simon Ruderich [Fri, 9 Nov 2012 23:08:53 +0000 (00:08 +0100)]
setup.sh: Create documentation tags for pathogen plugins.

11 years agovim/bundle/fswitch: Add as submodule.
Simon Ruderich [Wed, 7 Nov 2012 20:55:15 +0000 (21:55 +0100)]
vim/bundle/fswitch: Add as submodule.

11 years agovim/bundle/ctrlp: Add as submodule.
Simon Ruderich [Wed, 7 Nov 2012 20:29:12 +0000 (21:29 +0100)]
vim/bundle/ctrlp: Add as submodule.

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.