Six
Six copied to clipboard
Map ctrl+j to enter/<cr>/insert newline in insert mode
I've been trying to just copy the information from the enter keybinding from the default keybindings. I've also tried to just remap it as I have done with jj and esc. Nothing works.
Any idea how to solve this?
Thank you for an amazing plugin!
Ctrl+j is probably missing in the .sublime-keymap file for Six. Otherwise, what you've tried should work.
I'll check if I can add this combination in the next build.
Thank you! I solved it with a system wide keymap with Karabiner though.
@Mattiaslndstrm For now, you could try the following
{ "keys": ["ctrl+k"], "command": "run_macro_file", "args": { "file": "res://Packages/Default/Add Line Before.sublime-macro"}, "context": [{ "key": "six_is_in_insert_mode" }] },
{ "keys": ["ctrl+j"], "command": "run_macro_file", "args": { "file": "res://Packages/Default/Add Line.sublime-macro"}, "context": [{ "key": "six_is_in_insert_mode" }] },
The advantage of this small tweak is you don't have to use system-wide keybinding as you do with Karabiner.