Skip to content

Instantly share code, notes, and snippets.

@jarinudom
Created June 22, 2012 21:45
Show Gist options
  • Save jarinudom/2975394 to your computer and use it in GitHub Desktop.
Save jarinudom/2975394 to your computer and use it in GitHub Desktop.
color molokai
let g:molokai_original=0
set gfn=Inconsolata:h16
" Press F4 for MAGIC INDENT
map <silent> <F4> mmgg=G`m^
imap <silent> <F4> <Esc> mmgg=G`m^
nnoremap <leader><space> :noh<cr>
" Move around split windows with ctrl movement
nnoremap <C-h> <C-w>h
nnoremap <C-j> <C-w>j
nnoremap <C-k> <C-w>k
nnoremap <C-l> <C-w>l
" Bubble single lines
nmap <C-Up> [e
nmap <C-Down> ]e
" Bubble multiple lines
vmap <C-Up> [egv
vmap <C-Down> ]egv
" Vim Autoclose
let g:AutoClosePairs = {'(': ')', '{': '}', '[': ']', '"': '"', "'": "'", '#{': '}', '|':'|' }
let g:AutoCloseProtectedRegions = ["Character"]
let mapleader = ","
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment