Commit graph

15 commits

Author SHA1 Message Date
f8734b4a3a [vim] disable execution of modelines
Modelines can be quite annoying or even dangerous, even though the
commands that can be executed int them are limited. If the settings from
a modeline are actually desired, this can be explicitly enabled on a
per-file basis.
2016-03-30 00:10:10 +02:00
316240cffa [vim] replace Vundle with vim-plug
These features of vim-plug are particularly appealing:
    * on-demand loading -> better startup times
    * branch/tag/commit support -> controlled changes if desired
    * support for unmanaged/local plugins -> good for development of plugins
2016-03-29 23:56:54 +02:00
82058ae59d [vim] vimrc overhaul
After learning a little of VimL, the vimrc file could be organized a bit
better. This should provide a better basis for future improvements.
2016-03-29 21:19:56 +02:00
065ae919ee [vim] inherit the shell's background (dark/light) 2016-02-07 15:56:45 +01:00
b78b20347b [vim] add plugins tabular and vim-markdown 2016-02-07 14:41:58 +01:00
121c737e2d add vim-endwise, vim-commentary, and vim-surround 2016-02-04 02:53:09 +01:00
fb25ae86b1 [vim] make Q execute macro in q 2016-02-04 02:44:26 +01:00
da8acbf6b0 Add vim-json plugin 2016-02-02 23:25:24 +01:00
29d184eb1e Add rainbow_parentheses.vim plugin
Highlight square and curly braces, in addition to parentheses.
2016-02-01 23:47:56 +01:00
ad59b85b2a Add vim-easy-align plugin 2016-02-01 23:12:21 +01:00
2df0e77c6b Add vim-multiple-cursors plugin 2016-02-01 22:56:04 +01:00
abec6ca0e9 Add & customize taskpaper plugin for vim 2016-01-25 14:22:35 +01:00
135986389d Change mappings for window navigation and resizing
Window navigation is reverted to vim's stock key combination, since tmux
is configured to work very similarly (using its prefix instead of
CTRL-W).

Window resizing is done more deterministically by adding/removing
columns/lines instead of using multipliers on the window height/width.
2015-06-14 21:27:33 +02:00
195a682fb8 Detect file type for dotfiles & change background
autocmd is used to hard code the file type to certain file names, since
vim expects them to have the standard names starting with a dot but the
files are tracked in the repository without the leading dot.

Add a <leader> mapping to quickly toggle between the current and
previous file.

Add a <leader> mapping to quickly toggle dark/light background.

Cosmetic change: all key codes are lower case.
2015-06-14 03:50:51 +02:00
a557472b0f Initial commit
This adds the current state of my dotfiles for version control.
2015-06-13 21:09:33 +02:00