Skip to content

Instantly share code, notes, and snippets.

@cverbiest
Created June 6, 2015 08:18
Show Gist options
  • Save cverbiest/399532eec7a596eb6f99 to your computer and use it in GitHub Desktop.
Save cverbiest/399532eec7a596eb6f99 to your computer and use it in GitHub Desktop.
" allow backspacing over everything in insert mode
set backspace=indent,eol,start
autocmd FileType php set omnifunc=phpcomplete#CompletePHP
autocmd FileType progress set omnifunc=syntaxcomplete#Complete
set isfname-==
" colorscheme doriath
set aw shiftwidth=4 tabstop=4 nohls expandtab
set smartcase
set title
set background=dark
set history=300
syntax on
map ; .
map Op 0
map Oq 1
map Or 2
map Os 3
map Ot 4
map Ou 5
map Ov 6
map Ow 7
map Ox 8
map Oy 9
map! On .
map! Op 0
map! Oq 1
map! Or 2
map! Os 3
map! Ot 4
map! Ou 5
map! Ov 6
map! Ow 7
map! Ox 8
map! Oy 9
map! OQ /
map! OR *
map! OS -
map! Ol +
if has("unix")
map ,e :e <C-R>=expand("%:p:h") . "/" <CR>
else
map ,e :e <C-R>=expand("%:p:h") . "\" <CR>
endif
map H :let &hlsearch = !&hlsearch<CR>
set stl=%f\ %m\ %r\ Line:%l/%L[%p%%]\ Col:%c\ Buf:%n\ [%b][0x%B]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment