Vim for Humans
41–50 of 251 posts
Re: Vim for Humans
#42A little background. I am familiar with vi and use it only when I ssh into a server. But I never really felt it was more convenient or an improvement over a GUI based text editor or IDE on my development machine. Eg- gedit for simple text editing, Android Studio for android development, Atom for python coding. Everything works out of the box with minimal tweaking required. Genuine questions: -At what point on the lea…
diw to delete whole word.
yy then 5p to repeat the line 5 times instead of copy paste.
/ for search is really nice.
gg to go to the top or G to go to the bottom.
These things make it worth using vim for me. I use vim mode on all the editing programs (RStudio and VS Code)
Re: Vim for Humans
#43Working link where I can download the book? Link in OP isn't doing it.
Re: Vim for Humans
#44A little background. I am familiar with vi and use it only when I ssh into a server. But I never really felt it was more convenient or an improvement over a GUI based text editor or IDE on my development machine. Eg- gedit for simple text editing, Android Studio for android development, Atom for python coding. Everything works out of the box with minimal tweaking required. Genuine questions: -At what point on the lea…
Yes, it hurts my wrist. If I use it continuously for too long it becomes disabling. I use awesome window manager, tmux, vim, vimium browser plugins so that I never have to touch the mouse.
Keyboards hurt my wrists too but it's much more manageable.
I havn't measured actual speed/efficiency, but once I got used to keyboard shortcuts for everything using the mouse feels slow, clunky and inaccurate.
Re: Vim for Humans
#45Earlier quoted context omitted.
I kind of agree but vim's defaults are awful. Tim Pope has put together a good set of non-opinionated defaults which don't change key bindings or customize it otherwise [0]. I have a very similar vanilla setup with no plugins apart from syntax highlighting for some languages not included by default. [0] https://github.com/tpope/vim-sensible
That may be, but it's tough to use a customized vim on your local machine, and then switch to a stock install on a server somewhere, no?
The defaults are just bad, I recommend using vim-sensible or doing your own lean and mean vim config.
Re: Vim for Humans
#46Earlier quoted context omitted.
In emacs, at least, every command has a name. Anything you'd like to do can be searched using tab completion and a little guesswork, at first, by typing `alt-x` followed by the first couple letters of a plausible name for the thing you are trying to do. It's an extremely clumsy but totally workable way to get around if you only rarely need to edit a text file on a remote server. For example, if you highlight a sectio…
After a few months using Spacemacs, I moved to neovim, but took the idea of the space leader and "meaningful" mappings with me. I remapped the leader key to space, and created a bunch of sensible mappings: all my Markdown mappings are under m and so on. I left most of the normal mode movements at their defaults, though. It would be cool if someone could do a Spacevim vimrc or plugin.
Re: Vim for Humans
#47Earlier quoted context omitted.
After a few months using Spacemacs, I moved to neovim, but took the idea of the space leader and "meaningful" mappings with me. I remapped the leader key to space, and created a bunch of sensible mappings: all my Markdown mappings are under m and so on. I left most of the normal mode movements at their defaults, though. It would be cool if someone could do a Spacevim vimrc or plugin.
someone started a spaceneovim: https://github.com/Tehnix/spaceneovim https://www.reddit.com/r/neovim/comments/539oxk/spaceneovim/
Re: Vim for Humans
#48Re: Vim for Humans
#49Re: Vim for Humans
#50Earlier quoted context omitted.
That may be, but it's tough to use a customized vim on your local machine, and then switch to a stock install on a server somewhere, no?
Copy over one file (.vimrc) and you're done. If you use plugins, then copy them over with git or whatever. And my setup is very conservative so it's mild annoyance at worst. The defaults are just bad, I recommend using vim-sensible or doing your own lean and mean vim config.
For someone who is new to Vim, they wouldn't know if the controls are bad, or tough to learn e.g. using jkl; instead of arrow keys.