diff options
author | Matthieu Coudron <teto@users.noreply.github.com> | 2021-08-16 06:24:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-15 21:24:59 -0700 |
commit | 5a111c1b02bbfbc2b42df11d7205153be0893dff (patch) | |
tree | 4b8023a1bf4d95a59262ddd867a02573a20af3f6 /test/functional/helpers.lua | |
parent | aa07d06bf44b3931c04bb1db5043c0fbe30548f4 (diff) | |
download | rneovim-5a111c1b02bbfbc2b42df11d7205153be0893dff.tar.gz rneovim-5a111c1b02bbfbc2b42df11d7205153be0893dff.tar.bz2 rneovim-5a111c1b02bbfbc2b42df11d7205153be0893dff.zip |
feat(defaults): map Y to y$ #13268
rationale:
- consistent with D and Y
- long recommended by Vim's own ":help Y"
close #13268
close #416
ref #6289
Diffstat (limited to 'test/functional/helpers.lua')
-rw-r--r-- | test/functional/helpers.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/functional/helpers.lua b/test/functional/helpers.lua index 03ef441ef3..c1f50adb10 100644 --- a/test/functional/helpers.lua +++ b/test/functional/helpers.lua @@ -41,7 +41,8 @@ module.nvim_set = ( ..' belloff= wildoptions-=pum noshowcmd noruler nomore redrawdebug=invalid') module.nvim_argv = { module.nvim_prog, '-u', 'NONE', '-i', 'NONE', - '--cmd', module.nvim_set, '--embed'} + '--cmd', module.nvim_set, + '--cmd', 'unmap Y', '--embed'} -- Directory containing nvim. module.nvim_dir = module.nvim_prog:gsub("[/\\][^/\\]+$", "") if module.nvim_dir == module.nvim_prog then |