Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Man I'm still vim only. I've tried these giant IDE apps, but just can't wing it.


You're getting downvoted but a legitimate question is if vim binding support is coming or is even possible in the extension framework? VS Code vim binding support is very buggy and breaks frequently, but otherwise works well. I could see myself switching if vim bindings were better on this because I think the sweet spot of editors is a nice GUI/project tree/etc. with vim bindings.


It's worth checking out if the Neovim VScode plugin[1] works for your workflow. It's not as mature, but was much smoother when I tested it out. I'm not able to make the change until they implement a "toggle vim mode" command available... but once they do I'll jump. Also check out Onivim[2]

1: https://marketplace.visualstudio.com/items?itemName=asvetlia... 2: https://www.onivim.io/


Interesting, thanks for the links! I use a pretty shallow set of vim features so even if it's minimal but more stable that would be a big boost.


> even possible in the extension framework

quickly looking at the docs, I see no support for keybinds without modifier keys or changing cursor shape, both of which are essential for decent vim emulation.


I agree. I like how light Vim is and its simple looks but I can understand why people may not like it. What I can't understand is how one can do without modal editing :D


You are some kind of special. I have heard tales of creatures like you, but they are very reclusive and tend to run back into the woods when spotted!

I am no vim ninja, but nor am I a vim novice. I can use it to write new utility scripts on remote servers, or updating existing files. However, when it comes to long coding sessions with multiple files in the package, I do enjoy a good UI with tabs and drag-n-drop.


I converted to IDEs when I was working on a humonguous enterprise Java application with thousands of classes, all with similar methods with slightly different signatures.

Also, because of the strong typing, the IDE knows which method is called where, and could thus support refactoring really well.

So if I wanted to change the name of the "save" method in one tree of 87 derived classes, but not the other 532 classes that also had a "save" method, then the IDE made that very easy. Of course, it changed the callers, too!


It depends on the language, but this works great for me in Neovim, using coc.nvim and the language server for whatever language I'm working on.


Yup, vim all day every day.


Provided you swapped ESC and Caps Lock, yes, I fully agree.

setxkbmap -option caps:swapescape


I'll keep my Ctrl on Caps Lock, thank you very much!


Do you actually go all the way up to ESC?


Ctrl-[


Of course. Thanks.


Bingo!


  inoremap kj <esc>


Wow, ok, never thought of that as a possible hack. Relying on the fact you won't ever use the kj combination. I'll keep that in the back of my head thanks.


I do the same (but with jj) and it's much better than escape. I do it with a bunch of symbols as well; e.g. years back when I was doing logic I'd use vim to take notes and bound AA to ∀.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: