Germanunkol wrote:Or is the idea to exit input mode, navigate, and then move back into input mode?
Actually, the idea is that you spend most of your time in normal mode, and have short bursts of "enter input mode, type something, press escape" in between.
And if you really want to be effective, you'll rarely use hjkl, because there are things like f, /, w and the like that are much more efficient than "going 10 characters to the right".
All right, I'm starting to get the hang of it, though navigation is still relatively slow. I'm not loving it yet - but that may be because I'm not far up the learning curve yet. I'll keep trying. There's some things that already got me hooked, like the :! command to get to the shell, or the b and w movement commands. Others seem to be placed well for english keyboards and not for my german one, and I'm hesistant to remap them atm (because then every time I switch to a different distro the layout will be changed again and I'll be lost...)
Anways, thanks guys!
I think the A command (capital A, "After the End Of Line") is the movement command that I use the most, followed by / (forward-find).
One of the features that I also make a lot of use of with vim is the macros. Vim records a macro (q command) to one of your named clipboards (you have 26, named a through z), and you play them back whenever (@ command). So, lets say you have to edit a file to change every function Class:method(params) signature to method = function(self, params), the macro which I just recorded now is this: wdexdwaself, <escape>bbbi<backspace>kb<escape>^Pa = <escape>0. Every line I type @a on now will be converted via that macro. Now, how did I come up with that Macro? easy, I just started recording with qa and then went about my normal editing (but carefully), and ended the recording with q.
The horror settles in that someone with Vim macros and an hour could probably replace a data entry clerk who takes 8 hours.
I use vim all the time and love it. Here are my hints:
Use XModMap to map caps lock to escape.
I also map : to ; and vice versa, but that's up to you.
You can use ":!love ." to run your current love file.
Set both number and relativenumber (If I remember the names correctly.) (http://www.jeffkreeftmeijer.com/2013/vi ... umber-mode)
Vim FTW
OBEY!!! My Blog UE0gbWUgd2l0aCB0aGUgd29yZCAnSE1TRycgYXMgdGhlIHN1YmplY3Q=
I second SublimeText, and the message is quite a bit more than 10 saves. Maybe something like 100. Which is nothing for such a feature packed editor. I do wish themes allowed for the coloring of the sidebar though. I use a dark theme, but it looks weird having a bright white sidebar when the rest of the window is black.