var term = ;app;...
While term.js has always supported copy/paste using the mouse, it now also supports several keyboard based solutions for copy/paste.
term.js includes a tmux-like selection mode (enabled with the
option) which makes copy and paste very simple.
from here you can type
Ctrl-V to paste. Press
[ in prefix mode to enter
selection mode. To select text press
space) to enter visual mode, use
hjkl to navigate and create a selection, and press
Ctrl-C to copy.
Ctrl-C (in visual mode) and
Ctrl-V (in prefix mode) should work in any OS
for copy and paste.
y (in visual mode) will work for copying only on X11
systems. It will copy to the primary selection.
Ctrl-C will also work in prefix mode for the regular OS/browser
selection. If you want to select text with your mouse and copy it to the
clipboard, simply select the text and type
Ctrl-A + Ctrl-C, and
Ctrl-A + Ctrl-V to paste it.
For mac users: consider
Ctrl to be
Contribution and License Agreement
If you contribute code to this project, you are implicitly allowing your code
to be distributed under the MIT license. You are also implicitly verifying that
all code is your original work.
Copyright (c) 2012-2013, Christopher Jeffrey (MIT License)