aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorCamil Staps2020-08-28 20:31:11 +0200
committerCamil Staps2020-08-28 20:31:11 +0200
commit69551fe275e758ecc0d96a2d346818c4c12c2663 (patch)
tree33a1a48aff4feb248714f0e02a68b32672b9f42c /vim
parentUse new (non-deprecated) vim plugin for multiple cursors (diff)
Use new PaperColor color scheme for text files
Diffstat (limited to 'vim')
-rw-r--r--vim/.vimrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/vim/.vimrc b/vim/.vimrc
index d49c5a0..385b4a3 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -38,6 +38,9 @@ Plugin 'airblade/vim-gitgutter' " git diff in gutter
Plugin 'godlygeek/tabular' " tabularize things
Plugin 'google/vim-searchindex' " shows '[N/M]' when searching
+" Color schemes
+Plugin 'NLKNguyen/papercolor-theme'
+
call vundle#end()
" End Vundle
@@ -89,6 +92,9 @@ endif
map <LocalLeader>s :syn sync fromstart<CR>
+autocmd BufEnter * colorscheme solarized | set bg=dark
+autocmd BufEnter *.txt colorscheme PaperColor | set bg=light
+
" Move through long lines as they were short multiple lines
map <down> gj
map <up> gk