aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-03-26 05:04:57 +0800
committerGitHub <noreply@github.com>2024-03-26 05:04:57 +0800
commitfb4e2dbbebb25aae3cc303c030d21bfee850d274 (patch)
tree65d268ea84bc941a8405316361b0365ddbe32d7b /runtime
parent31c4cb23473a6e3a19a7986fae25c5bfc03b4eda (diff)
downloadrneovim-fb4e2dbbebb25aae3cc303c030d21bfee850d274.tar.gz
rneovim-fb4e2dbbebb25aae3cc303c030d21bfee850d274.tar.bz2
rneovim-fb4e2dbbebb25aae3cc303c030d21bfee850d274.zip
vim-patch:9.1.0205: Cannot use modifiers before :-Ntabmove (#28031)
Problem: Cannot use modifiers before :-Ntabmove. Solution: Check backwards from the command instead of checking from the start of the command line. Slightly adjust docs to make them more consistent (zeertzjq). closes: vim/vim#14289 https://github.com/vim/vim/commit/076faac5378cf517baa8c331c57488d39efadec0
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/tabpage.txt15
1 files changed, 7 insertions, 8 deletions
diff --git a/runtime/doc/tabpage.txt b/runtime/doc/tabpage.txt
index 49b2773253..649af628d6 100644
--- a/runtime/doc/tabpage.txt
+++ b/runtime/doc/tabpage.txt
@@ -187,7 +187,7 @@ gt *i_CTRL-<PageDown>* *i_<C-PageDown>*
:1tabnext " go to the first tab page
:$tabnext " go to the last tab page
:tabnext $ " as above
- :tabnext # " go to the last accessed tab page
+ :tabnext # " go to the last accessed tab page
:tabnext - " go to the previous tab page
:tabnext -1 " as above
:tabnext + " go to the next tab page
@@ -239,18 +239,17 @@ REORDERING TAB PAGES:
Move the current tab page to after tab page N. Use zero to
make the current tab page the first one. N is counted before
the move, thus if the second tab is the current one,
- `:tabmove 1` and `:tabmove 2` have no effect.
+ `:tabmove 1` and `:tabmove 2` have no effect.
Without N the tab page is made the last one. >
- :.tabmove " do nothing
- :-tabmove " move the tab page to the left
- :+tabmove " move the tab page to the right
- :0tabmove " move the tab page to the beginning of the tab
- " list
+ :.tabmove " do nothing
+ :-tabmove " move the tab page to the left
+ :+tabmove " move the tab page to the right
+ :0tabmove " move the tab page to the first
:tabmove 0 " as above
:tabmove " move the tab page to the last
:$tabmove " as above
:tabmove $ " as above
- :tabmove # " move the tab page after the last accessed
+ :tabmove # " move the tab page after the last accessed
" tab page
:tabm[ove] +[N]