Timeline for Does Vim have functionality similar to tmux's `display-panes` command for selecting (goto) a specific window by number?
Current License: CC BY-SA 4.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 10, 2020 at 10:09 | vote | accept | Shuzheng | ||
Apr 8, 2020 at 13:06 | history | edited | Martin Tournoij | CC BY-SA 4.0 |
deleted 80 characters in body
|
Apr 8, 2020 at 12:27 | comment | added | dedowsdi |
@filbranden Window number is determined by layout, it's totally possible to number window by top-left , top-right , bottom-left , bottom-right . See end of vi.stackexchange.com/a/22545/5017 for an example.
|
|
Apr 8, 2020 at 11:17 | comment | added | filbranden |
@Shuzheng If you know the window number (for instance by including it in the status line, like Martin suggests), then you can use <count> CTRL-W w to jump to that window directly. Even if you don't have the number in the status line, windows are numbered from top-left to bottom-right, so you should be able to count to the one you would like to jump too...
|
|
Apr 8, 2020 at 11:08 | comment | added | Shuzheng |
@filbranden - Thank you. But there is no way to jump to a specific window except using Ctrl-w h , Ctrl-w j , ...?
|
|
Apr 8, 2020 at 10:29 | comment | added | filbranden |
@Shuzheng You can use CTRL-W p to jump to the last visited window, which will effectively jump between two windows when used repeatedly.
|
|
Apr 8, 2020 at 9:28 | comment | added | Shuzheng | Thank you. Do you know of any approximate functionality, like labeling windows and then moving to a window by its label, or is there a command for moving to the last-visited window (i.e., jump between two windows)? | |
Apr 8, 2020 at 7:21 | history | answered | Martin Tournoij | CC BY-SA 4.0 |