From 674b97f1ace1deeb985bbc8597542d164d943659 Mon Sep 17 00:00:00 2001 From: dadada Date: Thu, 28 Jul 2022 13:49:04 +0200 Subject: [PATCH] add vim command Silent Adds a command that executes a subprocess silently and forces a redraw to avoid display issues. --- home/modules/vim/vimrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/home/modules/vim/vimrc b/home/modules/vim/vimrc index aaaaccb..0ed870d 100644 --- a/home/modules/vim/vimrc +++ b/home/modules/vim/vimrc @@ -152,3 +152,6 @@ packloadall silent! helptags ALL set omnifunc=ale#completion#OmniFunc + +command! -nargs=1 RunBuf execute ':let job = job_start("", {"out_io": "buffer", "out_name": ""})' +autocmd BufWritePost RunBuf make