#type/zk/zettel #a/maturity/seed
# [[Neovim]] quick execution (idea)
Leader x: execute line or visual block
Leader leader x: execute file
[[TJ DeVries, 2021-03-06]] used that for his Lua config.
I’m thinking it could be useful for bash scripts, and Python as well.
Can open a new buffer to display the result in. Buffer gets overwritten each time, but I have a keymap to quickly save it to a file in case the output is interesting.
I could have a log tool that I pipe all my logs to, so that they get tagged automatically and put in the right directory. Then from neovim I can have a keymap to telescope my logs, with the most recent one at the top.
---
Sowed on:: [[2023-09-01|2023-09-01]]
Sources::
Continuation::
Branches::
See also::
Further reading::