aboutsummaryrefslogtreecommitdiff
path: root/vim/config/command.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim/config/command.vim')
-rw-r--r--vim/config/command.vim4
1 files changed, 3 insertions, 1 deletions
diff --git a/vim/config/command.vim b/vim/config/command.vim
index 1d2b647a..2a60bab3 100644
--- a/vim/config/command.vim
+++ b/vim/config/command.vim
@@ -22,7 +22,9 @@ set shellpipe=>
" Always use forward slashes, I very seldom need to use Vim on Windows for
" more than scratch space anyway
-set shellslash
+if exists('+shellslash')
+ set shellslash
+endif
" Tolerate typos like :Wq, :Q, or :Qa and do what I mean, including any
" arguments or modifiers; I fat-finger these commands a lot because I type