Simplify mwim config and prioritize beginning-of-line
C-a C-k is too ingrained for starting in mid-line
This commit is contained in:
@@ -4,17 +4,11 @@
|
||||
:ensure t
|
||||
:bind (([remap move-beginning-of-line] . mwim-beginning)
|
||||
([remap move-end-of-line] . mwim-end))
|
||||
:init
|
||||
(defun thoom/mwim-org-heading-beginning ()
|
||||
(mwim-point-at
|
||||
(move-beginning-of-line nil)
|
||||
(skip-syntax-forward "_ " (line-end-position))))
|
||||
:config
|
||||
(setq mwim-beginning-position-functions
|
||||
'(thoom/mwim-org-heading-beginning
|
||||
mwim-code-beginning
|
||||
mwim-comment-beginning
|
||||
mwim-line-beginning)))
|
||||
:custom
|
||||
(mwim-beginning-position-functions
|
||||
'(mwim-line-beginning
|
||||
mwim-code-beginning
|
||||
mwim-comment-beginning)))
|
||||
|
||||
;; Allow movement during isearch
|
||||
;; C/M-v move to next/previous match not currently visible
|
||||
|
||||
Reference in New Issue
Block a user