aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorTeddy Wing2020-09-29 01:34:50 +0200
committerTeddy Wing2020-09-29 01:48:21 +0200
commit8126766ab7a37961096ff9edf69feed15d9f3b65 (patch)
treeec9fcc795eb43996d5bf8a2f057b7156b1e00585 /README.md
parentf8bbf6e991d6a5d9768715c0cc915875bc9d9bc9 (diff)
downloadvim-grappele-8126766ab7a37961096ff9edf69feed15d9f3b65.tar.bz2
autoload/grappele.vim: If no line is stored, make `gG` a no-op
Previously, if you typed, for example: dgGk this would perform `dk`, deleting the current line and the one above it. That doesn't really make any sense. Instead, the `gG` should cancel the operator. Do this by mapping to `<C-c>`. In normal and visual modes, `gG` would move the cursor to the 0th column. Returning an empty {rhs} causes the cursor to stay in the same position it was in before pressing `gG`.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions