|
|
|
|
|
by antouank
3173 days ago
|
|
One thing I don't get, how do you navigate with hjkl when you're in insert mode? I've switched to neovim as my main editor months ago.
I like it, but I still use the arrows to navigate, or sometimes the `w` to jump words and `10j` to go 10 lines down for example. But I go in and out of insert mode all the time, and hjkl is not useful at all there.
So I never use hjkl to navigate. Never.
So how come most people use those as the main navigation? Am I missing something? |
|
jk are usefull for navigating lines, especially with 'dd' 'yy' and 'p'. hl are for navigating either within a word, or when dealing with a syntactic mess where the standard movements aren't very useful. Outside that, bwe and their capital variants are great. In text, so are ( and ).
Beyond that, I'd look into text objects. Things like ciw ca) or ci] are great for just doing what you want to do. (Change the word below the cursor, change an entire () expression, or change the inside of a [ expression).