From e44e0bca4b516d611e50406b8cb3d3ea3680c2de Mon Sep 17 00:00:00 2001 From: matteo stagliano Date: Tue, 5 Apr 2022 14:23:03 +0200 Subject: [PATCH] added filetype autocmd for autoexec sh,py,php files --- vimrc.jssh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vimrc.jssh b/vimrc.jssh index ee52000..cec48e7 100644 --- a/vimrc.jssh +++ b/vimrc.jssh @@ -30,3 +30,6 @@ set mouse="" set shiftwidth=4 set tabstop=4 autocmd FileType yaml setlocal ai ts=2 sw=2 et +autocmd FileType sh nmap , :!bash % +autocmd FileType python nmap , :!python3 % +autocmd FileType php nmap , :!php %