When I create a tag next to a heading it aligns and moves to the right but not as far as I'd like.
How can I make sure the tags are aligned further away from the heading?
Thanks.
I use tags to classify certain important items in my notes and TODO lists so that I can later pull up a list of all of those items together when I need to find one (or when I want to see a cross-section of data). A tag in Org Mode is just a word surrounded by colons, appearing on the same line as the item's headline.
Elegant Markup Org mode is routinely used to build and manage complex workflows. It does this using an elegantly simple syntax that scales from basic markup to full LaTeX typesetting and from plain text notes to literate programs. Everything you need to get started is demonstrated in the example.
Links in Org are plain text, and you can type or paste them straight into the buffer. By using this command, the links are automatically enclosed in double brackets, and you will be asked for the optional descriptive text.
' ( 'find-tag' ) – find a tag, that is, use the Tags file to look up a definition. If there are multiple tags in the project with the same name, use ` C-u M-. ' to go to the next match. 'M-x find-tag-other-window' – selects the buffer containing the tag's definition in another window, and move point there.
In Emacs 23.3.1 (Org-mode version 6.33x), tags for a heading are right-aligned in accordance with the org-tags-column
variable.
You can use M-x customize-variable
RET org-tags-column
RET to change this to suit your requirements.
I know this is an oldie, but I just figured out this snippet that works like a charm in my i3wm setup so I might as well share it with everyone.
(add-hook 'focus-in-hook
(lambda () (progn
(setq org-tags-column (- 5 (window-body-width)))) (org-align-all-tags)))
(add-hook 'focus-out-hook
(lambda () (progn
(setq org-tags-column (- 5 (window-body-width)))) (org-align-all-tags)))
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With