diff --git a/README.md b/README.md index 7304da7..db31d6b 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ Example for [neobundle.vim](https://github.com/Shougo/neobundle.vim) Please add the following line into your .vimrc - NeoBundle 's-zeng/repl.vim' + NeoBundle 'ujihisa/repl.vim' and run `:NeoBundleInstall`. diff --git a/autoload/repl/javascript.vim b/autoload/repl/javascript.vim index 0ec7306..5c3e52a 100644 --- a/autoload/repl/javascript.vim +++ b/autoload/repl/javascript.vim @@ -19,7 +19,6 @@ function! repl#javascript#open_repl() abort endif let l:args = printf('%s %s', l:repl['repl'], l:repl['opt']) let l:vimshell_interactive = ':VimShellInteractive' . printf("--split='%s'", g:repl_split_command) - l:swp = ':wincmd r' - execute l:swp + execute l:vimshell_interactive l:args call vimshell#interactive#send('.load ' . l:module_file) endfunction