diff options
author | Yuchen Pei <id@ypei.org> | 2023-07-19 09:27:53 +1000 |
---|---|---|
committer | Yuchen Pei <id@ypei.org> | 2023-07-19 09:27:53 +1000 |
commit | f2286d3d6e6779494c51da3e87aa82bb910ed0e0 (patch) | |
tree | d6e3f368d3c8d2818a086968cc076ec3806acf41 | |
parent | 183d9a4ae815fc3c1201b97e3d7ba405ac56b2c6 (diff) |
fixing kill line in org
-rw-r--r-- | emacs/.emacs.d/init/ycp-org.el | 2 | ||||
-rw-r--r-- | emacs/.emacs.d/lisp/my/my-org.el | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/emacs/.emacs.d/init/ycp-org.el b/emacs/.emacs.d/init/ycp-org.el index 85f91ae..d3c1d1e 100644 --- a/emacs/.emacs.d/init/ycp-org.el +++ b/emacs/.emacs.d/init/ycp-org.el @@ -35,7 +35,6 @@ "C-c a" #'org-agenda "C-c c" #'org-capture "<f6>" #'my-org-open-default-notes-file - "C-k" #'my-org-kill-line ) (setq org-startup-folded 'overview) (my-override org-next-link) @@ -43,6 +42,7 @@ (my-override org--mouse-open-at-point) (my-keybind org-mode-map "C-a" #'my-org-beginning-of-line-or-indent + "C-k" #'my-org-kill-line "M-l" #'org-insert-last-stored-link "M-n" #'org-next-link "M-p" #'org-previous-link diff --git a/emacs/.emacs.d/lisp/my/my-org.el b/emacs/.emacs.d/lisp/my/my-org.el index f9c3ce9..e03a91d 100644 --- a/emacs/.emacs.d/lisp/my/my-org.el +++ b/emacs/.emacs.d/lisp/my/my-org.el @@ -107,7 +107,7 @@ With a prefix, insert inactive dates. (org-beginning-of-line))) (defun my-org-kill-line (&optional arg) - "Call `org-kill-line', or `my-kill-forward' with a prefix arg." + "Call `org-kill-line', or `my-kill-forward' with a prefix arg." (interactive "P") (if arg (my-kill-forward) |