Commit Graph

13 Commits

Author SHA1 Message Date
08787800a3 fix(macos): hide all child frames when toggling non-native fullscreen
For a couple of years now, there's been a bug on macOS with the
non-native fullscreen implementation. When enabling fullscreen, any
child-frames created by packages like lsp-ui, company-box, posframe,
etc. all re-appear on top of the fullscreened frame, and stay there
until you re-trigger whatever package/command that created the
childframe originally.

This works around this issue by simply closing all child frames when
toggling non-native fullscreen.
2023-05-23 23:04:52 +01:00
f5ce193239 feat(core): update font selection preferring Nerd Font Mono 2023-05-15 22:36:14 +01:00
a78e417e6f feat(icons): use nerd-fonts to display icons in terminals
Uses the new nerd-icons package to display icons in various places
similar to all-the-icons. But it works in a terminal too as long as the
terminal is using a Nerd Font.
2023-04-30 23:47:38 +01:00
f058bee1df feat(core/macos): add C-s-<return> alternative binding for fullscreen toggle 2023-03-23 01:35:54 +00:00
96d7d3cb63 chore(font): improve font setting logic with list of preferred fonts 2022-02-07 10:43:04 +00:00
b428d262ff feat(font): change default font "Menlo" to "Menlo Nerd Font Mono" 2022-01-29 01:51:03 +00:00
d6860c0fe5 fix(macos): disable ctrl+scroll emacs keybindings on macOS
Trackpad momentum can often lead to emacs trying to resize font size by
thousands of points. Hence let's disable it, as font size changes are
easy enough via C-x C-- and C-x C-=.
2022-01-16 03:36:45 +00:00
639f813ab0 feat(ui): change macOS GUI font from Monaco to Menlo
Also force-disable bold font-weights, as they're a bit annoying.
2021-06-17 20:25:27 +01:00
bda82a9c77 feat(macos): move files/folders to trash instead of deleting them on macOS
Use the osx-trash package to enable emacs' built-in trash support, which
seems to explicitly lack macOS support.
2020-09-27 19:45:37 +01:00
d80df8e2d4 fix(core): set default-directory correctly during startup on macOS 2020-08-16 14:21:01 +01:00
4b599de686 chore(macos): No longer trigger fullscreen on startup
Recent Emacs 27 builds use the native macOS fullscreen for the first
10-20 seconds after startup when `ns-use-native-fullscreen` is set to
nil during startup.

So instead of forcing emacs into fullscreen, just force maximize the
window on startup instead.
2020-02-22 23:48:35 +00:00
27df983568 chore(macos): Enable transparent window titlebar on macOS 2020-02-15 19:15:13 +00:00
79fbd5e371 chore(core): Improve macOS setup 2020-02-04 10:08:55 +00:00