Update dired-mode-map KBDs
- Ensure `"<SPC>"` is available for my "leader" KBDs - Define `"o"` as `#'dired-find-file-other-window`
This commit is contained in:
		
							parent
							
								
									df112d34b6
								
							
						
					
					
						commit
						37f8ca04f2
					
				
					 1 changed files with 5 additions and 3 deletions
				
			
		|  | @ -18,9 +18,11 @@ | ||||||
|         dired-dwim-target t) |         dired-dwim-target t) | ||||||
|   (general-define-key |   (general-define-key | ||||||
|    :keymaps 'dired-mode-map |    :keymaps 'dired-mode-map | ||||||
|    :states 'normal |    :states '(normal) | ||||||
|    "s" nil |    ;; Overriding some KBDs defined in the evil-collection module. | ||||||
|    "q" (lambda () (interactive) (kill-buffer nil)) |    "o" #'dired-find-file-other-window | ||||||
|  |    "<SPC>" nil ;; This unblocks some of my leader-prefixed KBDs. | ||||||
|  |    "s" nil ;; This unblocks my window-splitting KBDs. | ||||||
|    "c" #'find-file |    "c" #'find-file | ||||||
|    "f" #'wpc/find-file |    "f" #'wpc/find-file | ||||||
|    "-" (lambda () (interactive) (find-alternate-file ".."))) |    "-" (lambda () (interactive) (find-alternate-file ".."))) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue