Skip to content

Instantly share code, notes, and snippets.

@vdudouyt
Created December 30, 2013 12:24
Show Gist options
  • Save vdudouyt/8181515 to your computer and use it in GitHub Desktop.
Save vdudouyt/8181515 to your computer and use it in GitHub Desktop.
vimrc-home
colorscheme peachpuff
set autochdir
set autoindent
set guioptions-=m
set guioptions-=T
set cursorline
nmap <C-s> :w<Enter>
nmap <C-t> :tabnew
nmap <M-1> 1gt
nmap <M-2> 2gt
nmap <M-3> 3gt
nmap <M-4> 4gt
nmap <M-5> 5gt
nmap <M-6> 6gt
nmap <M-7> 7gt
nmap <M-8> 8gt
nmap <M-9> 9gt
nmap <M-0> 0gt
nmap <F8> :TagbarToggle<Enter>
set tags=tags;
nmap <F7> :Grep<Space>
nmap <C-i> :'<,'>s/^/\t/<Enter>
vmap <C-i> :s/^/\t/<Enter>
" Speed-up edit-compile-edit process
command Make silent make|botright copen
nmap <F9> :Make<Enter><Enter>
filetype plugin on
set omnifunc=syntaxcomplete#Complete
autocmd BufEnter,BufNew *.cap vmap <buffer> <Enter> :!/usr/lib/gen_pyusb_code.pl<Enter>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment