Earlier quoted context omitted.
hjkl (not jkl;) are a) ergonomically bad because they are one key off of home row position and b) completely useless for anyone who types with a different keyboard such as Dvorak, and presumably some foreign language ones. also, HJKL actually IS the arrow keys... but it's the arrow keys from an ancient computer that no longer exists. People get all uppity about it being the "right" way but there's no logical argument…
Completely agree. Personally, I'm trying to spread the One True Way of ijkl navigation, but it's slow going...
Vim for Humans
131–140 of 251 posts
Re: Vim for Humans
#132Earlier quoted context omitted.
I don't use Vim because I have to due to limitations, I use it because it's a joy to use. What would you suggest people use instead?
I've been very happy with the IntelliJ, RubyMine, WebStorm family of IDEs. They have similar UIs to all the other modern software I use, doesn't require a learning curve to start typing, and have tons of features the vi/emacs people don't miss because they don't know they exist. I understand that it's hard for old timer to learn a new tool. I do not understand why they're still taught to beginner programmers.
I've used WebStorm quite a bit in an old job where it's use was mandated by management.
What I found was that lots the headline features didn't work for the hairy old JavaScript codebase and certainly didn't work as well as Tern + ctags.
E.g. navigating to method definitions fell back to a simple search when dealing with react.js modules. As did refactorings such as rename (provided by Tern).
Gulp/webpack/grunt do a better job at workflow tasks IMHO too.
I guess there was the debugger but it's not a patch on Chrome's debugger so why use it?
Re: Vim for Humans
#133It took me a while to realize what really vim is for. What led me to realization was switching to Emacs. I read this post, and second checkbox says "modern customizable IDE". And I stopped there. Why you may ask? Well, I used Vim for 3 years before trying Emacs this spring. And I loaded it with all the heavy plugins(YCM), but Emacs led me to realization that Vim is more of an editor than IDE. Even with plugins I thin…
I will add some of my own opinions: My feeling is that real value of Vim is its novel approach to modal text manipulation, and you shouldn't let the fact that it has a standalone lightweight reference implementation usefully installed on almost every machine that you use confuse you. Vim script is not a great plugin language, and the vim runtime itself is not fantastic at doing things beyond the text editing. I think…
Neovim is designed to be hosted (embedded). Embedding Neovim in a IDE (platform) allows Neovim to be the editor while exposing the IDE as "the platform".
It's also a guiding principle of Neovim to not dictate what applications are built with it, so yes, you can leverage its API as a platform. But that's not the singular purpose.
> I guess what I mean is that vim should be left as vim. There are superior platforms that implement the same interface,
There are no applications that implement Vim (except Neovim, which passes Vim's test suite).
Re: Vim for Humans
#134Re: Vim for Humans
#135I wish I could use vim or emacs. I don't know if I'm stupid or something but all of the key bindings, everything you have to remember, it just doesn't make sense to me. I wish there was something like nano + plugins. If I had that I could implement most of what I need (other then auto-completion for a crap load of languages).
Vim is very easy, I think it's just simple to get overwhelmed with it. There are a couple of tools which gamify Vim. I personally haven't used them. But some say they're pretty good. For me, what worked was just jumping in and going whole hog. I tried disabling the arrow keys in Normal Mode, so I would have to use hjkl for navigation. But my keyboard puts the arrow keys in easy reach (Kinesis Advantage), so it turned…
git checkout $(lw 5kyiW)
It's more of a toy than a power tool but I do use it somewhat regularly.Re: Vim for Humans
#136I've only skimmed this but there seems to be a focus on customizing and plugins from the get go. I think it's worth getting to know Vim "as is" before doing such things. Indeed there certainly some things that aren't the most useful or obvious but it's good to understand their original intent. Not to crap on the author of this but I'd recommend Drew Neil's Practical Vim over this (and pretty much every other Vim book…
Re: Vim for Humans
#137Earlier quoted context omitted.
C-[ is equivalent to , and is much more natural. I also bind caps lock to ctrl (setxkbmap -option ctrl:nocaps on a GNU/Linux system), which makes this all the more natural.
Remaping caps lock to ctrl changed my life on vim (amongst other things). I didn't know about C-[ though, i've been using C-c which is also an equivalent by default. On MacOS anyway.
C-[ is though, and because it's part of the terminal it'll work in other Vi like places like the command line (set -o vi) and ncurses.
Re: Vim for Humans
#138I've only skimmed this but there seems to be a focus on customizing and plugins from the get go. I think it's worth getting to know Vim "as is" before doing such things. Indeed there certainly some things that aren't the most useful or obvious but it's good to understand their original intent. Not to crap on the author of this but I'd recommend Drew Neil's Practical Vim over this (and pretty much every other Vim book…
I always thought that if I were ever to write a book on vim, I'd start with a thorough introduction to ed, followed by a thorough introduction to ex, finally followed by a thorough tutorial on all the features of plain-old vanilla vi, only then to introduce the vim parts and macros and graphics and things.
Re: Vim for Humans
#139Earlier quoted context omitted.
There's a plugin (can't remember the name of it right now) that lets you use mouse controls as well. Click where you want the cursor, scroll, click on which tab you want, etc. That was game over with Sublime for me.
I don't think you need a plugin for that? set mouse=a, unless I am missing something
Re: Vim for Humans
#140Earlier quoted context omitted.
C-[ is equivalent to , and is much more natural. I also bind caps lock to ctrl (setxkbmap -option ctrl:nocaps on a GNU/Linux system), which makes this all the more natural.
Why not just change caps-lock to esc. setxkbmap -option caps:escape
Of course you could map caps lock to be both ctrl and escape at the same time but C-[ is almost as good.