comparison runtime/doc/tabpage.txt @ 34639:ceee63c7f7aa v9.1.0205

patch 9.1.0205: Cannot use modifiers before :-Ntabmove Commit: https://github.com/vim/vim/commit/076faac5378cf517baa8c331c57488d39efadec0 Author: zeertzjq <zeertzjq@outlook.com> Date: Mon Mar 25 16:41:06 2024 +0100 patch 9.1.0205: Cannot use modifiers before :-Ntabmove 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: #14289 Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Mon, 25 Mar 2024 16:45:06 +0100
parents 4635e43f2c6f
children 7b23db7ca750
comparison
equal deleted inserted replaced
34638:857eb73fb6a7 34639:ceee63c7f7aa
1 *tabpage.txt* For Vim version 9.1. Last change: 2022 Feb 02 1 *tabpage.txt* For Vim version 9.1. Last change: 2024 Mar 25
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
194 :+tabnext " go to the next tab page 194 :+tabnext " go to the next tab page
195 :+2tabnext " go to the two next tab page 195 :+2tabnext " go to the two next tab page
196 :1tabnext " go to the first tab page 196 :1tabnext " go to the first tab page
197 :$tabnext " go to the last tab page 197 :$tabnext " go to the last tab page
198 :tabnext $ " as above 198 :tabnext $ " as above
199 :tabnext # " go to the last accessed tab page 199 :tabnext # " go to the last accessed tab page
200 :tabnext - " go to the previous tab page 200 :tabnext - " go to the previous tab page
201 :tabnext -1 " as above 201 :tabnext -1 " as above
202 :tabnext + " go to the next tab page 202 :tabnext + " go to the next tab page
203 :tabnext +1 " as above 203 :tabnext +1 " as above
204 204
246 :tabm[ove] [N] *:tabm* *:tabmove* 246 :tabm[ove] [N] *:tabm* *:tabmove*
247 :[N]tabm[ove] 247 :[N]tabm[ove]
248 Move the current tab page to after tab page N. Use zero to 248 Move the current tab page to after tab page N. Use zero to
249 make the current tab page the first one. N is counted before 249 make the current tab page the first one. N is counted before
250 the move, thus if the second tab is the current one, 250 the move, thus if the second tab is the current one,
251 `:tabmove 1` and `:tabmove 2` have no effect. 251 `:tabmove 1` and `:tabmove 2` have no effect.
252 Without N the tab page is made the last one. > 252 Without N the tab page is made the last one. >
253 :.tabmove " do nothing 253 :.tabmove " do nothing
254 :-tabmove " move the tab page to the left 254 :-tabmove " move the tab page to the left
255 :+tabmove " move the tab page to the right 255 :+tabmove " move the tab page to the right
256 :0tabmove " move the tab page to the beginning of the tab 256 :0tabmove " move the tab page to the first
257 " list
258 :tabmove 0 " as above 257 :tabmove 0 " as above
259 :tabmove " move the tab page to the last 258 :tabmove " move the tab page to the last
260 :$tabmove " as above 259 :$tabmove " as above
261 :tabmove $ " as above 260 :tabmove $ " as above
262 :tabmove # " move the tab page after the last accessed 261 :tabmove # " move the tab page after the last accessed