From 3ad980893d3b5bda52eeb97d54403f5a83ef465a Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Wed, 3 Aug 2016 21:37:25 +0200 Subject: init: Unbind C-z if not running on a terminal --- init.d/main.org | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 -- cgit v1.2.3