commit ae6fa59e0b572277611a6b203f4d78a9b6d9b36d
parent 910ca4d48e1155e147176543f2347e169f19d9cf
Author: Daniel Moch <daniel@danielmoch.com>
Date: Tue, 6 Feb 2018 05:29:37 -0500
Vim: Fix IX command to work everywhere except Windows
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.vim/vimrc b/.vim/vimrc
@@ -268,10 +268,10 @@ endfunction
" }}}
" Commands {{{
-if has('mac')
+if !has('win32') && !has('win64')
command! -range=% IX silent execute <line1>.','.<line2>."w !curl -n -F"
\ ."'f:1=<-' ix.io | tr -d '\\n' | "
- \."reattach-to-user-namespace pbcopy"
+ \."my copy"
endif
command! -complete=file -nargs=? New call MyNewWindow(<f-args>)
command! -complete=help -nargs=1 Help call MyHelp(<f-args>)