Set indents to 2 spaces for HTML; open all folds in ledger
This commit is contained in:
parent
7e531c1a0f
commit
273cb3758a
1 changed files with 3 additions and 2 deletions
5
vimrc
5
vimrc
|
@ -193,11 +193,12 @@ if has('autocmd')
|
|||
" spelling for text files
|
||||
autocmd FileType text set spell
|
||||
" spaces as tabs for python
|
||||
autocmd filetype python setlocal expandtab
|
||||
autocmd FileType python setlocal expandtab
|
||||
" don't show tabs in html and xml
|
||||
autocmd filetype html,xml set listchars-=tab:▸\
|
||||
autocmd FileType html,htmldjango,xml set sw=2 sts=2 listchars-=tab:▸\
|
||||
|
||||
autocmd BufNewFile,BufRead *.ledger setf ledger | comp ledger
|
||||
autocmd FileType ledger normal zR
|
||||
|
||||
" Jump to last known cursor position unless it's the first line, or past the
|
||||
" end of the file
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue