I also want to save the font size in my .emacs
file.
相关问题
- Symbol's function definition is void: declare-
- How can I set the SVN password with Emacs 23.1 bui
- how to Enumerate local fonts in silverlight 4
- Emacs shell: save commit message
- Scaling png font down
相关文章
- ess-rdired: I get this error “no ESS process is as
- Emacs/xterm color annoyance on Linux
- Loading custom font using JavaFX 8 and css
- Generating .afm from .ttf [closed]
- Vue Cli 3 Local fonts not loading
- Pipe less to Emacs
- Capturing the output of “diff” with org-babel
- emacs terminal mode: how to copy and paste efficie
From Emacswiki, GNU Emacs 23 has a built-in key combination:
The value is in 1/10pt, so 100 will give you 10pt, etc.
I use hydra package to control font increase/decrease contiguously by pressing
f2 + + + +
/f2 - - - -
, which means that pressf2
once, and then using+
/-
to control only, and restore default font size byf2 0
. Because i have keypad, so I also bind keypad to the font setting.And modern editor mouse control functionality supported by below key bindings, press control + mouse wheel to increase/decrease font.
In NTEmacs 23.1, the Options menu has a "Set default font..." option.
Aquamacs:
From the Emacs Wiki Globally Change the Default Font, it says you can use either of these:
Where
FONT
is something like"Monaco-16"
, e.g.:There was an extra closing parenthesis in the first suggestion on the wiki, which caused an error on startup. I finally noticed the extra closing parenthesis, and I subsequently corrected the suggestion on the wiki. Then both of the suggestions worked for me.
In AquaMacs
CMD +
andCMD -
adjust the font size for the current buffer.