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
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
("C-j" . nil))
|
||||
:hook ((org-mode . visual-line-mode))
|
||||
:custom
|
||||
(org-special-ctrl-a/e 'reversed)
|
||||
(org-todo-keywords '((sequence "TODO(t)" "BLOCKED(b)" "|" "DONE(d)")))
|
||||
(org-image-actual-width '(800)))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user