Variable: org-special-ctrl-k

org-special-ctrl-k is a customizable variable defined in org.el.gz.

Value

nil

Documentation

Non-nil means that C-k (org-kill-line) will behave specially in headlines.

When nil, C-k (org-kill-line) will call the default kill-line command. Otherwise, the following will happen when point is in a headline:

- At the beginning of a headline, kill the entire line.
- In the middle of the headline text, kill the text up to the tags.
- After the headline text and before the tags, kill all the tags.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org.el.gz
(defcustom org-special-ctrl-k nil
  "Non-nil means that \\<org-mode-map>\\[org-kill-line] \
will behave specially in headlines.

When nil, \\[org-kill-line] will call the default `kill-line' command.
Otherwise, the following will happen when point is in a headline:

- At the beginning of a headline, kill the entire line.
- In the middle of the headline text, kill the text up to the tags.
- After the headline text and before the tags, kill all the tags."
  :group 'org-edit-structure
  :type 'boolean)