Skip to content

Instantly share code, notes, and snippets.

@nomadhacker
Created January 17, 2015 19:51
Show Gist options
  • Save nomadhacker/c30ed336410cd448db47 to your computer and use it in GitHub Desktop.
Save nomadhacker/c30ed336410cd448db47 to your computer and use it in GitHub Desktop.
mydots
set nocompatible
set backspace=2
set ruler
set showcmd
set laststatus=2
syntax on
filetype plugin indent on
set tabstop=4
set shiftwidth=4
set shiftround
set expandtab
set list listchars=tab:»·,trail:·,nbsp:·
colorscheme slate
set textwidth=80
set colorcolumn=+1
set number
set numberwidth=5
let g:html_indent_tags = 'li\|p'
" configure syntastic syntax checking to check on open as well as save
let g:syntastic_check_on_open=1
let g:syntastic_html_tidy_ignore_errors=[" proprietary attribute \"ng-"]
" Always use vertical diffs
set diffopt+=vertical
" Quicker window movement
nnoremap <C-j> <C-w>j
nnoremap <C-k> <C-w>k
nnoremap <C-h> <C-w>h
nnoremap <C-l> <C-w>l
" Open new split panes to right and bottom, which feels more natural
set splitbelow
set splitright
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment