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

Escape and save the buffer #108

Open
emad-elsaid opened this issue Dec 25, 2024 · 1 comment
Open

Escape and save the buffer #108

emad-elsaid opened this issue Dec 25, 2024 · 1 comment

Comments

@emad-elsaid
Copy link

I find myself using fd then SPC f s to save the buffer. so I was wondering what would be the appropriate way to also save the buffer after exiting insert mode?

@emad-elsaid
Copy link
Author

I checked the code, there is a hook called pre-command-hook I'm not sure if this is the right hook I should add a function to.

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

1 participant