diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2022-07-05 13:54:03 +0800 |
|---|---|---|
| committer | zeertzjq <zeertzjq@outlook.com> | 2022-07-05 13:54:11 +0800 |
| commit | 936c11f9c871f3c8a6e26473b9f70e53dfb94bc3 (patch) | |
| tree | 5821583d59efa6f73e1e0edbbad0d23c14c3144b /src/nvim/testdir/setup.vim | |
| parent | d07a39c54b1ecd767590821601c33164df4ba3e0 (diff) | |
| download | rneovim-936c11f9c871f3c8a6e26473b9f70e53dfb94bc3.tar.gz rneovim-936c11f9c871f3c8a6e26473b9f70e53dfb94bc3.tar.bz2 rneovim-936c11f9c871f3c8a6e26473b9f70e53dfb94bc3.zip | |
test(old): use Q -> gQ mapping instead of changing test when possible
Diffstat (limited to 'src/nvim/testdir/setup.vim')
| -rw-r--r-- | src/nvim/testdir/setup.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nvim/testdir/setup.vim b/src/nvim/testdir/setup.vim index f1092af358..dfcde37f62 100644 --- a/src/nvim/testdir/setup.vim +++ b/src/nvim/testdir/setup.vim @@ -30,6 +30,10 @@ set switchbuf= mapclear mapclear! +" Make "Q" switch to Ex mode. +" This does not work for all tests. +nnoremap Q gQ + " Prevent Nvim log from writing to stderr. let $NVIM_LOG_FILE = exists($NVIM_LOG_FILE) ? $NVIM_LOG_FILE : 'Xnvim.log' |