From b0b4804c89f26095a2210499c43e1e7d42dac7db Mon Sep 17 00:00:00 2001 From: Jacopo De Simoi Date: Sun, 1 Jul 2018 07:15:12 +0200 Subject: [PATCH] Enable narrow commands --- global.org | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/global.org b/global.org index 7688234..4770dcc 100644 --- a/global.org +++ b/global.org @@ -282,6 +282,13 @@ (global-set-key (kbd "C-x k") 'kill-this-buffer) (global-set-key (kbd "C-S-v") 'scroll-down-command) #+END_SRC +** Disable commands + Enable narrow commands + #+BEGIN_SRC emacs-lisp + (put 'narrow-to-region 'disabled nil) + (put 'LaTeX-narrow-to-environment 'disabled nil) + (put 'narrow-to-page 'disabled nil) + #+END_SRC ** Smart beginning-of-line This is a relatively smart way to go back to the beginning of the line #+BEGIN_SRC emacs-lisp