Closed light4 closed 9 years ago
<leader>R works fine if I start a project: $ sh unix/vim.sh test.exvim but won't work by sh test.exvim. also works fine in this way: vim -u ~/main/.vimrc --cmd "let g:exvim_custom_path='~/main'" test.exvim
<leader>R
$ sh unix/vim.sh test.exvim
sh test.exvim
vim -u ~/main/.vimrc --cmd "let g:exvim_custom_path='~/main'" test.exvim
Cause sh test.exvim is not a vim command. How does vim can expect working on it?
I find that its /etc/vimrc makes the shortcuts not work.
/etc/vimrc
<leader>R
works fine if I start a project:$ sh unix/vim.sh test.exvim
but won't work bysh test.exvim
. also works fine in this way:vim -u ~/main/.vimrc --cmd "let g:exvim_custom_path='~/main'" test.exvim