summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--init.d/main.org11
1 files changed, 11 insertions, 0 deletions
diff --git a/init.d/main.org b/init.d/main.org
index ce7659f..1b3ff88 100644
--- a/init.d/main.org
+++ b/init.d/main.org
@@ -421,6 +421,17 @@ that points to a file under version control.
(setq vc-follow-symlinks t)
#+end_src
+*** Unbind C-z, if not running in terminal
+
+C-z is a relict from terminal programms to suspend the currently
+running programm. It is not needed under X11 and the gui will freeze,
+if you press it by accident.
+
+#+begin_src emacs-lisp
+(when window-system
+ (global-unset-key (kbd "C-z")))
+#+end_src
+
** Visual
*** Window configuration