mirror of
				https://github.com/mhinz/vim-galore.git
				synced 2025-11-04 11:55:35 +08:00 
			
		
		
		
	Tips: quickly change font size in GUI
This commit is contained in:
		@@ -15,6 +15,7 @@ All notable changes to this project will be documented in this file.
 | 
			
		||||
- Tips: [Quickly add empty lines](README.md#quickly-add-empty-lines)
 | 
			
		||||
- Tips: [Quickly edit your macros](README.md#quickly-edit-your-macros)
 | 
			
		||||
- Tips: [Quickly jump to header or source file](README.md#quickly-jump-to-header-or-source-file)
 | 
			
		||||
- Tips: [Quickly change font size in GUI](README.md#quickly-change-font-size-in-gui)
 | 
			
		||||
- Tips: [Don't lose selection when shifting sidewards](README.md#dont-lose-selection-when-shifting-sidewards)
 | 
			
		||||
 | 
			
		||||
## [1.0] - 2016-01-06
 | 
			
		||||
 
 | 
			
		||||
@@ -22,6 +22,7 @@
 | 
			
		||||
- [Quickly add empty lines](#quickly-add-empty-lines)
 | 
			
		||||
- [Quickly edit your macros](#quickly-edit-your-macros)
 | 
			
		||||
- [Quickly jump to header or source file](#quickly-jump-to-header-or-source-file)
 | 
			
		||||
- [Quickly change font size in GUI](#quickly-change-font-size-in-gui)
 | 
			
		||||
- [Don't lose selection when shifting sidewards](#dont-lose-selection-when-shifting-sidewards)
 | 
			
		||||
 | 
			
		||||
#### [Debugging](#debugging-1)
 | 
			
		||||
@@ -409,6 +410,14 @@ autocmd BufLeave *.h       mark H
 | 
			
		||||
**NOTE**: The info is saved in the viminfo file, so make sure that `:set
 | 
			
		||||
viminfo?` includes `:h viminfo-'`.
 | 
			
		||||
 | 
			
		||||
#### Quickly change font size in GUI
 | 
			
		||||
 | 
			
		||||
I think this was taken from tpope's config:
 | 
			
		||||
```viml
 | 
			
		||||
command! Bigger  :let &guifont = substitute(&guifont, '\d\+$', '\=submatch(0)+1', '')
 | 
			
		||||
command! Smaller :let &guifont = substitute(&guifont, '\d\+$', '\=submatch(0)-1', '')
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
#### Don't lose selection when shifting sidewards
 | 
			
		||||
 | 
			
		||||
If you select one or more lines, you can use `<` and `>` for shifting them
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user