diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2024-07-28 20:33:17 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2024-07-28 20:33:17 -0300 |
commit | af240d88c81a2fb825096081934a7cd18be9fca3 (patch) | |
tree | a34c684ad036e20d9a90f0575a1812ff94c4284c | |
parent | b6a77530871c56ffc5d05b510f7eac8774fbc7ec (diff) | |
download | vim-af240d88c81a2fb825096081934a7cd18be9fca3.tar.gz vim-af240d88c81a2fb825096081934a7cd18be9fca3.tar.bz2 |
Feat: folding markers (2)
-rw-r--r-- | vimrc.dot.link | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/vimrc.dot.link b/vimrc.dot.link index 65c0c03..a7e739f 100644 --- a/vimrc.dot.link +++ b/vimrc.dot.link @@ -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' +" }}} |