summaryrefslogtreecommitdiff
path: root/.vim/vimrc_files/keymaps.vim
diff options
context:
space:
mode:
authorJohannes Stolp <jstolp@vgfr65cs1.internal.synopsys.com>2016-07-13 22:49:09 +0200
committerJohannes Stolp <jstolp@vgfr65cs1.internal.synopsys.com>2016-07-13 22:49:09 +0200
commitdc01638ea52980c64642bdd992dcc05bc3a4aab1 (patch)
tree071000c889e9878ddcdfbca2aeecca89107dda64 /.vim/vimrc_files/keymaps.vim
parent88db1685aded1d4787ce5b81fe82658a6be9274d (diff)
downloaddotfiles-dc01638ea52980c64642bdd992dcc05bc3a4aab1.tar.gz
dotfiles-dc01638ea52980c64642bdd992dcc05bc3a4aab1.zip
additional information for fold keymaps
Diffstat (limited to '.vim/vimrc_files/keymaps.vim')
-rw-r--r--.vim/vimrc_files/keymaps.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/.vim/vimrc_files/keymaps.vim b/.vim/vimrc_files/keymaps.vim
index 0469920..fe78484 100644
--- a/.vim/vimrc_files/keymaps.vim
+++ b/.vim/vimrc_files/keymaps.vim
@@ -84,9 +84,10 @@ vnoremap <C-e> $
nnoremap <c-n> :call ToggleRelativeNumber()<CR>
" add a marker fold snippet (for C/C++)
-vnoremap <C-f> VV'<O//{{{ <Esc>'>o//}}}<Esc>'<<ESC><Up>A
nnoremap <C-f> o//{{{ <Esc>o//}}}<Esc><Up>A
imap <C-f> <ESC><C-f>
+"only works with v-block (not v-line)
+vnoremap <C-f> VV'<O//{{{ <Esc>'>o//}}}<Esc>'<<ESC><Up>A
" Open BufferExplorer
nnoremap <C-b> :call BufExplorer()<CR>