Skip to content

gVim plugin for changing font/window size using keyboard or mousewheel.

License

Notifications You must be signed in to change notification settings

eggbean/resize-font.gvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

resize-font.gvim

Resizing gvim

(for Linux and Windows)

This plugin for gvim adds the ability to change font size (and therefore window size too) using the same methods used in most web browsers, terminal emulators and some other graphical text editors.

I may add Mac support if this plugin attracts any interest.

Usage

Mapping Action
Ctrl + = Increases text size
Ctrl + - Decreases text size
Ctrl + 0 Resets text to original size
Ctrl + mousewheel Resize text

In terminal vim or neovim the plugin exits and doesn't do anything.

Install

Plugin manager

Installation can be done via a plugin manager.

For vim-plug it's:

Plug 'eggbean/resize-font.gvim'

No plugin manager

If you don't use a plugin manager you can just place the script in...

~/.vim/plugin on Linux, or...

%USERPROFILE%\vimfiles\plugin on Windows.

Not working with your font?

This should work with all modern Unicode fonts, but if you find one which doesn't work tell me and I'll modify the regex. This is only likely to occur with Windows.

About

gVim plugin for changing font/window size using keyboard or mousewheel.

Topics

Resources

License

Stars

Watchers

Forks