aboutsummaryrefslogtreecommitdiff
path: root/Emacs
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2024-10-14 03:06:39 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2024-10-14 03:06:39 +0100
commitc7c8646fc6a68e0f64e5517ab35948124ce207c4 (patch)
tree950f4689e45299fd8d0d5a2ec205cce72582ea97 /Emacs
parentde80fa4426b4dbbf8896be1d522825768320c77f (diff)
downloaddotfiles-c7c8646fc6a68e0f64e5517ab35948124ce207c4.tar.gz
dotfiles-c7c8646fc6a68e0f64e5517ab35948124ce207c4.tar.bz2
dotfiles-c7c8646fc6a68e0f64e5517ab35948124ce207c4.zip
Some updates to Emacs config
Diffstat (limited to 'Emacs')
-rw-r--r--Emacs/.config/emacs/config.org10
1 files changed, 6 insertions, 4 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org
index 277114b..5be88af 100644
--- a/Emacs/.config/emacs/config.org
+++ b/Emacs/.config/emacs/config.org
@@ -399,7 +399,8 @@ set of examples on how to use general.
(nmmap
:keymaps 'override
"M-o" #'duplicate-dwim
- "M-;" #'eval-expression
+ "M-;" #'comment-dwim
+ "gC" #'comment-dwim
"g=" #'align-regexp
"C--" #'text-scale-decrease
"C-=" #'text-scale-increase
@@ -428,6 +429,8 @@ set of examples on how to use general.
(file-leader
"f" #'find-file
+ "P" (proc (interactive)
+ (find-file (concat user-emacs-directory "config.org")))
"F" #'find-file-other-window
"t" #'find-file-other-tab
"v" #'add-file-local-variable
@@ -1186,7 +1189,7 @@ Useful mechanism which works better than any vim motion.
"C-M-k" #'drag-stuff-up
"C-M-l" #'drag-stuff-right))
#+end_src
-** Searching git directories
+** Searching common directories
Using [[file:elisp/search.el][search.el]] I can search a set of
directories particularly efficiently.
@@ -1368,7 +1371,6 @@ the first character of the evil state capitalised"
(if (eq major-mode 'compilation-mode)
compilation-mode-line-errors))
" " ;; Right padding
-
))
:config
(better-mode-line/setup-mode-line))
@@ -1645,7 +1647,7 @@ from the remote server.
#+begin_src emacs-lisp
(use-package notmuch
- :straight t
+ :straight (notmuch :host github :repo "aclements/notmuch")
:defer t
:commands (notmuch +mail/flag-thread)
:general