do not map S-space as Esc

use persistent undo
default folding to fold
This commit is contained in:
Johann Dreo 2013-01-03 20:40:06 +01:00
commit cc31d5f1db

9
.vimrc
View file

@ -68,6 +68,13 @@ set splitbelow
" New vsplit placed right
set splitright
set foldmethod=syntax
set foldlevelstart=20 " buffer are always loaded with opened folds
" persistent undo across sessions
set undofile
set undodir=~/.vim/undodir
let mapleader = "," " leader key is comma
" xx will delete the line without copying it into the default register
@ -110,7 +117,7 @@ cnoremap %% <C-R>=expand('%:h').'/'<cr>
map <leader>p :CtrlP %%<cr>
" use shift-space as escape
inoremap <S-Space> <Esc>
"inoremap <S-Space> <Esc>
set list
" print tabs with a special character (add ",eol:·" for end of lines)