QOL tweaks

This commit is contained in:
Chris Cochrun 2021-05-28 20:25:21 -05:00
parent a7064f8007
commit ec2faa00f5
2 changed files with 36 additions and 10 deletions

View file

@ -348,6 +348,7 @@ This evil-collection package includes a lot of other evil based things.
"bd" '(kill-this-buffer :which-key "kill buffer")
"bi" '(ibuffer :which-key "ibuffer")
"tt" '(consult-theme :which-key "choose theme")
"tl" '(toggle-truncate-lines :which-key "truncate lines")
"ff" '(find-file :which-key "find file")
"fb" '((find-file ~/org/bibles/) :which-key "find bible book")
"fr" '(consult-recent-file :which-key "recent file")
@ -668,9 +669,14 @@ Ace link provides an avy like search for links. Upon using the keybindings prese
(display-buffer-pop-up-frame))
("*helpful*"
(display-buffer-pop-up-frame))
("*elfeed-entry*"
(display-buffer-pop-up-frame))
("*Bongo-Elfeed Queue*"
("\\*elfeed-entry\\*"
(display-buffer-in-side-window)
(side . bottom)
(window-height . 0.60))
("*Org Agenda(a)*"
(display-buffer-pop-up-frame)
(wait-for-wm . t))
("\\*Bongo-Elfeed Queue\\*"
(display-buffer-in-side-window)
(side . bottom)
(window-height . 0.25))))
@ -816,9 +822,10 @@ I'm making a small function in here to open files in the appropriate program usi
(chris/leader-keys
:states 'normal
:keymaps 'override
"od" '(dired-jump :which-key "open dired here"))
"od" '(dired-jump :which-key "open dired here")
"oD" '(dired :which-key "open dired here"))
(general-def 'normal dired-mode-map
"q" 'kill-this-buffer
"q" 'chris/kill-buffer-frame
"C-<return>" 'chris/dired-open-xdg))
#+end_src
@ -1033,6 +1040,11 @@ Part of this config includes some special capture templates for my work as a you
(setq org-agenda-window-setup 'other-frame)
(defun chris/org-agenda-awesome ()
"create a window in AwesomeWM that houses my org-agenda"
(interactive)
(org-agenda-list))
:general
(chris/leader-keys
:states 'normal
@ -1829,6 +1841,7 @@ interfere with the default `bongo-playlist-buffer'."
"u" 'bongo-unmark-region
"p" 'bongo-pause/resume
"H" 'bongo-switch-buffers
"q" 'bury-buffer
"m" 'chris/bongo-mark-line-forward))
#+end_src

23
init.el
View file

@ -216,6 +216,7 @@
"bd" '(kill-this-buffer :which-key "kill buffer")
"bi" '(ibuffer :which-key "ibuffer")
"tt" '(consult-theme :which-key "choose theme")
"tl" '(toggle-truncate-lines :which-key "truncate lines")
"ff" '(find-file :which-key "find file")
"fb" '((find-file ~/org/bibles/) :which-key "find bible book")
"fr" '(consult-recent-file :which-key "recent file")
@ -383,9 +384,14 @@ vertically."
(display-buffer-pop-up-frame))
("*helpful*"
(display-buffer-pop-up-frame))
("*elfeed-entry*"
(display-buffer-pop-up-frame))
("*Bongo-Elfeed Queue*"
("\\*elfeed-entry\\*"
(display-buffer-in-side-window)
(side . bottom)
(window-height . 0.60))
("*Org Agenda(a)*"
(display-buffer-pop-up-frame)
(wait-for-wm . t))
("\\*Bongo-Elfeed Queue\\*"
(display-buffer-in-side-window)
(side . bottom)
(window-height . 0.25))))
@ -475,9 +481,10 @@ vertically."
(chris/leader-keys
:states 'normal
:keymaps 'override
"od" '(dired-jump :which-key "open dired here"))
"od" '(dired-jump :which-key "open dired here")
"oD" '(dired :which-key "open dired here"))
(general-def 'normal dired-mode-map
"q" 'kill-this-buffer
"q" 'chris/kill-buffer-frame
"C-<return>" 'chris/dired-open-xdg))
(defun chris/dired-yank-filename ()
@ -667,6 +674,11 @@ vertically."
(setq org-agenda-window-setup 'other-frame)
(defun chris/org-agenda-awesome ()
"create a window in AwesomeWM that houses my org-agenda"
(interactive)
(org-agenda-list))
:general
(chris/leader-keys
:states 'normal
@ -1377,6 +1389,7 @@ interfere with the default `bongo-playlist-buffer'."
"u" 'bongo-unmark-region
"p" 'bongo-pause/resume
"H" 'bongo-switch-buffers
"q" 'bury-buffer
"m" 'chris/bongo-mark-line-forward))
(use-package transmission