I recently gave atom a try. Despite being too slow, there was one thing I liked: the way auto indent worked, basically everywhere.
I found here how to make Paste + Indent the default
in sublime text.
But I'd also like that the:
{ "keys": ["ctrl+shift+up"], "command": "swap_line_up" },
{ "keys": ["ctrl+shift+down"], "command": "swap_line_down" },
become swap_line_up_and_indent
so that if I have:
console.log('hello');
function() {
}
and I ctrl+shift+down
, I get:
function() {
console.log('hello'); // indented yai!!
}
Any chance?