5 ms·
The post is from 2010, today in 2019, I'd say that first step could be to install a vim extension in your already existing IDE/editor, VSCode and Idea have good
by alfonsodev 7y ago
The post is from 2010, today in 2019, I'd say that first step could be to install a vim extension in your already existing IDE/editor, VSCode and Idea have good enough vim plugins to start learning insert mode and moving around, and even allow you to search and replace :%s/termA/termB/g
You can also play Vim Adventures[1] if you want to be even more playful.
[1] https://vim-adventures.com/ https://vim-adventures.com/
- growt 7y agoThe vim extension for VSCode even has macro recording!
- StavrosK 7y agoUnfortunately I've found that vim modes for various editors are good enough to fool you so you keep using them, but not good enough to not frustrate you with the differences. In PyCharm, for example, I have no idea how to use any keyboard shortcuts with vim mode on, since vim then absorbs the keys pressed and I lose all keyboard access to the functionality.
- JNRowe 7y agoI have the same experience, but I'm yet to decide what is worse: weak vi-mode where it collapses straight away(no count support fex), or strong support where it fools you for long enough to catch you out when you're fully in the flow. My go-to example for strong support is emacs' evil-mode¹, it takes a lot for it to break down. For example, it even supports things like the expression register² but then requires an elisp expression. 1. https://bitbucket.org/lyro/evil/wiki/Home https://bitbucket.org/lyro/evil/wiki/Home 2. https://vimhelp.org/insert.txt.html#i_CTRL-R_%3D https://vimhelp.org/insert.txt.html#i_CTRL-R_%3D Edit: I'm pointing out where it has fallen down for me, not complaining that the devs haven't implemented a full vimscript interpreter to attach to that binding. I love evil.
- jplayer01 7y agoThe great thing about spacemacs/evil is that generally all the standard emacs bindings work how you'd expect them to. I can still M-x and get access to everything emacs.
- ej12n 7y agoSimply not true. Actually Jetbrains IDEs have IMO one of the best if not the best VIM emulations in all IDEs, IdeaVIM is awesome. For example, you can have your own custom "vimrc", they call it ".ideavimrc" which can also read your normal .vimrc but I prefer to keep it separate. Once in the .ideavimrc, ideavim has emulation for probably the most popular vim plugin (vim-surround) and also vim-multiple-cursor and commentary.vim plugins, you just have to enable them... set surround, etc... see more at: https://github.com/JetBrains/ideavim https://github.com/JetBrains/ideavim But to me the best part of it is doing my own keymappings to execute IDE actions which sometimes don't even have a shortcut or menu and are just accessible by "mouse" you can do stuff like: :map <leader>r :action Refactorings.QuickListPopupAction<CR> (refactor this popup) :map <leader>z :action ChangesView.Revert<CR> (git revert dialog) :map <leader>f :action Tool_External Tools_Flake8 (run flake8 external tool) supports imap, vmap as well in case u just want to trigger in those modes. etc... this will let you use the ANY IDE action with just the keyboard and most dialogs in jetbrains IDE support CTRL+N/P for next/prev navigation in panes... not to mention you can filter most of them just by typing whatever The fact IdeaVIM exists is probably the biggest reason I use and pay for Jetbrains IDEs, all the VIM goodness + IDE convenience.
- ShamelessC 7y agoI had no idea any of these features existed. In particular the story) support for vimrc and the surround plug in are game changers.
- mikorym 7y agoAnyone here who uses Nvim-R?