diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-08-05 09:24:00 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-08-05 09:24:00 +0200 |
commit | 2a3a9336ab720ef4f887e8abdc51c2409ca67ea7 (patch) | |
tree | d7f871f347d9bca165c1ea4d5a0617228e39127e /vimrc | |
parent | 032f1ced031b97753263fda3e4bc11848e4ef20d (diff) | |
download | vim-2a3a9336ab720ef4f887e8abdc51c2409ca67ea7.zip vim-2a3a9336ab720ef4f887e8abdc51c2409ca67ea7.tar.gz |
vimrc reordering
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 50 |
1 files changed, 25 insertions, 25 deletions
@@ -52,36 +52,12 @@ call togglebg#map("<F5>") highlight ExtraWhitespace ctermbg=red guibg=red match ExtraWhitespace /\t\|\s\+$/ -" local vimrc -let g:localvimrc_ask=0 -let g:localvimrc_sandbox=0 - -" ctags -nnoremap <silent> <F6> :TlistToggle<CR> -let Tlist_Ctags_Cmd = "/usr/bin/ctags" -let Tlist_WinWidth = 50 -let Tlist_Exit_OnlyWindow = 1 " exit if taglist is last window open -let Tlist_Show_One_File = 1 " Only show tags for current buffer -let Tlist_Enable_Fold_Column = 0 " no fold column (only showing one file) - -" files -set ff=unix -set nofsync -:filetype on - -" set list -" set cursorline -" set cursorcolumn -set foldmethod=marker -set tabstop=4 shiftwidth=4 softtabstop=4 expandtab -set backspace=indent,eol,start " allow backspacing over everything in insert mode - -"set spell if has("vms") set nobackupss " do not keep a backup file, use versions instead else set backup " keep a backup file endif +"set spell set autoindent " use autoindent" set nocompatible " do not try to act like vi set scrolloff=5 " number of context lines above and below the cursor @@ -93,6 +69,30 @@ set incsearch " do incremental searching set number " show line number set showmode " show current mode +" files +set ff=unix +set nofsync +filetype off " required by vundle + +" set list +" set cursorline +" set cursorcolumn +set foldmethod=marker +set tabstop=4 shiftwidth=4 softtabstop=4 expandtab +set backspace=indent,eol,start " allow backspacing over everything in insert mode + +" local vimrc +let g:localvimrc_ask=0 +let g:localvimrc_sandbox=0 + +" ctags +nnoremap <silent> <F6> :TlistToggle<CR> +let Tlist_Ctags_Cmd = "/usr/bin/ctags" +let Tlist_WinWidth = 50 +let Tlist_Exit_OnlyWindow = 1 " exit if taglist is last window open +let Tlist_Show_One_File = 1 " Only show tags for current buffer +let Tlist_Enable_Fold_Column = 0 " no fold column (only showing one file) + " toggle view invisible with \t nmap <leader>l :set list!<CR> |