diff --git a/.config/doom/config.el b/.config/doom/config.el index 3ed0971..ac5a7ee 100644 --- a/.config/doom/config.el +++ b/.config/doom/config.el @@ -107,8 +107,27 @@ :desc "Dired view file" "d v" #'dired-view-file))) ;; Make 'h' and 'l' go back and forward in dired. Much faster to navigate the directory structure! (evil-define-key 'normal dired-mode-map + (kbd "M-RET") 'dired-display-file (kbd "h") 'dired-up-directory - (kbd "l") 'dired-open-file) ; use dired-find-file instead if not using dired-open package + (kbd "l") 'dired-open-file ; use dired-find-file instead of dired-open. + (kbd "m") 'dired-mark + (kbd "t") 'dired-toggle-marks + (kbd "u") 'dired-unmark + (kbd "C") 'dired-do-copy + (kbd "D") 'dired-do-delete + (kbd "J") 'dired-goto-file + (kbd "M") 'dired-chmod + (kbd "O") 'dired-chown + (kbd "P") 'dired-do-print + (kbd "R") 'dired-rename + (kbd "T") 'dired-do-touch + (kbd "Y") 'dired-copy-filenamecopy-filename-as-kill ; copies filename to kill ring. + (kbd "+") 'dired-create-directory + (kbd "-") 'dired-up-directory + (kbd "% l") 'dired-downcase + (kbd "% u") 'dired-upcase + (kbd "; d") 'epa-dired-do-decrypt + (kbd "; e") 'epa-dired-do-encrypt) ;; If peep-dired is enabled, you will get image previews as you go up/down with 'j' and 'k' (evil-define-key 'normal peep-dired-mode-map (kbd "j") 'peep-dired-next-file diff --git a/.config/doom/config.org b/.config/doom/config.org index e2446e0..9de3879 100644 --- a/.config/doom/config.org +++ b/.config/doom/config.org @@ -197,6 +197,8 @@ Dired is the file manager within Emacs. Below, I setup keybindings for image pr | dired-find-file | /Go down in directory tree (or open if file)/ | l | | dired-next-line | Move down to next line | j | | dired-previous-line | Move up to previous line | k | +| dired-mark | Mark file at point | m | +| dired-unmark | Unmark file at point | u | ** Keybindings Within Dired With Peep-Dired-Mode Enabled | COMMAND | DESCRIPTION | KEYBINDING | @@ -216,8 +218,27 @@ Dired is the file manager within Emacs. Below, I setup keybindings for image pr :desc "Dired view file" "d v" #'dired-view-file))) ;; Make 'h' and 'l' go back and forward in dired. Much faster to navigate the directory structure! (evil-define-key 'normal dired-mode-map + (kbd "M-RET") 'dired-display-file (kbd "h") 'dired-up-directory - (kbd "l") 'dired-open-file) ; use dired-find-file instead if not using dired-open package + (kbd "l") 'dired-open-file ; use dired-find-file instead of dired-open. + (kbd "m") 'dired-mark + (kbd "t") 'dired-toggle-marks + (kbd "u") 'dired-unmark + (kbd "C") 'dired-do-copy + (kbd "D") 'dired-do-delete + (kbd "J") 'dired-goto-file + (kbd "M") 'dired-chmod + (kbd "O") 'dired-chown + (kbd "P") 'dired-do-print + (kbd "R") 'dired-rename + (kbd "T") 'dired-do-touch + (kbd "Y") 'dired-copy-filenamecopy-filename-as-kill ; copies filename to kill ring. + (kbd "+") 'dired-create-directory + (kbd "-") 'dired-up-directory + (kbd "% l") 'dired-downcase + (kbd "% u") 'dired-upcase + (kbd "; d") 'epa-dired-do-decrypt + (kbd "; e") 'epa-dired-do-encrypt) ;; If peep-dired is enabled, you will get image previews as you go up/down with 'j' and 'k' (evil-define-key 'normal peep-dired-mode-map (kbd "j") 'peep-dired-next-file diff --git a/.config/stumpwm/config b/.config/stumpwm/config index 514df6c..05973f3 100755 --- a/.config/stumpwm/config +++ b/.config/stumpwm/config @@ -17,18 +17,6 @@ (run-shell-command "xmodmap ~/.Xmodmap") (run-shell-command "./.config/herbstluftwm/panel.sh") -(defun show-kernel () - (let ((ip (run-shell-command "uname -r" t))) - (substitute #\Space #\Newline ip))) - -(defun show-hostname () - (let ((host-name (run-shell-command "cat /etc/hostname" t))) - (substitute #\Space #\Newline host-name))) - -(defun show-package-count () - (let ((host-name (run-shell-command "pacman -Q | wc -l" t))) - (substitute #\Space #\Newline host-name))) - (defvar color1 "#ff92d0") (defvar color2 "#282a36") @@ -185,7 +173,3 @@ (define-frame-preference "Shareland" (0 t nil :class "XTerm") (1 nil t :class "aMule")) - -(define-frame-preference "Emacs" - (1 t t :restore "emacs-editing-dump" :title "...xdvi") - (0 t t :create "emacs-dump" :class "Emacs"))