- Remap ; to : so I don't have to hit shift for getting into command mode.
- Remap jf to so that I can quickly exit insert mode.
- Fuzzy finding with ctrlp (install the plugin from kien/ctrlp.vim)
- Easy vsplit creation and navigation
- ,v to create a new vsplit
- ctrl-h to move into one vsplit to the left
- ctrl-l to move into one vsplit to the right
- ctrl-j to move into one hsplit below
- ctrl-k to move into one hsplit up
- Remap ,, to switching between the two most recently used buffers
- 4 space soft tabs
- Home and end for non-whitespace chars
" For #1 and #2
nnoremap ; :
inoremap jf <esc>
" For #4
nnoremap ,v <c-w>v
nnoremap <C-h> <C-w>h
nnoremap <C-j> <C-w>j
nnoremap <C-k> <C-w>k
nnoremap <C-l> <C-w>l
" for #5
nnoremap ,, <c-^>
" for #6
set tabstop=4
set shiftwidth=4
set softtabstop=4
set expandtab " use spaces instead of tabs.
set smarttab " let's tab key insert 'tab stops', and bksp deletes tabs.
set shiftround " tab / shifting moves to closest tabstop.
" for #7
noremap H ^
noremap L g_