Table of Contents
Vim plugin for vim-terminal.
-
Start terminal on vim-terminal leftside.
-
Close terminal on vim-terminal leftside.
-
Send current line to terminal. if iptyhon then with %cpaste -q.
-
Send block (between # %% and # %%) to terminal. if ipython then with %cpaste -q.
-
Send selection line to terminal. if ipython then with %cpaste -q.
-
<leader>p Start IPython
-
<leader>r Start R
-
<leader>t Start bash
-
<leader>c Close terminal
-
<leader>l Sendline
-
<leader>b SendBlock
-
<leader>s SendSelection
-
Open IPython
-
Send line.
-
Send block.
-
Send selection.
Code: py
# Open IPython. press <leader>p # Send line. press <leader>l print("Hello line.") # Send block. press <leader>b # %% print("Hello block1.") print("Hello block2.") # %% # Send selection. press <leader>s print("Hello selection1.") print("Hello selection2.") # Close IPython press <leader>c
-
Open R
-
Send line.
Code: R
# Open R. press <leader>r # Send line. press <leader>l print("Hello line.") # Close IPython press <leader>c