diff options
author | JSDurand <mmemmew@gmail.com> | 2022-01-15 03:24:11 +0800 |
---|---|---|
committer | JSDurand <mmemmew@gmail.com> | 2022-01-15 03:27:38 +0800 |
commit | a51356739139777809c4d79e24356aa97f63db49 (patch) | |
tree | 82e3344cac033d2c27d1527a17be263ea0a92ee7 /init.el | |
parent | 249de03acdc876eade36b873766dc176584dbab3 (diff) |
clean up things & go to parent in file name completion
* basic.el (durand-delete-goto-parent-dir)
(minibuffer-local-filename-completion-map): The DEL key goes to the
parent directory when the cursor is before a forward slash
representing a directory name. This is bound in the keymap that is
only used when completing file names.
* flymake-conf.el (flymake-mode-map): Bind keys to the s-m prefix.
Also clean up the file.
* init.el (eshell): Start tracking time immediately.
(global-map, prepare-flymake): Prepare loading flymake by a
keybinding.
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -259,7 +259,8 @@ no effect." ;;; Eshell (load-after-function eshell "eshell-conf.el" "Load Eshell and launch it." nil - (eshell)) + (eshell) + (eshell-start-track-command-time)) ;;; tab configurations @@ -321,6 +322,7 @@ no effect." (prefix-numeric-value current-prefix-arg))))) (define-key global-map (vector 3 ?v ?w) #'eww) +(define-key global-map (vector ?\s-w) #'eww) ;;; Viewing things @@ -329,6 +331,7 @@ no effect." ;;; flymake (prepare-in-hook-once prepare-flymake prog-mode-hook "flymake-conf.el") +(define-key global-map (vector ?\s-m) #'prepare-flymake) ;;; Don't let s-q quit as I oft press that by accident. |