I want to execute a bash script whenever I save a file in Vim. The problem is I don\'t how can I, or if it\'s possible to pass the full path to the file, rather than just th
I found it:
autocmd BufWritePost * !~/.config/nvim/scripts/on_save.sh %:p
The %:p does it