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 | |
parent | 6af9f486067533a4e0b73e1156ed4242a3dacb8a (diff) | |
download | dotfiles-d492a6e6c3327407458a57c74e9f2ca9bda53ef8.tar.gz |
general vim cleanup
-rw-r--r-- | .vim/colors/shmibs.vim | 45 | ||||
-rw-r--r-- | .vimrc | 17 |
2 files changed, 33 insertions, 29 deletions
diff --git a/.vim/colors/shmibs.vim b/.vim/colors/shmibs.vim index 3f067ca..697d7d0 100644 --- a/.vim/colors/shmibs.vim +++ b/.vim/colors/shmibs.vim @@ -1,33 +1,36 @@ "Vim color file "intended for 256 colour term -hi clear +hi! clear let g:colors_name="shmibs" -hi! Comment ctermfg=lightblue -hi! Constant ctermfg=red -hi! CursorLine ctermbg=234 -hi! Directory ctermfg=cyan -hi! Folded ctermbg=NONE ctermfg=240 -hi! Identifier cterm=bold ctermfg=cyan -hi! NonText ctermbg=234 ctermfg=yellow cterm=bold -hi! PreProc ctermfg=magenta -hi! Question ctermfg=green -hi! Statement ctermfg=yellow -hi! Special ctermfg=magenta -hi! SpecialKey ctermfg=green -hi! SpellBad ctermbg=lightred -hi! Title ctermfg=magenta -hi! Todo ctermbg=yellow ctermfg=black -hi! Type ctermfg=green -hi! Underlined ctermfg=magenta cterm=underline - - +hi! Comment ctermfg=lightblue +hi! Constant ctermfg=red +hi! CursorLine ctermfg=NONE ctermbg=236 cterm=NONE +hi! CursorLineNr ctermfg=white ctermbg=236 cterm=bold +hi! Directory ctermfg=cyan +hi! Folded ctermfg=240 ctermbg=NONE +hi! Identifier cterm=bold ctermfg=cyan +hi! NonText ctermfg=yellow ctermbg=234 cterm=bold +hi! PreProc ctermfg=magenta +hi! Pmenu ctermfg=white ctermbg=magenta +hi! PmenuSel ctermfg=black ctermbg=lightmagenta +hi! Question ctermfg=green +hi! Statement ctermfg=yellow +hi! Special ctermfg=magenta +hi! SpecialKey ctermfg=green +hi! SpellBad ctermfg=NONE ctermbg=NONE cterm=underline +hi! Title ctermfg=magenta +hi! Todo ctermfg=black ctermbg=yellow +hi! Type ctermfg=green +hi! Underlined cterm=underline ctermfg=magenta +hi! Visual ctermbg=239 "A => B hi! link Boolean Constant hi! link Character Constant +hi! link CursorColumn CursorLine hi! link Function Identifier hi! link Keyword Statement hi! link LineNr NonText @@ -35,6 +38,8 @@ hi! link Number Constant hi! link PreProc Define hi! link SpecialChar Special hi! link SpecialComment Special +hi! link SpellCap SpellBad +hi! link SpellLocal SpellBad hi! link String Constant hi! link StorageClass Type hi! link Tag Special @@ -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() |