today-i-learnt

Send vim buffer to command

Category vim
Added on 2020-09-25
Source source

You can use :w to send current buffer to external command.

vim resource.yaml
:w kubectl apply -f -