feat(config): Improve dired, keybindings, terminal UI and add packages
- Add dired buffer killing and custom dirvish layout toggle - Replace ido with fido-mode in terminal config - Add custom terminal color theme with 24-bit color support - Add new packages: tokei, helpful, gptel-magit - Refactor project keybindings under C-x p prefix - Add mwim navigation bindings globally - Improve ibuffer filter groups and consult buffer filters - Add diff-mode keybindings and refine magit diff display
This commit is contained in:
@@ -108,12 +108,21 @@ Disable jinx-mode if it's enable and global-jinx-mode is disable , otherwise tog
|
||||
(interactive)
|
||||
(align-regexp (region-beginning) (region-end) "\\(\\s-*\\)::" 1 1 nil))
|
||||
|
||||
(defun my/dired-next-line()
|
||||
(defun my-dired-next-line()
|
||||
"Move to forward line in dired buffer"
|
||||
(interactive)
|
||||
(forward-line 1)
|
||||
(dired-move-to-filename))
|
||||
|
||||
(defun my-dirvish-layout-toggle ()
|
||||
"Toggle layout using first recipe in `dirvish-layout-recipes' instead of fallback."
|
||||
(interactive)
|
||||
(let ((dv (dirvish-curr)))
|
||||
(unless dv (user-error "Not a dirvish buffer"))
|
||||
(unless (dv-curr-layout dv)
|
||||
(setf (dv-ff-layout dv) (car dirvish-layout-recipes)))
|
||||
(dirvish-layout-toggle)))
|
||||
|
||||
(defun my-magit-toggle-parent-section ()
|
||||
"Toggle parent magit section."
|
||||
(interactive)
|
||||
|
||||
Reference in New Issue
Block a user