Skip to content

Latest commit

 

History

History
63 lines (40 loc) · 1.1 KB

README.md

File metadata and controls

63 lines (40 loc) · 1.1 KB

Vim Worksheet

Add worksheet support to Vim. a

Installation

NeoBundle Recommended

add this line to your .vimrc

NeoBundle 'HerringtonDarkholme/vim-worksheet'

Supported Lang

  • Scala
  • JavaScript
  • Ruby
  • PHP
  • Python
  • TypeScript (you need install TSUN)

NOTICE

Python worksheet is whiteline sensitive. Try adding or removing extra new lines when it does not work.

Usage

Command:

:WorksheetStart start worksheet session

:WorksheetEval evaluate script and print worksheet

:WorksheetClean clean previous worksheet result

:WorksheetEnd close worksheet session and clean up

Shortcut:

<leader>ws WorksheetStart

<leader><leader> WorksheetEval

<leader>wc WorksheetClean

<leader>we WorksheetEnd

TODO

  • Configuration: It only satisifies my need now.
  • Inline mode Output repl result in the same buffer, in the same line
  • Appending mode Output repl result in the same buffer, in the next line