aboutsummaryrefslogtreecommitdiffstats
path: root/.vimrc
diff options
context:
space:
mode:
authorshmibs <shmibs@gmail.com>2014-09-01 11:33:59 -0700
committershmibs <shmibs@gmail.com>2014-09-01 11:33:59 -0700
commit76986701eca30c36649fa8111358a45e2c88ff55 (patch)
tree8d2b80e89cd2d838ede10f5069d99b6523bbe387 /.vimrc
parente0f2ec8a98ec6d3adec28e737c515c9dab550e4b (diff)
downloaddotfiles-76986701eca30c36649fa8111358a45e2c88ff55.tar.gz
theme update time!
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc14
1 files changed, 13 insertions, 1 deletions
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 <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>