aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorTeddy Wing2015-11-23 23:39:17 -0500
committerTeddy Wing2015-11-23 23:39:17 -0500
commitffa7c57008a7ff501de0bd61d1c8e4b9ad23e28f (patch)
tree354bde16ac3ca804b8877b13e8c73ebd011dacae /README.md
parent60dd7674aa2508160728896c80438149ca6b7139 (diff)
downloadauditory.vim-ffa7c57008a7ff501de0bd61d1c8e4b9ad23e28f.tar.bz2
Fix normal mode `G` mapping
Pressing `G` would bring the cursor to the first line in the buffer instead of the last line in the buffer because the count in the mapping was always `v:count1`. This meant that the `G` mapping behaved like `1G` when no count was specified. This change fixes the `G` mapping to use `v:count` so that it goes to the last line in the buffer as expected. We also add support for arbitrary mappings to choose whether they want to be `v:count` or `v:count1` depending on what value is specified in the mapping dict.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions