prank your friends: echo 'imap there is no escape ' >> ~/.vimrc
You'd still be able to use `C-[` though. (And I actually use it in Termux)
Vim 8.1
81–90 of 93 posts
Re: Vim 8.1
#82Earlier quoted context omitted.
Same here, I've been using Vim for a long time. The main reason is that I touch type and I really don't like to use the arrow keys. However, I really wonder if I'm really more productive using Vim rather standard shortcuts plus the trackpad.
I know im vim'ing wrong, but I just can't stop using arrow keys. Part of it is because I end up navigating around a little bit in insert mode sometimes, and switching between arrow keys for insert mode ans hjkl for other modes seems dumb. I don't have a problem using hjkl, I guess my problem is NOT needing to move around inside insert mode. Tips?
Ctrl-O
to issue single normal mode commands from insert mode. Most purists would say switch to normal mode to navigate, and by and large that's true (especially, IMHO, if you bind 'jk' to Esc which is much faster for a touch typist). However, insert mode does let you do this to avoid the arrow keys: inoremap
inoremap
inoremap
inoremap
Which some would say enforces 'bad' habits, but I reckon do whatever feels effective to you. If you do find yourself leaning on the direction keys for more than a few repeats, there's probably a faster way though!Re: Vim 8.1
#83Earlier quoted context omitted.
They all do pretty much the same, just implemented in different ways. The only reason I tell people that vim is the better choice (when starting from scratch) is that Vi is on every unix system and it is nice to be able to work on any machine. If you don't plan on using unknown machines, do whatever works best for you.
>Vi is on every unix system Except Debian's install CD. They only have nano.
Re: Vim 8.1
#84Earlier quoted context omitted.
Sure, but that's just one aspect. For me, it's the most meaningful one though.
I get it that you have your reasons to use Neovim more than Vim, and a large number of them is probably difficult to articulate, but framing it like Vim had no mode for selecting text visually is unfair.
It's a powerful primitive in Kakoune, from regex to multiple cursors. My vim knowledge on selection mode is quite limited however, so I can't directly compare them.
Can you just turn on selection mode and use that all the time? I may have to try that, as it sounds like you're suggesting it's a first class feature in Vim. Something I never got the feeling of.
Re: Vim 8.1
#85Man I wish I could switch back to Vim. GUI frontends for Neovim has made me want Vim so bad, but I just can't get away from Kakoune. The model of select first, action after (reverse of vim) is so so much better for me. Kakoune just gives me so much clarity over I'm doing at any one time. I guessed too frequently in vim :/.
The Qt "gui" front end for Neovim was pretty much indistinguishable from a terminal emulator, last time I tried it. I don't see the appeal in it. Kakoune looks pretty interesting on the other hand. It even has a Clippy. I'll be trying that one out!
I've been wanting to try and make a frontend for Kakoune, but for times sake, I wanted to leverage existing frameworks. If it's possible to write an editor in Qt, perhaps I should look it up.
Re: Vim 8.1
#86Earlier quoted context omitted.
I get it that you have your reasons to use Neovim more than Vim, and a large number of them is probably difficult to articulate, but framing it like Vim had no mode for selecting text visually is unfair.
I don't think visual selections in vim work the same as in kakoune though, do they? It's a powerful primitive in Kakoune, from regex to multiple cursors. My vim knowledge on selection mode is quite limited however, so I can't directly compare them. Can you just turn on selection mode and use that all the time? I may have to try that, as it sounds like you're suggesting it's a first class feature in Vim. Something I n…
I have no idea. I've never used Kakoune.
> Can you just turn on selection mode and use that all the time?
How would you use that? Have a text selected all the time or what?
Re: Vim 8.1
#87I want to learn Vim and tried several times (with vim modes form Intellij mainly) but failed under pressure to get actual things done. I see great potential and I know I have to sacrifice 1-2 month of productivity to get up to speed but I fail every time.
Use real vim, not emulators. Emulators all suck, and won't teach you the right habits. Vim is also extremely powerful when customized to your needs. Build your own setup over time. Start with vanilla vim and add to it over time. If anything annoys you and requires too much manual repetition, it can probably be automated and streamlined. Force yourself to use Vim for everything, and soon enough it'll be second nature.…
Re: Vim 8.1
#88Re: Vim 8.1
#89I want to learn Vim and tried several times (with vim modes form Intellij mainly) but failed under pressure to get actual things done. I see great potential and I know I have to sacrifice 1-2 month of productivity to get up to speed but I fail every time.
Re: Vim 8.1
#90Earlier quoted context omitted.
Same here, I've been using Vim for a long time. The main reason is that I touch type and I really don't like to use the arrow keys. However, I really wonder if I'm really more productive using Vim rather standard shortcuts plus the trackpad.
I know im vim'ing wrong, but I just can't stop using arrow keys. Part of it is because I end up navigating around a little bit in insert mode sometimes, and switching between arrow keys for insert mode ans hjkl for other modes seems dumb. I don't have a problem using hjkl, I guess my problem is NOT needing to move around inside insert mode. Tips?