sponsor Vim development Vim logo Vim Book Ad

TclShell : Tcl Shell for Vim

 script karma  Rating 4/1, Downloaded by 1534  Comments, bugs, improvements  Vim wiki

created by
Lorance Stinson
script type
A Tcl Shell for Vim using the integrated tcl interpreter.

Creates a new buffer and window that resembles a shell. Tcl code can be entered
and is executed once Enter is pressed.

Requires Vim be compiles with the +tcl feature.

Provides two commands:
- TclShell opens the Tcl Shell Window.
- TclEval evaluates Tcl code. This command can evaluate provided Tcl code, the
  entire file (which is transformed to "source FILE") or visual ranges (whole
  lines only).

Has the key mapping "<Leader>tcl" to open the Tcl Shell window and execute
visually selected Tcl code. (Note: "<Leader>" is normally mapped to "\".)

Based on Shell.vim: http://www.vim.org/scripts/script.php?script_id=118

Vim Home:      http://www.vim.org/scripts/script.php?script_id=3750
GitHub Home: https://github.com/LStinson/TclShell-Vim
Tclers Wiki:     http://wiki.tcl.tk/28782

I welcome any and all feedback. Please contact me at LoranceStinson AT Gmail....
Please be sure to put TclShell in the subject so I know what you are emailing about.
install details
To install copy the files to ~/.vim or ~/vimfiles.
If using a package manager like pathgen place the whole directory in the bundle directory.

Please disregard the Nagelfar file below. This is from an error and I can not delete it.

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
TclShell.zip 0.8 2012-03-29 7.0 Lorance Stinson Moved Tcl code evaluation from the TclShell command to the new TclEval command. This command can evaluate provided Tcl code, the entire file (which is transformed to "source FILE") or visual ranges (whole lines only). The TclShell command only opens the Tcl Shell window.
TclShell-Vim.zip 0.7 2012-03-18 7.0 Lorance Stinson Moved Tcl code evaluation to TclEval. TclShell no longer evaluates Tcl code. TclEval can evaluate the entire file, a visual selection or code passed to the command.
TclShell-Vim.zip 0.6 2011-10-27 7.0 Lorance Stinson Minor formatting updates. Replaced the defaults function.
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
Vim at Github