Skip to content

Instantly share code, notes, and snippets.

@karaage0703
Last active Mar 4, 2016
Embed
What would you like to do?
.vimrc without plugin
set number
if &t_Co > 1
syntax enable
endif
" for python
autocmd FileType python setl autoindent
autocmd FileType python setl smartindent cinwords=if,elif,else,for,while,try,except,finally,def,class
autocmd FileType python setl tabstop=8 expandtab shiftwidth=4 softtabstop=4
" for javascript
autocmd FileType javascript setl shiftwidth=4 tabstop=2 softtabstop=2
" for backupfile
set backupdir=~/tmp
@karaage0703

This comment has been minimized.

Copy link
Owner Author

@karaage0703 karaage0703 commented Oct 12, 2015

For setup, type below command

$ cd
$ git clone https://gist.github.com/e4243dc05c506bbd92c3.git tmp
$ mv tmp/vimrc  .vimrc

http://karaage.hatenadiary.jp/entry/2015/09/24/073000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment