Skip to content

Instantly share code, notes, and snippets.

@arthurio arthurio/.vimrc.after
Last active Aug 29, 2015

What would you like to do?
MacVim conf
color wombat
hi ColorColumn ctermbg=lightgrey guibg=#474747
" Cursor shape
hi Cursor guibg=orange guifg=white
set autoindent
set smartindent
set tabstop=4
set shiftwidth=4
" Don't allow vertical scroll
set wrap
set hlsearch
set go-=T
set number
set visualbell
filetype plugin indent on
set showcmd
syntax on
set backup
set backupdir=~/.vim/backup
set directory=~/.vim/tmp
set expandtab
set gfn=M+\ 1m\ regular:h16
map <MiddleMouse> <Nop>
imap <MiddleMouse> <Nop>
highlight ExtraWhitespace ctermbg=red guibg=red
au ColorScheme * highlight ExtraWhitespace guibg=red
au BufEnter * match ExtraWhitespace /\s\+$/
au InsertEnter * match ExtraWhitespace /\s\+\%#\@<!$/
au InsertLeave * match ExtraWhiteSpace /\s\+$/
nmap <silent> <C-Up> :wincmd k<CR>
nmap <silent> <C-Down> :wincmd j<CR>
nmap <silent> <C-Left> :wincmd h<CR>
nmap <silent> <C-Right> :wincmd l<CR>
" Split lines with ctrl+j
nnoremap <NL> i<CR><ESC>
ab pdb import pdb; pdb.set_trace()
set cc=80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.