Don't move cursor when realigning org tables
This commit is contained in:
parent
abe9f06350
commit
4cd56b46cc
1 changed files with 2 additions and 1 deletions
|
@ -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 ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue