Skip to content
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

:w doesn't work anymore in org src buffers #59

Closed
jackkamm opened this issue Jun 30, 2019 · 2 comments
Closed

:w doesn't work anymore in org src buffers #59

jackkamm opened this issue Jun 30, 2019 · 2 comments

Comments

@jackkamm
Copy link

At some point in the past :w in an org src buffer would update and save the underlying org-file, but this hasn't worked for some time now, and now throws user-error: Please specify a file name for the buffer.

The following binding (suggested in #43) adds this feature back:

(define-key org-src-mode-map [remap evil-write] 'org-edit-src-save)

I'm using org-plus-contrib-20190624 and evil-org-20180323.2306.

@Somelauw
Copy link
Owner

Somelauw commented Nov 4, 2019

ZZ works for me. Otherwise C-c C-c isn't too bad.
However, if anyone should attempt to fix this, be sure that it doesn't break :w newfile.org.

@Somelauw Somelauw mentioned this issue Nov 4, 2019
@Somelauw
Copy link
Owner

Somelauw commented Nov 4, 2019

See #43

@Somelauw Somelauw closed this as completed Nov 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants