Trigger the API in a chat buffer by :w<CR>
#27
Closed
mrjones2014
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
That's a great suggestion! |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Using
buftype=acwrite
allows you to take over the buffer read and write operations and handle them manually via autocmdsBufReadCmd
andBufWriteCmd
, respectively. I have an example in op.nvim. You could use this to have:w
in the chat buffer act the same as the default<C-s>
keybind.Beta Was this translation helpful? Give feedback.
All reactions