diff options
author | shmibs <shmibs@gmail.com> | 2014-09-01 11:33:59 -0700 |
---|---|---|
committer | shmibs <shmibs@gmail.com> | 2014-09-01 11:33:59 -0700 |
commit | 76986701eca30c36649fa8111358a45e2c88ff55 (patch) | |
tree | 8d2b80e89cd2d838ede10f5069d99b6523bbe387 /.vimrc | |
parent | e0f2ec8a98ec6d3adec28e737c515c9dab550e4b (diff) | |
download | dotfiles-76986701eca30c36649fa8111358a45e2c88ff55.tar.gz |
theme update time!
Diffstat (limited to '.vimrc')
-rw-r--r-- | .vimrc | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -1,6 +1,5 @@ syntax on filetype plugin indent on -"set omnifunc=syntaxcomplete#Complete set autoindent "colours! @@ -20,6 +19,13 @@ set hidden set guifont=Tamsyn\ 11 set guioptions=aegimt +"i keep accidentally typing these over and over +command W w +command Wq wq +command WQ wq +command Q q +command E e + "buffer / tab controls nnoremap <C-j> :bn<CR> nnoremap <C-k> :bp<CR> @@ -130,8 +136,14 @@ endfunction function! Settings_tex() "settings + setlocal noautoindent + setlocal nocindent + setlocal nosmartindent + setlocal indentexpr= setlocal shiftwidth=4 setlocal tabstop=4 + let g:tex_comment_nospell=1 + set spell "mappings nnoremap -- O%<Space> nnoremap <Leader>c :!latex -output-format=pdf %<CR><CR> |