Nicely done. A new or returning vimmer will profit from following his advice. His best recommendation is at the top: don't configure a lot of settings and plugins at first. Start with a minimal setup, and slowly work up from there when needed . In particular, don't copy someone's huge .vimrc. In fact, that's good advice for any tool or technology: start minimal, and only add what you need, when you know you need it.…
Out of curiosity, why would you suggest choosing from the default schemes? I picked my scheme from a downloaded bundle and then installed a plugin to make it work on a 256 colour terminal.
Vim: revisited
91–100 of 117 posts
Re: Vim: revisited
#92Earlier quoted context omitted.
One problem I had with Pathogen using git submodules (and presumably Vundle as well) was the inability to tweak my plugins. I wanted the ability to be able to modify several of the plugins I had installed and I couldn't figure out a nice way of doing this. In the end I opted for git subtrees but this also seems like an overcomplicated solution.
For tweaking plugins, you should use .vim/after/plugin/NAME.vim files. Otherwise, clone the repository, make your changes, and initiate a pull request.
Re: Vim: revisited
#93Earlier quoted context omitted.
Out of curiosity, why would you suggest choosing from the default schemes? I picked my scheme from a downloaded bundle and then installed a plugin to make it work on a 256 colour terminal.
Because that minimizes futzing around. Certainly if the colorscheme makes a difference to you, and you can't find one that satisfies you in the defaults, then you should try to find a better one, but I think you should try the defaults first. Trying to use what's already there is in keeping with minimizing the urge to "install all the things!"
Re: Vim: revisited
#94Why people always emphasis h/j/k/l when we already have arrow keys? Do you really waste a lot of time moving your fingers between them? Also, arrow keys work in insert mode.
Re: Vim: revisited
#95Re: Vim: revisited
#96"vim has two main modes, normal mode ... and the insert mode" i stopped reading here because i knew what was coming next. the omen was fulfilled by the next line: "in insert mode, now you type text as your normally would. Pressing exits back to normal mode." its command mode vs insert mode. any vi user should know that.. it's the very first thing vi bludgeons you with.
:help command-mode goes to the same place as :help normal-mode. I'd rather call it normal mode, because that isn't easily confused with the command-line mode.
Re: Vim: revisited
#97Earlier quoted context omitted.
I'm much faster in vim since I gave up (for the most part) on hjkl (arrow keys are banned for obvious badness). / ? # * combined with f and t are so much faster. The only time I use j/k is 10j/10k for looking through files. Hence, your question is somewhat misguided ;)
And what country is your keyboard from? Unless you mean you specifically use search for every motion...?
Re: Vim: revisited
#98Pro tip: after you paste code, it might not be indented correctly in the new context. You can select just pasted lines and autoindent them with V`]=. This should fix the indentation in most cases. A better alternative: issue the ":set paste" command just before pasting text. That way you keep the original indentation.
Re: Vim: revisited
#99Nicely done. A new or returning vimmer will profit from following his advice. His best recommendation is at the top: don't configure a lot of settings and plugins at first. Start with a minimal setup, and slowly work up from there when needed . In particular, don't copy someone's huge .vimrc. In fact, that's good advice for any tool or technology: start minimal, and only add what you need, when you know you need it.…
Re: Vim: revisited
#100critical: Map Caps Lock to control and use control-[ instead of escape. It's very easy to do on most OS's today and not having to move your hand from the home row when you switch into command mode is as big as proper use of jump commands imo. I also agree to avoid all massive .vimrc files. If you don't understand it, don't use it. Simple.