Emacs config updates
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
|
||||
;; Remember recent files
|
||||
(recentf-mode 1)
|
||||
(setq recentf-max-menu-items 20)
|
||||
|
||||
;; Save what you enter into minibuffer prompts
|
||||
(setq history-length 25)
|
||||
@@ -19,23 +20,21 @@
|
||||
;; Enable repeat mode. Keymaps are defined through use-package's :repeat-map directive.
|
||||
(repeat-mode 1)
|
||||
|
||||
;; TODO - Decide whether to enable this
|
||||
;; (defalias 'yes-or-no-p 'y-or-n-p)
|
||||
;; Answer questions with y/n instead of yes/no
|
||||
(defalias 'yes-or-no-p 'y-or-n-p)
|
||||
|
||||
;; tabs are for monsters
|
||||
(setq-default indent-tabs-mode nil)
|
||||
(setq-default tab-width 4)
|
||||
(setq-default sentence-end-double-space nil)
|
||||
|
||||
;; TODO - keybindings
|
||||
;; automatically cleanup whitespace on save
|
||||
(add-hook 'before-save-hook 'whitespace-cleanup)
|
||||
|
||||
(use-package hl-todo
|
||||
:ensure t
|
||||
:init
|
||||
(global-hl-todo-mode))
|
||||
|
||||
;; TODO https://github.com/jdtsmith/outli
|
||||
|
||||
(use-package which-key
|
||||
:ensure t
|
||||
:init
|
||||
@@ -48,33 +47,10 @@
|
||||
;; ("h" . dired-up-directory)
|
||||
;; ("l" . dired-find-file)))
|
||||
|
||||
;; Treesitter
|
||||
;; TODO https://github.com/renzmann/treesit-auto
|
||||
|
||||
;; LSP
|
||||
;; TODO https://github.com/blahgeek/emacs-lsp-booster
|
||||
|
||||
;; TODO Use right-option as regular option on Mac
|
||||
;; (setq ns-alternate-modifier 'meta)
|
||||
;; (setq ns-right-alternate-modifier 'none)
|
||||
|
||||
;; TODO https://github.com/stsquad/emacs_chrome
|
||||
|
||||
;; TODO https://github.com/astoff/devdocs.el
|
||||
|
||||
;; TODO https://github.com/casouri/vundo
|
||||
;
|
||||
;; TODO https://karthinks.com/software/avy-can-do-anything/
|
||||
|
||||
(defun thoom/org-clear-all ()
|
||||
(interactive)
|
||||
(goto-char 0)
|
||||
(org-map-entries
|
||||
(lambda ()
|
||||
(org-todo "")))
|
||||
(flush-lines "CLOSED")
|
||||
(message "Entries cleared."))
|
||||
|
||||
;; (use-package dumb-jump
|
||||
;; :ensure t
|
||||
;; :config
|
||||
@@ -85,3 +61,6 @@
|
||||
:ensure t
|
||||
:config
|
||||
(direnv-mode))
|
||||
|
||||
(use-package explain-pause-mode
|
||||
:ensure (:host github :repo "lastquestion/explain-pause-mode"))
|
||||
|
||||
Reference in New Issue
Block a user