Monday, January 13, 2014

Re: Do developers use vim exclusively or alternate with an IDE?

Excerpts from vim's message of Mon Jan 13 21:33:34 +0100 2014:
> On 2014-01-13 13:58, Ben Klein wrote:
> > There are probably cases in which it is indeed faster to use a
> > mouse, although I cannot think of any notable ones at the moment.
>
> The biggest use-case I have for using the mouse (it's a track-pad on
> a laptop, so it's faster to reach, but the speed/precision is more
> wanting than a real mouse) is adjusting the sizes of vim-window splits
> if I want a particular layout.
c-w 20_ or c-w 20| or such (with is terrible).

See line 18, 20:
https://github.com/MarcWeber/vim-addon-other/blob/master/plugin/vim-addon-other.vim

It allows m-w5 to resize to 50% or m-w8 to 80%.

Also take care about line 8 which maps c-w hjklq to "one hit" (might
cause trouble in vim) - line 28 remaps <esc> instead of <m->

I've added those hints to my wiki - feel free to add your own ideas:
http://vim-wiki.mawercer.de/wiki/tips/replacing-mouse-by-keyboard

Marc Weber

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment