Sublime Forum

ST2: How to use tab to move to the next entry?

#1

Hi, I am a beginner to ST2.
Now i try to figure out how to use tab to move to the next entry.
e.g


if i hit tab, it will move to fore entry.
I miss supertab for vim which provides this function

Thank you!

0 Likes

#2

I figured it out, postit here for others:

   { "keys": "tab"], "command": "move", "args": {"by": "lines", "forward": true},"context":

		
			{ "key": "auto_complete_visible", "operator": "equal", "operand": true }
		]
	},

	{ "keys": "tab"], "command": "move", "args": {"by": "lines", "forward": true},"context":

		
			{ "key": "panel_visible", "operator": "equal", "operand": true }
		]
	}
0 Likes

#3

I used the following key binding for moving down and up using tab and shift+tab respectively.

	{ "keys": ["tab"], "command": "move", "args": {"by": "lines", "forward": true}, "context": [
		{
			"key": "auto_complete_visible",
			"operand": true,
			"operator": "equal"
		}
	] },
	{ "keys": ["shift+tab"], "command": "move", "args": {"by": "lines", "forward": false} },
0 Likes