From 76986701eca30c36649fa8111358a45e2c88ff55 Mon Sep 17 00:00:00 2001 From: shmibs Date: Mon, 1 Sep 2014 11:33:59 -0700 Subject: theme update time! --- .vimrc | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to '.vimrc') diff --git a/.vimrc b/.vimrc index 77d64b8..1cd50a5 100644 --- a/.vimrc +++ b/.vimrc @@ -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 :bn nnoremap :bp @@ -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% nnoremap c :!latex -output-format=pdf % -- cgit v1.2.3