Merge branch 'master' of github.com:sonictk/vimrc
This commit is contained in:
commit
c7f880dc7d
2 changed files with 26 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -3,6 +3,5 @@ sources_non_forked/ack.vim/.netrwhist
|
||||||
temp_dirs/yankring_history_v2.txt
|
temp_dirs/yankring_history_v2.txt
|
||||||
sources_forked/yankring/doc/tags
|
sources_forked/yankring/doc/tags
|
||||||
sources_non_forked/tlib/doc/tags
|
sources_non_forked/tlib/doc/tags
|
||||||
my_configs.vim
|
|
||||||
tags
|
tags
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
|
26
my_configs.vim
Normal file
26
my_configs.vim
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
" Basic formatting settings
|
||||||
|
set listchars=tab:»·,trail:·
|
||||||
|
set list
|
||||||
|
" Turn on line numbering
|
||||||
|
set number
|
||||||
|
syntax on
|
||||||
|
colorscheme monokai
|
||||||
|
|
||||||
|
" Enable folding
|
||||||
|
set foldmethod=indent
|
||||||
|
set foldlevel=99
|
||||||
|
|
||||||
|
" Adds proper PEP-8 settings for Python files
|
||||||
|
au BufNewFile,BufRead *.py
|
||||||
|
\ set tabstop=4
|
||||||
|
\ set softtabstop=4
|
||||||
|
\ set shiftwidth=4
|
||||||
|
\ set textwidth=79
|
||||||
|
\ set expandtab
|
||||||
|
\ set autoindent
|
||||||
|
\ set fileformat=unix
|
||||||
|
|
||||||
|
au BufNewFile,BufRead *.js, *.html, *.css
|
||||||
|
\ set tabstop=2
|
||||||
|
\ set softtabstop=2
|
||||||
|
\ set shiftwidth=2
|
Loading…
Reference in a new issue