Skip to content

Comment on My Text Editor Journey: Vim, Spacemacs, Atom and Sublime Textparent

Comments

Could you tell me; don't you miss a mouse? Or a scrollwheel? Or alt-tabbing? Do you use a project panel wher you can see your files? Do you browse that with your keyboard?

I don't miss the mouse or scrollwheel at all when using vim. HJKL, as nice as it is, is probably the least efficient way to navigate code with vim. You're much better off navigating by word or by using / to just search for where you want to go. Having regex search just a single keypress away is amazingly powerful once you start really using it.

As far as alt-tabbing goes, I'm not sure what you mean. I alt-tab in and out of vim all the time. If you're having trouble with that, then perhaps something is wrong with your vim configuration.

I do not use a project panel to browse my files. That's IDE thinking. Vim is a text editor, not an IDE. Unix itself is the IDE. If you want to browse/navigate files, you should be using the shell, not vim. If you want you file browser and your text editor in the same window, you should be using screen, or tmux, rather than hacking additional panes onto vim.

I suspect your problem is that you're not using vim enough. Learning vim is much more like learning a musical instrument than it is like learning a programming language. You can't expect to master the piano if you only play one hour a month. Similarly you can't expect to master vim if you only use it to edit the odd config file on your server.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.