News for hackers. Stuff that matters.
Re:Vim After 11 Years by johncoltrane on Tuesday February 19, 2013 @12:54PM (#5245812)
All of that can be done much more efficiently without the mouse:

- scrolling with a mouse wheel

    :h scroll.txt
- selecting/resizing a split window

    :h window-resize
    :h window-move-cursor
- jumping to a specific place in the code

    /foo<CR> 
or the myriad of cool things in

    :h motion.txt
- making a selection

    v{motion}
Re:Vim After 11 Years by JadeNB on Tuesday February 19, 2013 @01:26PM (#5246032)
> All of that can be done much more efficiently without the mouse:

Surely we don't need to get into this sort of thing here.

If you don't know how to do it without the mouse, then it's more efficient to do it with the mouse. If you don't remember how to do it without the mouse, then it's more efficient to do it with the mouse. If you just like using the mouse better, then ….

Anyway, and perhaps more importantly, it doesn't hurt any of us if anyone else values ease of use (even if it's illusory or temporary!) over efficiency.

Re:Vim After 11 Years by johncoltrane on Tuesday February 19, 2013 @03:20PM (#5246807)
It doesn't hurt these "anyone" to be pointed at better ways to do what they do.
Re:Vim After 11 Years by moe on Tuesday February 19, 2013 @09:34PM (#5248629)
There is no "better", young padawan.
Re:Vim After 11 Years by johncoltrane on Wednesday February 20, 2013 @03:10AM (#5249450)
Yes, there is. "Best" is a harder subject to tackle, but there's always "better".

di{ is obviously both quicker and more precise than reaching to the mouse, pointing at the beginning of the code block, extending the selection until the end of the code block and hitting backspace.

One may think these keybindings are awkward or hard to remember (I did, at first, they are not) but they are both faster, more efficient and more deterministic by nature. But I may be a control freak. :-)

Re:Vim After 11 Years by krichman on Wednesday February 20, 2013 @04:57AM (#5249648)
It's a subjective experience. I, too, prefer to use the keyboard as much as possible but I've also encountered doofuses that mock that position because the mouse is "so convenient" and "there's no way it's faster to use the keyboard entirely". So I guess their better is different from my better.
Re:Vim After 11 Years by moe on Wednesday February 20, 2013 @05:33AM (#5249746)
Good luck beaming your vim registers from a remote vim into the local clipboard.
Re:Vim After 11 Years by aerique on Wednesday February 20, 2013 @11:38AM (#5251400)
That's why I prefer to use my local Vim (Emacs with evil-mode) and its remote editing features (Tramp).
Re:Vim After 11 Years by coldtea on Tuesday February 19, 2013 @04:58PM (#5247332)
>All of that can be done much more efficiently without the mouse

No. All this can be made with an extra cognitive overload provided by the use of keyboard shortcuts that makes you think you're doing something useful and/or faster than with the mouse.

Especially if you don't need to have your hand at the keyboard at all times (i.e you're just browsing code and not writing), scrolling with the mouse is way faster.

Re:Vim After 11 Years by johncoltrane on Tuesday February 19, 2013 @05:08PM (#5247394)
Keyboard shortcuts give me precision and efficiency, not speed, and that cognitive overload you talk about is a small price to pay.
Re:Vim After 11 Years by mmorett on Wednesday February 20, 2013 @03:25AM (#5249480)
For you. But you don't get to make that decision for everyone else. Stop trying to impose your value system on others. It's clear you don't like using a mouse. Then don't. Keep using a 1970s keyboard if it suits you. Bon a petite.
Re:Vim After 11 Years by johncoltrane on Wednesday February 20, 2013 @10:56AM (#5251116)
Yes, openly criticizing someone's opinion (or in this case, simply stating another opinion) on a public forum is exactly the same as trying to impose my value system on that person.

By the way, you totally missed the "me" in

> Keyboard shortcuts give me precision and efficiency, not speed, and that cognitive overload you talk about is a small price to pay.

which quite clearly means that this is a subjective matter.

Thanks for helping policing the internet: we clearly don't need to debate about anything.

Re:Vim After 11 Years by jlgreco on Tuesday February 19, 2013 @01:41PM (#5246154)
I agree on most points, but there is no way that wacking Ctrl-W +/-/>/< is more pleasant than just moving either your index finger or your thumb a half an inch to use a trackpoint or trackpad and instantly get the window proportions you want.

You can of course make nicer mappings, but even then it isn't as nice.

Re:Vim After 11 Years by johncoltrane on Tuesday February 19, 2013 @03:17PM (#5246790)
All these commands take a count:

    10<C-w>
But I tend to keep windows at equal width anyway.
Re:Vim After 11 Years by jlgreco on Tuesday February 19, 2013 @03:51PM (#5246968)
I don't count columns, I resize to taste.

I also resize often, particularly when using vimdiff, because I often use smaller screens (either because I am watching other things in tmux panes at the same time, or because I am working on my eeepc).

Re:Vim After 11 Years by tomsthumb on Tuesday February 19, 2013 @02:27PM (#5246458)
bam

  "narrower window
  map - <C-W><
  "wider window
  map + <C-W>>
  "shorter window
  map _ <C-W>-
  "taller window
  map = <C-W>+