Sublime Forum

SublimeText3 line break keyboard shortcut

#1

What is the keyboard shortcut in SublimeText3 to manually enter a line break without executing the command option? In Rstudio I use Shift+Enter. In Excel I use Alt+Enter.

I know “Enter” yields a newline but I don’t want that. I want to continue wrapping on the current line - WITH - a line break.

0 Likes

#2

Do you want to add an escaped line feed \n into your text?

If yes, you could add the following key binding to your user settings.

	{
		"keys": ["shift+enter"],
	 	"command": "insert",
	 	"args": {"characters": "\\n"}
	},
0 Likes