diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2024-07-21 15:49:43 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2024-07-21 15:49:43 +0800 |
commit | 5dc2485ff1530fcff26161a35742043d038c90c4 (patch) | |
tree | 49d4b1abef0954738b407ccf7057a25ca2c24c63 /vim/init/keymaps.vim | |
parent | b077e2e25c9b41ab45bf2da55ecc09df637a90e5 (diff) |
Update
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 |