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 /src/nvim/testdir | |
| 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 'src/nvim/testdir')
| -rw-r--r-- | src/nvim/testdir/setup.vim | 1 | ||||
| -rw-r--r-- | src/nvim/testdir/test_autocmd.vim | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/testdir/setup.vim b/src/nvim/testdir/setup.vim index fcbc28fdc0..e8f6e74311 100644 --- a/src/nvim/testdir/setup.vim +++ b/src/nvim/testdir/setup.vim @@ -21,6 +21,7 @@ set undodir^=. set wildoptions= set startofline set sessionoptions+=options +unmap Y " Prevent Nvim log from writing to stderr. let $NVIM_LOG_FILE = exists($NVIM_LOG_FILE) ? $NVIM_LOG_FILE : 'Xnvim.log' diff --git a/src/nvim/testdir/test_autocmd.vim b/src/nvim/testdir/test_autocmd.vim index ad28118f16..c8138e5ca9 100644 --- a/src/nvim/testdir/test_autocmd.vim +++ b/src/nvim/testdir/test_autocmd.vim @@ -1955,7 +1955,7 @@ func Test_autocmd_sigusr1() let g:sigusr1_passed = 0 au Signal SIGUSR1 let g:sigusr1_passed = 1 - call system('/bin/kill -s usr1 ' . getpid()) + call system('kill -s usr1 ' . getpid()) call WaitForAssert({-> assert_true(g:sigusr1_passed)}) au! Signal |