summary refs log tree commit diff
path: root/emacs/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/init.el')
-rw-r--r--emacs/init.el12
1 files changed, 7 insertions, 5 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 8c7ea70..b332815 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -256,7 +256,7 @@ The misspelled word is taken from OVERLAY.  WORD is the corrected word."
 ;; Goto address mode makes urls and email address in a buffer clickable.  I want these clickable links to look like links, because that's what they are.  The two mouse face variables are what face is used on hover, which at the moment i ignore.  It might also be worth setting them to 'highlight.
 (use-package goto-addr
   :custom
-  (global-goto-address-mode t)
+  (global-goto-address-mode nil)
   (goto-address-mail-face 'link)
   (goto-address-mail-mouse-face 'highlight)
   (goto-address-url-face 'link)
@@ -508,10 +508,6 @@ The misspelled word is taken from OVERLAY.  WORD is the corrected word."
   (marginalia-max-relative-age most-positive-fixnum) ;; Always show the relative age of file
   )
 
-;; Completion at point on C-i
-(define-key input-decode-map [?\C-i] [C-i])
-(global-set-key (kbd "<C-i>") 'completion-at-point)
-
 ;; Minibuffer candidate completion
 ;; Display completion candidates vertically
 (use-package vertico
@@ -626,7 +622,13 @@ The misspelled word is taken from OVERLAY.  WORD is the corrected word."
   (isearch-repeat-on-direction-change t)
   (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)
+
 (global-set-key (kbd "C-x k") 'kill-current-buffer)
 
 ;; Window management