-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
:wq doesn't do the right thing from org src buffers #43
Comments
Unable to reproduce. I tried the following:
(message "start-point")
(message "start-point")
(message "edit")
|
@Somelauw What I'm saying is I shouldn't have to press |
What I'm saying is I shouldn't have to press :w one more time to save the original org file
I see. Does #45 work for you?
|
Calling (define-key org-src-mode-map [remap evil-write] 'org-edit-src-save)
(define-key org-src-mode-map [remap evil-save-and-close]
(lambda () (interactive)
(org-edit-src-save)
(org-edit-src-exit)))
(define-key org-src-mode-map [remap evil-save-modified-and-close]
(lambda () (interactive)
(org-edit-src-save)
(org-edit-src-exit))) |
I'm running the following org-mode version
Does this still work when you run |
From an org src buffer,
:w
does save the original file, but:wq
just quits the buffer without saving the file.The text was updated successfully, but these errors were encountered: