Skip to content

Commit

Permalink
try fast fold
Browse files Browse the repository at this point in the history
  • Loading branch information
davidxifeng committed Sep 2, 2016
1 parent 006375a commit 6e7e547
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
1 change: 1 addition & 0 deletions .vimrc.before.local
@@ -1,5 +1,6 @@
let g:spf13_no_fastTabs=1

"let g:markdown_folding=1

let g:spf13_bundle_groups= ['general', 'writing', 'neocomplete', 'programming', 'python', 'javascript', 'html', 'misc', 'haskell' ]

3 changes: 3 additions & 0 deletions .vimrc.bundles.local
Expand Up @@ -34,3 +34,6 @@ endif
"Bundle 'justinmk/vim-sneak'

Bundle 'posva/vim-vue'

Bundle 'Konfekt/FastFold'

10 changes: 8 additions & 2 deletions .vimrc.local
Expand Up @@ -11,12 +11,19 @@ endif
if isdirectory(expand("~/.vim/bundle/tabular"))
nmap <c-c> :Tabularize /
vmap <c-c> :Tabularize /

nmap <Leader>d= :Tabularize /=<CR>
vmap <Leader>d= :Tabularize /=<CR>

nmap <Leader>d, :Tabularize /,<CR>
vmap <Leader>d, :Tabularize /,<CR>

nmap <Leader>d- :Tabularize /--<CR>
vmap <Leader>d- :Tabularize /--<CR>

nmap <Leader>d/ :Tabularize /\/\/<CR>
vmap <Leader>d/ :Tabularize /\/\/<CR>

endif
" }

Expand Down Expand Up @@ -68,8 +75,7 @@ set smarttab
set expandtab " 扩展tab with合适数量的空格
set shiftround

set foldmethod=marker

"set foldmethod=marker
"noremap zo zO
"noremap zO zo
"noremap zc zC
Expand Down

0 comments on commit 6e7e547

Please sign in to comment.