Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- filetype plugin indent on
- " show existing tab with 4 spaces width
- set tabstop=4
- " when indenting with '>', use 4 spaces width
- set shiftwidth=4
- " On pressing tab, insert 4 spaces
- set expandtab
- " Enable line numbers
- set number
- " Javascript tabs
- autocmd Filetype javascript setlocal ts=2 sw=2 sts=2 expandtab
- " Javascript tabs
- autocmd Filetype json setlocal ts=2 sw=2 sts=2 expandtab
- "
- " HTML tabs
- autocmd Filetype html setlocal ts=2 sw=2 sts=2 expandtab
- " go tabs
- autocmd Filetype go setlocal ts=4 sw=4 sts=4 noexpandtab
- set rtp+=$GOPATH/src/golang.org/x/lint/misc/vim
- " autocmd BufWritePost,FileWritePost *.go execute 'Lint' | cwindow
- " Show tabs
- set list
- set listchars=tab:>-
- set clipboard=unnamed
- " Blast deletes intothe black hole
- nnoremap d "_d
- vnoremap d "_d
Add Comment
Please, Sign In to add comment