2013-08-09 66 views

Trả lời

8

Bạn có thể sử dụng các phương pháp được nêu chi tiết tại đây: http://vim.wikia.com/wiki/Change_font_size_quickly để tạo keybindings để thực hiện việc này cho bạn. (Mặc dù tôi gvim ngạc nhiên không hỗ trợ này ra khỏi hộp, MacVim làm với CMD + +)

+1

nhưng điều này chỉ hoạt động cho phiên bản gtk2 của vim. không phải là phiên bản chung. –

9

The font size of a a console-based vim is determined by the font size of the terminal. Vì vậy, thay đổi kích thước phông chữ vim có thể đạt được bằng cách changing font size of the terminal rằng vim được gọi là từ:

|Terminal emulators |  + font size  |- font size 
-------------------------------------------------------------------- 
| xterm   |Shift + Keypad Plus(+)|Shift + Keypad Minus(-) 
|     |Or control + mouse right click to choose the 
|     |desired font size. 
-------------------------------------------------------------------- 
| GNOME terminal |Control+Shift+Plus(+) |Control + Minus(-) 
|     |Do not use keypad. |Do not use keypad. 
-------------------------------------------------------------------- 
| Terminator  |Control+Shift+Plus(+) |Control+Minus(-) 
|     |Do not use keypad. |Do not use keypad. 
-------------------------------------------------------------------- 
| Konsole  |Control+Mouse Wheel |Control + Mouse Wheel 
|     |Scroll Up, or   |Scroll Down, or 
|     |Control + Plus(+)  |Control + Minus(-) 
-------------------------------------------------------------------- 
| lilyterm  | Control + Plus(+) |Control + Minus(-)  
-------------------------------------------------------------------- 
| xfce4-terminal | Right Click/Preferences/Appearance. 
|     | No keyboard or mouse shortcut. 
-------------------------------------------------------------------- 
| lxterminal  | Edit/Preferences/Style. 
|     | No keyboard or mouse shortcut. 
-------------------------------------------------------------------- 
| mlterm   | Control + Right click to bring up settings. 
|     |Encoding tab/Font Size. 
|     | No keyboard or mouse shortcut. 
-------------------------------------------------------------------- 
| kterm    | Control + Right click to bring up font size menu. 
-------------------------------------------------------------------- 
|rxvt-unicode(urxvt)|Issue printf command inside terminal window. 
|     |Eg: printf '\33]50;%s\007' "xft:DejaVu Sans Mono-8" 
|     |running this command inside flying vim is not  
|     |working. One has to quit vim and issue the commmand 
-------------------------------------------------------------------- 
Các vấn đề liên quan