Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;; org-mode kludges
- ;; This mode apparently remaps forward-sentence and backward-sentence, but only
- ;; for interactive. These wrappers will allow for key bindings to commands that
- ;; work as expected.
- (defun wrap-forward-sentence (&optional prefix)
- (interactive "p")
- (forward-sentence prefix))
- (defun wrap-backward-sentence (&optional prefix)
- (interactive "p")
- (backward-sentence prefix))
- (define-key org-mode-map (kbd "C-c s f") #'wrap-forward-sentence)
- (define-key org-mode-map (kbd "C-c s b") #'wrap-backward-sentence)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement