diff options
-rw-r--r-- | emacs/.emacs.d/init.org | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index 7a5714b..68bc60a 100644 --- a/emacs/.emacs.d/init.org +++ b/emacs/.emacs.d/init.org @@ -336,6 +336,31 @@ Computing Environment". (setq-default truncate-lines t) #+END_SRC +*** Suspend + + The =C-z= key in a terminal suspends the current application to + the background and lets you do other things on the command line + without having to fully close the application. In GUI Emacs this + minimizes the current frame. I have no place for it to minimize to + (no task bar or anything), so this just freezes my frame. To + prevent this from happening I unbind the =C-z= key. + + #+BEGIN_SRC emacs-lisp + (global-unset-key (kbd "C-z")) + #+END_SRC + +*** Don't ask for yes or no + + One of the more annoying things can be when Emacs starts asking + for confirmation and you have to type in =yes= or =no=. I get that + this is to prevent you from accidentally performing an action, but + just =y= or =n= has since 2008 not made me accidentally perform + any action I didn't mean to. + + #+BEGIN_SRC emacs-lisp + (defalias 'yes-or-no-p 'y-or-n-p) + #+END_SRC + * Theme Load my personal theme. I sometimes change it to a different theme, |