From 533761761a2b2dd377e5aa907ed0f300b2764965 Mon Sep 17 00:00:00 2001 From: Jacopo De Simoi Date: Thu, 27 Aug 2020 15:07:00 -0400 Subject: [PATCH] Make use of margins --- global.org | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/global.org b/global.org index 146b31e..258f951 100644 --- a/global.org +++ b/global.org @@ -131,6 +131,13 @@ #+BEGIN_SRC emacs-lisp ;(require 'highlight-sexps) #+END_SRC + Try to get along with large margins + #+BEGIN_SRC emacs-lisp + (setq-default left-margin-width 2 + right-margin-width 2) +; (set-window-buffer nil (current-buffer)) + #+END_SRC + ** Mouseless Disable mouse interaction with emacs #+BEGIN_SRC emacs-lisp @@ -1676,6 +1683,9 @@ (require 'helm-config) (helm-mode 1) + (defun fix-helm-margins () + (setq helm-left-margin-width left-margin-width)) + (global-set-key-alist '(("M-x" . helm-M-x) ("C-x C-f" . helm-find-files) @@ -1688,7 +1698,7 @@ (helm-define-key-with-subkeys helm-find-files-map (kbd "DEL") ?\d 'helm-ff-delete-char-backward '(([C-c DEL] . helm-ff-run-toggle-auto-update)) nil 'helm-ff-delete-char-backward--exit-fn) - + (add-hook 'helm-after-initialize-hook 'fix-helm-margins) #+END_SRC ** multiple-cursors #+BEGIN_SRC emacs-lisp