Skip to content

Instantly share code, notes, and snippets.

@mortehu
Created March 20, 2017 23:17
Show Gist options
  • Save mortehu/17b00c1512c09b4d57c0495193b2d1d6 to your computer and use it in GitHub Desktop.
Save mortehu/17b00c1512c09b4d57c0495193b2d1d6 to your computer and use it in GitHub Desktop.
vimrc
let loaded_matchparen = 1
syntax on
map <Down> gj
map <Up> gk
filetype indent on
set cryptmethod=blowfish2
set tags=tags;/
set bg=dark
set is
set ai
set aw
set noerrorbells
set novisualbell
set ts=8
set sts=2
set sw=2
set et
set modelines=2
set completeopt=preview
set nofoldenable
set mouse=
set cino=:0
set fillchars=diff:⣿
set shiftround
set title
set wildmode=longest,list
" source ~/.vim/cppcomplete.vim
ab fpritnf fprintf
ab fpitnf fprintf
ab INSER INSERT
ab TINTO INTO
map Q :echo "You pressed Q"<CR>
map ^O :echo "You pressed Ctrl-O"<CR>
map ^T <Esc>:tabnew<CR>
map <F1> 1gt
map <F2> 2gt
map <F3> 3gt
map <F4> 4gt
map <F5> 5gt
map <F6> 6gt
map <F7> 7gt
map <F8> 8gt
map <F9> 9gt
map <F10> 10gt
map <F11> 11gt
map <F12> 12gt
imap <F1> <Esc>1gta
imap <F2> <Esc>2gta
imap <F3> <Esc>3gta
imap <F4> <Esc>4gta
imap <F5> <Esc>5gta
imap <F6> <Esc>6gta
imap <F7> <Esc>7gta
imap <F8> <Esc>8gta
imap <F9> <Esc>9gta
imap <F10> <Esc>10gta
imap <F11> <Esc>11gta
imap <F12> <Esc>12gta
hi TabLineSel term=reverse ctermfg=white ctermbg=lightblue guifg=white guibg=blue
set guioptions=
set guicursor=i:block-Cursor
set guifont=DejaVu\ Sans\ Mono\ 12
highlight Normal guifg=gray guibg=black
execute pathogen#infect()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment