Removes dired bindings that interfere with windmove global kbds
This commit is contained in:
		
							parent
							
								
									5e5084311f
								
							
						
					
					
						commit
						53d106ee88
					
				
					 1 changed files with 5 additions and 1 deletions
				
			
		| 
						 | 
					@ -242,6 +242,10 @@
 | 
				
			||||||
  :init
 | 
					  :init
 | 
				
			||||||
  (load "~/.emacs.d/wc-dired-functions.el")
 | 
					  (load "~/.emacs.d/wc-dired-functions.el")
 | 
				
			||||||
  :bind (:map dired-mode-map
 | 
					  :bind (:map dired-mode-map
 | 
				
			||||||
 | 
					              ;; remove bindings that interfere with globally-set windmove bindings
 | 
				
			||||||
 | 
					              ("C-h" . nil)
 | 
				
			||||||
 | 
					              ("C-k" . nil)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
              ("e" . wdired-change-to-wdired-mode)
 | 
					              ("e" . wdired-change-to-wdired-mode)
 | 
				
			||||||
              ("c" . find-file)
 | 
					              ("c" . find-file)
 | 
				
			||||||
              ("RET" . dired-find-alternate-file)
 | 
					              ("RET" . dired-find-alternate-file)
 | 
				
			||||||
| 
						 | 
					@ -548,7 +552,7 @@
 | 
				
			||||||
(global-set-key (kbd "C-h") 'windmove-left)
 | 
					(global-set-key (kbd "C-h") 'windmove-left)
 | 
				
			||||||
(global-set-key (kbd "C-l") 'windmove-right)
 | 
					(global-set-key (kbd "C-l") 'windmove-right)
 | 
				
			||||||
(global-set-key (kbd "C-k") 'windmove-up)
 | 
					(global-set-key (kbd "C-k") 'windmove-up)
 | 
				
			||||||
(global-set-key (kbd "C-j") 'windmove-up)
 | 
					(global-set-key (kbd "C-j") 'windmove-down)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
;; Fullscreen settings
 | 
					;; Fullscreen settings
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue