diff --git a/autoload/repl/clojure.vim b/autoload/repl/clojure.vim index 74d3b0b..18b7ef9 100644 --- a/autoload/repl/clojure.vim +++ b/autoload/repl/clojure.vim @@ -19,11 +19,5 @@ function! repl#clojure#open_repl() abort let l:args = printf('%s %s', l:repl['repl'], l:repl['opt']) let l:vimshell_interactive = ':VimShellInteractive' . printf("--split='%s'", g:repl_split_command) execute l:vimshell_interactive l:args - let l:resize = ':resize 10' - execute l:resize - let l:nonum = ':set nonumber' - execute l:nonum - let l:swp = ':wincmd r' - execute l:swp call vimshell#interactive#send(printf('(load-file "%s")', l:module_file)) endfunction diff --git a/autoload/repl/erlang.vim b/autoload/repl/erlang.vim index 6fd4acc..8a1d35f 100644 --- a/autoload/repl/erlang.vim +++ b/autoload/repl/erlang.vim @@ -49,12 +49,6 @@ function! repl#erlang#open_repl() abort let l:vimshell_interactive = ':VimShellInteractive' . printf("--split='%s'", g:repl_split_command) execute l:vimshell_interactive l:args - let l:resize = ':resize 10' - let l:nonum = ':set nonumber' - execute l:nonum - let l:swp = ':wincmd r' - execute l:swp - execute l:resize call vimshell#interactive#send(printf('c(%s).', fnamemodify(l:module_file, ':t:r'))) execute 'cd' l:pwd endfunction diff --git a/autoload/repl/haskell.vim b/autoload/repl/haskell.vim index 46eef7f..67e7317 100644 --- a/autoload/repl/haskell.vim +++ b/autoload/repl/haskell.vim @@ -19,10 +19,4 @@ function! repl#haskell#open_repl() abort let l:args = printf('%s %s %s', l:repl['repl'], l:repl['opt'], l:module_file) let l:vimshell_interactive = ':VimShellInteractive' . printf("--split='%s'", g:repl_split_command) execute l:vimshell_interactive l:args - let l:resize = ':resize 10' - execute l:resize - let l:nonum = ':set nonumber' - execute l:nonum - let l:swp = ':wincmd r' - execute l:swp endfunction diff --git a/autoload/repl/idris.vim b/autoload/repl/idris.vim index 1987b26..29ceb5f 100644 --- a/autoload/repl/idris.vim +++ b/autoload/repl/idris.vim @@ -19,10 +19,4 @@ function! repl#idris#open_repl() abort let l:args = printf('%s %s %s', l:repl['repl'], l:repl['opt'], l:module_file) let l:vimshell_interactive = ':VimShellInteractive' . printf("--split='%s'", g:repl_split_command) execute l:vimshell_interactive l:args - let l:resize = ':resize 10' - execute l:resize - let l:nonum = ':set nonumber' - execute l:nonum - let l:swp = ':wincmd r' - execute l:swp endfunction diff --git a/autoload/repl/javascript.vim b/autoload/repl/javascript.vim index d7197fe..0ec7306 100644 --- a/autoload/repl/javascript.vim +++ b/autoload/repl/javascript.vim @@ -19,12 +19,7 @@ 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) - execute l:vimshell_interactive l:args - let l:resize = ':resize 10' - execute l:resize - let l:nonum = ':set nonumber' - execute l:nonum - let l:swp = ':wincmd r' + l:swp = ':wincmd r' execute l:swp call vimshell#interactive#send('.load ' . l:module_file) endfunction diff --git a/autoload/repl/python.vim b/autoload/repl/python.vim index 2ff2cad..1228e60 100644 --- a/autoload/repl/python.vim +++ b/autoload/repl/python.vim @@ -19,10 +19,4 @@ function! repl#python#open_repl() abort let l:args = printf('%s %s %s', l:repl['repl'], l:repl['opt'], l:module_file) let l:vimshell_interactive = ':VimShellInteractive' . printf("--split='%s'", g:repl_split_command) execute l:vimshell_interactive l:args - let l:resize = ':resize 10' - execute l:resize - let l:nonum = ':set nonumber' - execute l:nonum - let l:swp = ':wincmd r' - execute l:swp endfunction diff --git a/autoload/repl/ruby.vim b/autoload/repl/ruby.vim index 4d5dc07..d5bc6e4 100644 --- a/autoload/repl/ruby.vim +++ b/autoload/repl/ruby.vim @@ -18,10 +18,4 @@ function! repl#ruby#open_repl() abort let l:args = printf('%s %s %s', l:repl['repl'], l:repl['opt'], l:module_file) let l:vimshell_interactive = ':VimShellInteractive' . printf("--split='%s'", g:repl_split_command) execute l:vimshell_interactive l:args - let l:resize = ':resize 10' - execute l:resize - let l:nonum = ':set nonumber' - execute l:nonum - let l:swp = ':wincmd r' - execute l:swp endfunction diff --git a/autoload/repl/scheme.vim b/autoload/repl/scheme.vim index 79bc411..b6d4de6 100644 --- a/autoload/repl/scheme.vim +++ b/autoload/repl/scheme.vim @@ -17,11 +17,5 @@ function! repl#scheme#open_repl() abort let l:args = printf('%s -f %s %s', l:repl['repl'], l:module_file, l:repl['opt']) let l:vimshell_interactive = ':VimShellInteractive' . printf("--split='%s'", g:repl_split_command) execute l:vimshell_interactive l:args - let l:resize = ':resize 10' - execute l:resize - let l:nonum = ':set nonumber' - execute l:nonum - let l:swp = ':wincmd r' - execute l:swp endfunction