mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Don't move cursor when realigning org tables
This commit is contained in:
@ -70,7 +70,8 @@
|
||||
(defun +org|realign-table-maybe ()
|
||||
"Auto-align table under cursor."
|
||||
(when (org-at-table-p)
|
||||
(org-table-align)))
|
||||
(save-excursion
|
||||
(org-table-align))))
|
||||
(add-hook 'evil-insert-state-exit-hook #'+org|realign-table-maybe nil t)
|
||||
|
||||
(defun +org|update-cookies ()
|
||||
|
Reference in New Issue
Block a user