Compare commits

..

No commits in common. "1b62acfc8059d1d946645d5eb4c90b41b6569228" and "8e468a30b874c56afebf1ebe7dc0ffdba0e4a998" have entirely different histories.

3 changed files with 30 additions and 27 deletions

View File

@ -1,24 +0,0 @@
" Folds {{{
set foldmethod=marker
augroup filetype_vim
autocmd!
autocmd FileType vim setlocal foldmethod=marker
augroup END
augroup filetype_python
autocmd!
autocmd FileType python setlocal foldmethod=indent
augroup END
augroup filetype_sh
autocmd!
autocmd FileType sh setlocal foldmethod=marker
augroup END
augroup filetype_snippets
autocmd!
autocmd FileType snippets setlocal foldmethod=marker
augroup END
" }}}

View File

@ -1,3 +0,0 @@
let g:netrw_winsize = 30
let g:netrw_liststyle=3
let g:netrw_banner = 0

30
.vimrc
View File

@ -30,6 +30,36 @@ set spellsuggest+=5 " Limit spell suggestions
set wildignore+=*/node_modules/*,*/tmp/*,*.so,*.swp,*.zip
set thesaurus+=~/.vim/thesaurus/mthesaur.txt
" File explorer
let g:netrw_winsize = 30
let g:netrw_liststyle=3
let g:netrw_banner = 0
" }}}
" Folds {{{
" Insert date
fu! Today()
:put =strftime('%d %b %Y')
endfu
set foldmethod=marker
augroup filetype_vim
autocmd!
autocmd FileType vim setlocal foldmethod=marker
augroup END
augroup filetype_python
autocmd!
autocmd FileType python setlocal foldmethod=indent
augroup END
augroup filetype_sh
autocmd!
autocmd FileType sh setlocal foldmethod=marker
augroup END
" }}}
" Mappings {{{