From a51356739139777809c4d79e24356aa97f63db49 Mon Sep 17 00:00:00 2001 From: JSDurand Date: Sat, 15 Jan 2022 03:24:11 +0800 Subject: 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. --- init.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'init.el') diff --git a/init.el b/init.el index 0369728..d02b525 100644 --- a/init.el +++ b/init.el @@ -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. -- cgit v1.2.3-18-g5258