Improve rifle config for remote vim

This commit is contained in:
Talia 2020-01-09 15:48:39 +01:00
parent 55fc2ed08f
commit 69d06ad700

View file

@ -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<CR>' --remote "$@"
label rvim, ext xml|json|csv|tex|py|pl|rb|js|sh|php = vim --servername "${RVIM:-VIM}" --remote-send ':tab split<CR>' --remote "$@"