diff options
author | shmibs <shmibs@gmail.com> | 2014-12-23 04:49:56 -0700 |
---|---|---|
committer | shmibs <shmibs@gmail.com> | 2014-12-23 04:49:56 -0700 |
commit | d492a6e6c3327407458a57c74e9f2ca9bda53ef8 (patch) | |
tree | 96e967abe402a1753ac677011b3b8409eaa0af45 /.vimrc | |
parent | 6af9f486067533a4e0b73e1156ed4242a3dacb8a (diff) | |
download | dotfiles-d492a6e6c3327407458a57c74e9f2ca9bda53ef8.tar.gz |
general vim cleanup
Diffstat (limited to '.vimrc')
-rw-r--r-- | .vimrc | 17 |
1 files changed, 8 insertions, 9 deletions
@@ -18,11 +18,15 @@ set noshowmode "allow edited background buffers set hidden +"spelling +set spelllang=en_gb + "gvim-specific settings set guifont=Tamsyn\ 11 set guioptions=aegimt -"visual marker for 80th column + +"visual marker for overflowing the 80th column highlight Column80 ctermbg=black call matchadd('Column80', '\%81v', 100) @@ -56,11 +60,6 @@ vmap <Enter> <Plug>(EasyAlign) "Start interactive EasyAlign for a motion/text object (e.g. gaip) nmap ga <Plug>(EasyAlign) -"lightline things -"let g:lightline = { -" \ 'colorscheme': 'shmibsline' -" \ } - """""""""""""" " MAPPINGS " @@ -172,12 +171,12 @@ function! Settings_tex() setlocal nosmartindent setlocal shiftwidth=4 setlocal tabstop=4 + setlocal spell let g:tex_comment_nospell=1 - set spell "mappings nnoremap -- O%<Space> - nnoremap <Leader>c :!latex -output-format=pdf %<CR><CR> - nnoremap <Leader>C :!latex -output-format=pdf %<CR> + nnoremap <Leader>c :!latex -output-format=pdf "%"<CR><CR> + nnoremap <Leader>C :!latex -output-format=pdf "%"<CR> endfunction function! Settings_vim() |