mirror of
https://github.com/junegunn/vim-easy-align.git
synced 2025-11-12 03:43:48 -05:00
19 lines
286 B
Bash
Executable File
19 lines
286 B
Bash
Executable File
#!/bin/bash
|
|
|
|
VIMRC=$TMPDIR/mini-vimrc
|
|
SOURCE=$(dirname $BASH_SOURCE)/..
|
|
|
|
cat > $VIMRC << EOF
|
|
set nocompatible
|
|
syntax on
|
|
|
|
for dep in ['vader.vim', 'vim-repeat']
|
|
execute 'set rtp+=' . finddir(dep, expand('~/.vim').'/**')
|
|
endfor
|
|
set rtp+=$SOURCE
|
|
EOF
|
|
|
|
vim -u $VIMRC +Vader*
|
|
|
|
rm -f $VIMRC
|