-
Notifications
You must be signed in to change notification settings - Fork 0
A plugin for handling a REPL interpreter in a scratch window
vim-scripts/REPL-plugin
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is a mirror of http://www.vim.org/scripts/script.php?script_id=4887 This plugin allows the user to open a scratch window with some external REPL interpreter (either a shell or some interpreter for any programming language). You should map a key (see the beginning of the file) to the ReplCmd() command which sends the current line to the interpreter (input is in your edited buffer, output is in the scratch buffer). See video: http://cjoint.com/14ma/DCmkCJGRZH7.htm The plugin uses FIFO special files and won't work under Windows. On the other hand, it will run either in terminal mode or in graphical mode (no server callback). It doesn't need embbeded script languages like python either. For working, just type: :call ReplNew() then :call ReplCmd() on each line to be executed (this should be mapped to some shortcut key) :call ReplClose() Deleting the scratch buffer or the working buffer should close everything also.
About
A plugin for handling a REPL interpreter in a scratch window
Resources
Stars
Watchers
Forks
Packages 0
No packages published