From 69d06ad700c4e8e9be7e4cc27c95cc0f91842e5c Mon Sep 17 00:00:00 2001 From: DarkWiiPlayer Date: Thu, 9 Jan 2020 15:48:39 +0100 Subject: [PATCH] Improve rifle config for remote vim --- rifle.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rifle.conf b/rifle.conf index 2ad7873..1076196 100644 --- a/rifle.conf +++ b/rifle.conf @@ -218,5 +218,5 @@ label pager, !mime ^text, !ext xml|json|csv|tex|py|pl|rb|js|sh|php = "$PAGER" mime application/x-executable = "$1" # Remote vim -label rvim, mime ^text, = vim --servername "${RVIM:-VIM}" --remote "$@" -label rvim, ext xml|json|csv|tex|py|pl|rb|js|sh|php = vim --servername "${RVIM:-VIM}" --remote "$@" +label rvim, mime ^text, = vim --servername "${RVIM:-VIM}" --remote-send ':tab split' --remote "$@" +label rvim, ext xml|json|csv|tex|py|pl|rb|js|sh|php = vim --servername "${RVIM:-VIM}" --remote-send ':tab split' --remote "$@"