On 9/28/2010 6:16 AM, rameo wrote:
2) In Firefox, Chrome and other applications I use the Ctrl-scroll-up
to zoom in text and Ctrl-scroll-down to zoom out text. Is that
possible in vim (gvim) also?
I use the "Mapping Solution" section under:
http://vim.wikia.com/wiki/VimTip760

I use CTRL-Up and CTRL_Down (on Windows) to do this the same way that FireFox does CTRL+ and CTRL-.

nnoremap <C-Up> :silent! let &guifont = substitute(&guifont, ':h\zs\d\+', '\=eval(submatch(0)+1)', '')<CR> nnoremap <C-Down> :silent! let &guifont = substitute(&guifont, ':h\zs\d\+', '\=eval(submatch(0)-1)', '')<CR>


HTH,
Dave


--
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

Reply via email to