Commit graph

23 commits

Author SHA1 Message Date
2d75272142 Add Swift syntax highlighting to vim 2017-11-09 18:23:41 +01:00
7c16f687e0 [vim] prevent duplicate bufferline
Without the option:

    let g:bufferline_echo = 0

bufferline will echo the buffer list to the command bar. Since
vim-airline is also in use (and it too displays the buffer list), we get
duplicated information. By setting the above option we get the buffer
list only inside the airline (status line).
2017-02-09 20:01:47 +01:00
613768fe5d [vim] add bufferline plugin 2017-02-05 20:18:35 +01:00
1a7c315689 [vim] remove vim-easy-align plugin
The `tabular` plugin is already required by the `markdown` and appears
to be very powerful. No need to duplicate the functionality with another
plugin.
2017-02-05 20:02:33 +01:00
8e89707405 [vim] remove taskpaper plugin 2017-02-05 20:00:22 +01:00
0061510573 [vim] remove vimux plugin 2017-02-05 19:43:51 +01:00
a4b9f1d288 [vim] use standard Unicode in statusline (airline)
The fonts patched with Powerline symbols are buggy and limited. Using
standard Unicode provides good looks and requires no fiddling with
fonts, which is less headache in terms of portability. If support for
the used Unicode symbols turns out to be too limited, they can be
changed to normal ASCII characters.
2017-02-05 19:36:30 +01:00
d10d614865 [vim] load NERDTree on-demand
Since NERDTree executes almost 20 scripts upon initialization, load it
only on demand, i.e. when the tree is actually toggled for the first
time.
2016-03-30 00:57:21 +02:00
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