diff options
Diffstat (limited to 'vim/init/keymaps.vim')
-rw-r--r-- | vim/init/keymaps.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/init/keymaps.vim b/vim/init/keymaps.vim index 1a5e88a..15bf356 100644 --- a/vim/init/keymaps.vim +++ b/vim/init/keymaps.vim | |||
@@ -513,7 +513,7 @@ vnoremap Q <ESC>`<i「<ESC>`>la」<ESC> | |||
513 | function! AddSpaceForSelection() | 513 | function! AddSpaceForSelection() |
514 | " If visual selection by lines, add empty space at top and bottom | 514 | " If visual selection by lines, add empty space at top and bottom |
515 | if line("'<") != line("'>") || (col("'<") == 1 && col("'>") == len(getline('.'))+1) | 515 | if line("'<") != line("'>") || (col("'<") == 1 && col("'>") == len(getline('.'))+1) |
516 | '< norm! O | | 516 | '< norm! O |
517 | '> norm! o | 517 | '> norm! o |
518 | exe "norm! "..(line("'<")-1).."GV"..(line("'>")+1).."G" | 518 | exe "norm! "..(line("'<")-1).."GV"..(line("'>")+1).."G" |
519 | " Otherwise, add space at start and end column | 519 | " Otherwise, add space at start and end column |