3 ms·
I've always used Ctrl-[ instead of escape. it sends the same character code but keeps my hands at the home row. great for when you're on a roll and don't want
by tastythrowaway2 10y ago
I've always used Ctrl-[ instead of escape. it sends the same character code but keeps my hands at the home row. great for when you're on a roll and don't want to break your flow.
- hellofunk 10y agoWhich is why 'fd' as a key combo is even more useful than Ctrl-[. The keys are right there on the home row buttons themselves!
- x0x0 10y agobut f is one of the best commands in vim (fX finds the next instance of X on that line only; F does the same but backwards; t/T forward/backward search and put the cursor to the left of the next instance of the following char on that line). X is a char not a regex; f. will find the next period. if we use carat for cursor, this is a line of text ^ typing ft does this is a line of text ^ whereas tt would this is a line of text ^
- hellofunk 10y agoBut fd is for escaping insert mode. The commands you are talking about are not used in insert mode. That is the entire point of fd.