1- *vimteractive.txt * Sending commands from vim to interactive programs
1+ *vimteractive* Sending commands from vim to interactive programs
22
33 Vimteractive - main help file
44
@@ -35,6 +35,7 @@ The activating commands are
3535- zsh |:Izsh|
3636- python |:Ipython|
3737- clojure |:Iclojure|
38+ - apl |:Iclojure|
3839- autodetect based on filetype |:Iterm|
3940
4041Commands may be sent from a text file to the chosen terminal using CTRL-S. If
@@ -44,7 +45,7 @@ there is no terminal, CTRL-S will automatically open one for you using
4445Note: it's highly recommended to use IPython as your default Python
4546interpreter. You can set it like this:
4647
47- let g:vimteractive_default_shells = { 'python': 'ipython' }
48+ let g:vimteractive_default_shells = { 'python': 'ipython' }
4849
4950Since this package leverages the native vim interactive terminal, it is
5051only compatible with vim 8 or greater.
@@ -60,7 +61,7 @@ stty -ixon
6061into your .bashrc (or equivalent shell profile file)
6162
6263------------------------------------------------------------------------------
63- Example usage *vimteractive-usage *
64+ Example usage *vimteractive-example *
6465
6566Create a python file "test.py" with the following content:
6667
@@ -96,14 +97,15 @@ connect two buffers to one terminal, use |:Iconn| command.
9697------------------------------------------------------------------------------
9798Supported terminals *vimteractive-terminals*
9899
99- *:Iipython* Activate an ipython terminal
100- *:Ijulia* Activate a julia terminal
101- *:Imaple* Activate a maple terminal
102- *:Ibash* Activate a bash terminal
103- *:Izsh* Activate a zsh terminal
104- *:Ipython* Activate a python terminal
105- *:Iclojure* Activate a clojure terminal
106- *:Iterm* Activate a terminal based on current filetype
100+ *:Iipython* Activate an ipython terminal
101+ *:Ijulia* Activate a julia terminal
102+ *:Imaple* Activate a maple terminal
103+ *:Ibash* Activate a bash terminal
104+ *:Izsh* Activate a zsh terminal
105+ *:Ipython* Activate a python terminal
106+ *:Iclojure* Activate a clojure terminal
107+ *:Iapl* Activate an apl terminal
108+ *:Iterm* Activate a terminal based on current filetype
107109
108110------------------------------------------------------------------------------
109111Sending commands *v_CTRL_S*
@@ -141,7 +143,7 @@ interpreter, you may be on an older system which does not have bracketed paste
141143enabled, or have other shell misbehaviour issues. You can change the default
142144setting with
143145
144- let g:vimteractive_bracketed_paste_default = 0
146+ let g:vimteractive_bracketed_paste_default = 0
145147
146148
147149==============================================================================
@@ -159,23 +161,23 @@ These options can be put in your |.vimrc|, or run manually as desired:
159161To add a new interpreter to Vimteractive, you should define
160162g:vimteractive_commands variable. For example:
161163
162- let g:vimteractive_commands = { 'pythonasync': 'python -m asyncio' }
164+ let g:vimteractive_commands = { 'pythonasync': 'python -m asyncio' }
163165
164166will provide you :Ipythonasync command starting Python 3.8+ asyncio REPL.
165167If you want to make this command default for python filetype, you should do
166168
167- let g:vimteractive_default_shells = { 'python': 'pythonasync' }
169+ let g:vimteractive_default_shells = { 'python': 'pythonasync' }
168170
169171If you see escape sequences appearing when you do CTRL-S for your interpreter,
170172you may try to disable bracketed paste mode for it:
171173
172- let g:vimteractive_bracketed_paste = { 'pythonasync': 0 }
174+ let g:vimteractive_bracketed_paste = { 'pythonasync': 0 }
173175
174176If your interpreter has slow-starting REPL (like Clojure), you may want to
175177wait before sending data to it at the first time. Specify time to wait in
176178milliseconds like this:
177179
178- let g:vimteractive_slow_prompt = { 'pythonasync': 200 }
180+ let g:vimteractive_slow_prompt = { 'pythonasync': 200 }
179181
180182This project is very much in an beta phase, so if you have any issues that
181183arise on your system, feel free to contact me:
0 commit comments