Skip to content

Instantly share code, notes, and snippets.

Last active Mar 4, 2016
What would you like to do?
.vimrc without plugin
set number
if &t_Co > 1
syntax enable
" 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

This comment has been minimized.

Copy link
Owner Author

@karaage0703 karaage0703 commented Oct 12, 2015

For setup, type below command

$ cd
$ git clone tmp
$ mv tmp/vimrc  .vimrc

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