summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander.sulfrian@fu-berlin.de>2016-08-03 21:37:25 +0200
committerAlexander Sulfrian <alexander.sulfrian@fu-berlin.de>2016-08-03 21:39:12 +0200
commit3ad980893d3b5bda52eeb97d54403f5a83ef465a (patch)
tree8161efe9592423db0a94d4c0dfbd7a01f1917c17
parente7347b2cf48a6cce476852727ee7913d78f75f9d (diff)
downloademacs-3ad980893d3b5bda52eeb97d54403f5a83ef465a.tar.gz
emacs-3ad980893d3b5bda52eeb97d54403f5a83ef465a.tar.xz
emacs-3ad980893d3b5bda52eeb97d54403f5a83ef465a.zip
init: Unbind C-z if not running on a terminal
-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