From a995874431c74929a8ac26ddaf96741429e6382d Mon Sep 17 00:00:00 2001 From: shmibs Date: Wed, 21 May 2014 08:26:56 -0700 Subject: minor updates nothing important to see here --- .vimrc | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to '.vimrc') diff --git a/.vimrc b/.vimrc index 266093a..2ff0919 100644 --- a/.vimrc +++ b/.vimrc @@ -1,5 +1,6 @@ syntax on filetype plugin on +"set omnifunc=syntaxcomplete#Complete set autoindent "colours! @@ -7,9 +8,9 @@ colorscheme anotherdark set background=dark "tab controls to match pentadactyl -map :tabn -map :tabp -map :tabnew +noremap :tabn +noremap :tabp +noremap :tabnew "insert lines above and below with (=|+) "very hackish, but i couldn't think of a better way @@ -21,11 +22,10 @@ let g:session_autosave = 'no' let g:session_autoload = 'no' "folds! -map fo zO -map fc zC -map fm zM -map fr zR - +nnoremap fo zO +nnoremap fc zC +nnoremap fm zM +nnoremap fr zR "copy words from above and below the cursor inoremap pumvisible() ? "\" : matchstr(getline(line('.')-1), '\%' . virtcol('.') . 'v\%(\k\+\\|.\)') @@ -69,26 +69,26 @@ autocmd FileType vim call Settings_vim() function! Settings_asm() setlocal cindent set foldmethod=syntax - map \\ A; + noremap -- A; endfunction function! Settings_c() setlocal cindent set foldmethod=syntax - map \\ A/**/hhi + noremap -- A/**/hhi endfunction function! Settings_haskell() setlocal smartindent - map \\ A-- + noremap -- A-- endfunction function! Settings_script() setlocal smartindent - map \\ A# + noremap -- A# endfunction function! Settings_vim() setlocal smartindent - map \\ A" + noremap -- A" endfunction -- cgit v1.2.3