summary refs log tree commit diff
path: root/emacs/init.el
diff options
context:
space:
mode:
authornoa2025-02-17 01:21:05 +0800
committernoa2025-02-17 01:21:05 +0800
commit754b5eba18da71fe6d7e0a2f894199787108f413 (patch)
tree4d9b5670358b394fe9fd5a0fe04e7e6a256043e5 /emacs/init.el
parent7e2027a3651a4d5454c246f92c88f5e73d483433 (diff)
Update window management commands
Diffstat (limited to 'emacs/init.el')
-rw-r--r--emacs/init.el7
1 files changed, 2 insertions, 5 deletions
diff --git a/emacs/init.el b/emacs/init.el
index ee53100..42f340a 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -612,11 +612,8 @@ With prefix argument TIME, also add the current time."
   (isearch-wrap-pause 'no))
 
 ;; Make window management commands easier to press
-(global-set-key (kbd "M-o") 'other-window)
-(global-set-key (kbd "M-1") 'delete-other-windows)
-(global-set-key (kbd "M-2") 'split-window-below)
-(global-set-key (kbd "M-3") 'split-window-right)
-(global-set-key (kbd "M-0") 'delete-window)
+(use-package ace-window
+  :bind ([remap other-window] . ace-window))
 
 (global-set-key (kbd "C-x k") 'kill-current-buffer)