From 4bd722d5e9ee2fb23b513514090c4bc5457f2bf5 Mon Sep 17 00:00:00 2001 From: UEDA Naoaki Date: Mon, 22 Jul 2024 00:21:13 +0900 Subject: Add 'auto-touch-on-save.vim' and config for podman --- _config/113-auto-touch-on-save.vim | 2 ++ vimrc | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 _config/113-auto-touch-on-save.vim diff --git a/_config/113-auto-touch-on-save.vim b/_config/113-auto-touch-on-save.vim new file mode 100644 index 0000000..7505741 --- /dev/null +++ b/_config/113-auto-touch-on-save.vim @@ -0,0 +1,2 @@ +let g:auto_touch_on_save_condition = 'podman machine list --format "{{ .Running }}" | grep -q true' +let g:auto_touch_on_save_command = 'podman machine ssh -- touch' diff --git a/vimrc b/vimrc index 8900512..47315d2 100644 --- a/vimrc +++ b/vimrc @@ -179,6 +179,8 @@ Plug 'AndrewRadev/linediff.vim' " for Wayland clipboard Plug 'jasonccox/vim-wayland-clipboard' +Plug 'na0x2c6/auto-touch-on-save.vim' + call plug#end() colorscheme nord -- cgit v1.2.3-54-g00ecf