Execute and combine two+ commands with only a keystroke?


Hi…would be cool combine commands inside the keymap cson, for instance…I wish select the whole word under the coursor only pressing ctrl+w …atom has not this command but I can combine “editor:move-to-beginning-of-word” and editor:select-to-end-of-word and achieve this

I wish execute both commands with only a keystroke avoiding create a new extension and define these in the keymap config file…


See my Stack Overflow answer here:

I also added a link in the Best Practices FAQ.


thanks…this did the works!!..