Switch between tabs in Sublime Text Vintage mode

I know that we can achieve this in VIM using the nerdtree and gT and gt commands. But is there a way to achieve this behavior in Sublime Text Vintage mode?

+6
source share
3 answers

I don’t think that the Vintage mode is attached to gt , gt or anything other than Ctrl + Tab and Ctrl + Shift + Tab to do the same as gt and gt , regardless of whether you are in Vintage mode (INSERT or NORMAL) or not.

You know, there is a very simple way to find the shortcuts used by the application: just look at the menu bar. This is what I did for you, and it took less than 30 seconds.

+5
source

Or (for posterity), you can simply paste this into your keyboard layout file:

 { "keys": ["g", "t"], "command": "next_view", "context": [ { "key": "setting.command_mode", "operand": true }, { "key": "setting.is_widget", "operand": false } ] }, { "keys": ["g", "T"], "command": "prev_view", "context": [ { "key": "setting.command_mode", "operand": true }, { "key": "setting.is_widget", "operand": false } ] }, 
+28
source

Installing Vintageous on ST3 will give you much more than the default Vintage package.

+1
source

Source: https://habr.com/ru/post/908481/


All Articles