aboutsummaryrefslogtreecommitdiff
path: root/Emacs/.config/emacs/config.org
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2022-01-06 00:47:37 +0000
committerAryadev Chavali <aryadev@aryadevchavali.com>2022-01-06 00:47:37 +0000
commitc248ab0852bebf1d0ae0d3a002d9e9ee55c97b2e (patch)
tree4165a051804365ccdb85d16f6c83d4136904978a /Emacs/.config/emacs/config.org
parent50acf591dc7a8a83431eb31f481bb4a52995fcc4 (diff)
downloaddotfiles-c248ab0852bebf1d0ae0d3a002d9e9ee55c97b2e.tar.gz
dotfiles-c248ab0852bebf1d0ae0d3a002d9e9ee55c97b2e.tar.bz2
dotfiles-c248ab0852bebf1d0ae0d3a002d9e9ee55c97b2e.zip
(Emacs)~tons of edits
I can't be bothered to annotate any of these. Thinking of making a new Emacs configuration as this one is unnecessarily bloated and I can't think of any other way to fix it.
Diffstat (limited to 'Emacs/.config/emacs/config.org')
-rw-r--r--Emacs/.config/emacs/config.org21
1 files changed, 17 insertions, 4 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org
index fd468ef..1194a53 100644
--- a/Emacs/.config/emacs/config.org
+++ b/Emacs/.config/emacs/config.org
@@ -1144,10 +1144,11 @@ the projectile command map for quick access.
:general
(leader "p" #'projectile-command-map)
:init
- (setq projectile-tags-command "ctags -Re -f \"%s\" %s \"%s\""))
+ (setq projectile-tags-command "ctags -R -f \"%s\" %s \"%s\""))
#+end_src
*** Counsel projectile
-Counsel projectile provides the ivy interface to projectile commands, which is really useful.
+Counsel projectile provides the ivy interface to projectile commands,
+which is really useful.
#+begin_src emacs-lisp
(use-package counsel-projectile
:after (projectile counsel)
@@ -1464,12 +1465,12 @@ are some corners I'd like to adjust).
(dired-mode-hook . dired-hide-details-mode)
(dired-mode-hook . auto-revert-mode)
:init
- (setq-default dired-listing-switches "-AFBl --group-directories-first")
+ (setq-default dired-listing-switches "-AFBl --sort=time --group-directories-first")
:general
(leader
:infix "d"
"f" #'find-dired
- "D" #'dired-other-frame
+ "D" #'+dired/maybe-frame
"d" #'dired-jump
"l" (proc (interactive) (find-dired "~/Text/PDFs/" "-iname 'cs[0-9][0-9][0-9].pdf' -or -iname 'ma[0-9][0-9][0-9]*.pdf'")))
:config
@@ -1488,6 +1489,12 @@ thumb, otherwise open the file."
(image-dired-display-thumb)
(find-file-other-frame filename))))
+ (defun +dired/maybe-frame (&optional ARG)
+ (interactive "P")
+ (if ARG
+ (call-interactively #'dired-other-frame)
+ (call-interactively #'dired)))
+
(general-def
:states '(normal motion)
:keymaps 'dired-mode-map
@@ -1854,6 +1861,9 @@ work for me given the various TeX utilities installed via Arch.
:after ledger-mode)
#+end_src
** Zone
+:PROPERTIES:
+:header-args:emacs-lisp: :tangle no
+:END:
Of course Emacs has a cool screensaver software.
#+begin_src emacs-lisp
@@ -2464,6 +2474,9 @@ book so it's useful to have some Emacs binds for it.
"sd" #'racket-send-definition))
#+end_src
** CSharp
+:PROPERTIES:
+:header-args:emacs-lisp: :tangle no
+:END:
I sometimes use C# when I'm bored or if I'm trying out a language
feature.
#+begin_src emacs-lisp