Remap org-shiftmetaright | org-shiftmetaleft to [shift-select-meta]left-word | [shift-select-meta]right-word]

后端 未结 3 1544
日久生厌
日久生厌 2021-01-21 20:18

Could someone please give me a hand remapping org-shiftmetaright | org-shiftmetaleft to [shift-select-meta]left-word | [shift-select

3条回答
  •  梦毁少年i
    2021-01-21 20:51

    Believe it or not I wanted to do this also. I followed the above - I also re-bound those commands to the C- key:

    (eval-after-load "org"
    '(progn
     (define-key org-mode-map (kbd "") nil)
     (define-key org-mode-map (kbd "") nil)
     (define-key org-mode-map (kbd "") nil)
     (define-key org-mode-map (kbd "") nil)
     (define-key org-mode-map [C-S-right] 'org-shiftmetaright)
     (define-key org-mode-map [C-S-left] 'org-shiftmetaleft)
     (define-key org-mode-map [C-right] 'org-metaright)
     (define-key org-mode-map [C-left] 'org-metaleft)
     (define-key org-mode-map [C-S-return] 'org-insert-todo-heading)
     ))
    

提交回复
热议问题