I would like to add the following custom key bindings to my Atom Editor.
- ctrl-j for insert newline
- ctrl-j for confirm for autocomplete.
I managed to add insert newline key binding by adding the below code to my keymap.cson file:
'atom-text-editor:not([mini])': 'ctrl-j': 'editor:newline'
I tried to add confirm for autocomplete as well, but couldn’t find the right one. The action I want to copy is done by
enter. Attached a screenshot for autocomplete what I am talking about here. How can I add it? Thanks!