]> git.earman.xyz Git - emacsinit.git/commitdiff
Added binding for kill-whole-line and b/s on C-h (help on F1)
authorrearman <rearman@r717.net>
Thu, 8 Dec 2022 20:41:38 +0000 (15:41 -0500)
committerrearman <rearman@r717.net>
Thu, 8 Dec 2022 20:41:38 +0000 (15:41 -0500)
init.el

diff --git a/init.el b/init.el
index 3a2701967fdaf1954c6c61867316f6f6d2fb389a..991e30b8248e14a407160b6707025eb078dfbd21 100644 (file)
--- a/init.el
+++ b/init.el
              fill-column 80
              read-file-name-completion-ignore-case t
              read-buffer-completion-ignore-case t
-             cursor-type 'bar
+             cursor-type 'box
              cursor-in-non-selected-windows nil)
 
 ;; DEFUNS
@@ -257,8 +257,10 @@ Stolen from BrettWitty's dotemacs github repo."
 (global-set-key (kbd "C-c w") 'edit-work-eqs)
 ;; OVERRIDES
 (global-set-key [remap move-beginning-of-line] 'smart-beginning-of-line)
+(global-set-key (kbd "C-h") 'backward-delete-char-untabify)
 (global-set-key (kbd "M-j") 'backward-join-line)
 (global-set-key (kbd "M-J") 'join-line)
+(global-set-key (kbd "C-S-k") 'kill-whole-line)
 (global-set-key (kbd "C-o") 'open-line-below)
 (global-set-key (kbd "M-o") 'open-line-above)
 (global-set-key (kbd "M-s .") 'isearch-forward-thing-at-point)