Good feedback, thanks! Those will do slightly different things, as o and O will leave you in insert mode. But they are also useful things to know. Thanks for sharing!
Certainly but as othniel points out (in a rather... colourful manner), two keystrokes in standard Vim gets you the same effect.
So the question is why is [<space> better than o<esc>?
I suppose it's very slightly more mnemonic, '[' is a bit like a really blunt arrow pointing before, and <space> brings whitespace to mind?
The ergonomics are better, as escape is a long way away but the gap is closed a bit if you use Ctl-C or Ctl-[ to get back to normal mode, and they're very comparable if you have Caps Lock mapped to something that gets you back to normal mode.
(myself I have Caps Lock mapped to compose, but one can't have everything I suppose...)
O expects you to insert stuff. If you do not want to insert and just stay on the line, this can save you keystrokes. I can also see this used better in macros and scripts than o/O.
Hmm, personally I'd prefer not to use a plugin when I can achieve the same thing with 'o' and 'O'.
Good feedback, thanks! Those will do slightly different things, as o and O will leave you in insert mode. But they are also useful things to know. Thanks for sharing!
Certainly but as othniel points out (in a rather... colourful manner), two keystrokes in standard Vim gets you the same effect.
So the question is why is [<space> better than o<esc>?
I suppose it's very slightly more mnemonic, '[' is a bit like a really blunt arrow pointing before, and <space> brings whitespace to mind?
The ergonomics are better, as escape is a long way away but the gap is closed a bit if you use Ctl-C or Ctl-[ to get back to normal mode, and they're very comparable if you have Caps Lock mapped to something that gets you back to normal mode.
(myself I have Caps Lock mapped to compose, but one can't have everything I suppose...)
Thanks a lot! The plugin is very cool and this is just one of it's sensible features
Not useful. If I want to add a line after or before the line the cursor is currently on:
why shouldn't I use the normal vim commands o<esc> or O<esc> respectively
boo hiss.
Thanks for the feedback!
O expects you to insert stuff. If you do not want to insert and just stay on the line, this can save you keystrokes. I can also see this used better in macros and scripts than o/O.