]> gitweb.fluxo.info Git - rhatto/dotfiles/vim.git/commitdiff
Feat: folding markers (2)
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 28 Jul 2024 23:33:17 +0000 (20:33 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 28 Jul 2024 23:33:17 +0000 (20:33 -0300)
vimrc.dot.link

index 65c0c03ab1128708d06b83264ff056e513439b75..a7e739f27ba6686e786af77ffae0e12d8fb025f8 100644 (file)
@@ -1,6 +1,6 @@
 " VIM configuration
 
-" Basic options
+" Basic options {{{
 syn on
 set nu
 set background=dark
@@ -22,19 +22,23 @@ set smartcase
 set timeoutlen=1000
 "let mapleader="-"
 let mapleader=" "
+" }}}
 
-" Syntax highlighting
-syntax on
+" Filetype and syntax handling {{{
 
 " Filetype handling
 filetype plugin indent on
 
+" Syntax highlighting
+syntax on
+
 " Syntax check
 let g:syntastic_mode_map={ 'mode': 'passive',
                            \ 'active_filetypes': [],
                            \ 'passive_filetypes': [] }
+" }}}
 
-" Folding
+" Folding {{{
 " Disabled due to slowness
 "set foldmethod=syntax
 "set foldlevelstart=99
@@ -47,22 +51,25 @@ let g:syntastic_mode_map={ 'mode': 'passive',
 "let sh_fold_enabled=1
 "let vimsyn_folding='af'
 "let xml_syntax_folding=1
+" }}}
 
-" Command mode completion
+" Command mode completion {{{
 " See https://stackoverflow.com/questions/526858/how-do-i-make-vim-do-normal-bash-like-tab-completion-for-file-names
 "set wildmode=longest,list
 set wildmode=longest,list,full
 set wildmenu
+" }}}
 
-" Disable modelines
+" Disable modelines {{{
 "
 " https://lwn.net/Articles/20249/
 " http://usevim.com/2012/03/28/modelines/
 " http://www.techrepublic.com/blog/it-security/turn-off-modeline-support-in-vim/
 set nomodeline
 set modelines=0
+}}}
 
-" Session management
+" Session management {{{
 "
 " http://usevim.com/2013/07/05/sessions/
 " https://github.com/xolox/vim-session
@@ -81,3 +88,4 @@ let g:session_autosave_silent=1
 let g:session_autosave='yes'
 let g:session_autoload='no'
 let g:session_directory='~/.local/share/vim/sessions'
+" }}}