Add variable to enable tool bar, menu bar, tool tips, and context menu.

This commit is contained in:
James Cherti
2024-08-19 09:55:01 -04:00
parent bca3c8df6a
commit 84ef25a9a3
3 changed files with 72 additions and 26 deletions

11
init.el
View File

@@ -215,6 +215,12 @@
;; which should quickly self-correct.
(setq fast-but-imprecise-scrolling t)
;;; Mouse
;; Emacs 29
(when (and (display-graphic-p) (fboundp 'context-menu-mode))
(add-hook 'after-init-hook #'context-menu-mode))
(setq hscroll-margin 2
hscroll-step 1
;; Emacs spends excessive time recentering the screen when the cursor
@@ -327,6 +333,11 @@
(setq line-number-mode t)
(setq column-number-mode t)
;;; Filetype
;; Do not notify the user each time Python tries to guess the indentation offset
(setq python-indent-guess-indent-offset-verbose nil)
;;; Load post-init.el
(minimal-emacs-load-user-init "post-init.el")