From d492a6e6c3327407458a57c74e9f2ca9bda53ef8 Mon Sep 17 00:00:00 2001 From: shmibs Date: Tue, 23 Dec 2014 04:49:56 -0700 Subject: general vim cleanup --- .vimrc | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to '.vimrc') diff --git a/.vimrc b/.vimrc index cfbadab..164e1f2 100644 --- a/.vimrc +++ b/.vimrc @@ -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 (EasyAlign) "Start interactive EasyAlign for a motion/text object (e.g. gaip) nmap ga (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% - nnoremap c :!latex -output-format=pdf % - nnoremap C :!latex -output-format=pdf % + nnoremap c :!latex -output-format=pdf "%" + nnoremap C :!latex -output-format=pdf "%" endfunction function! Settings_vim() -- cgit v1.2.3