mirror of
https://github.com/correl/dotfiles.git
synced 2024-11-21 19:18:41 +00:00
[emacs] Disable C-z in gui mode
This commit is contained in:
parent
b15bac27b6
commit
a7aab420d8
1 changed files with 11 additions and 0 deletions
|
@ -13,6 +13,17 @@ them in =init.el= by default).
|
|||
|
||||
(setf custom-safe-themes t)
|
||||
#+END_SRC
|
||||
* UX Improvements
|
||||
** Disable C-z backgrounding when the GUI is loaded
|
||||
|
||||
In OSX, this minimizes the window. It's incredibly annoying, and I accidentally
|
||||
hit it too much. I also can't think of any reason I'd want to background Emacs
|
||||
outside of a terminal session.
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
(if (display-graphic-p)
|
||||
(global-unset-key (kbd "C-z")))
|
||||
#+end_src
|
||||
* Dashboard
|
||||
#+begin_src emacs-lisp
|
||||
(defun my/choice (&rest things)
|
||||
|
|
Loading…
Reference in a new issue