4 ms·
While we are talking about screen - I'd really like to be able to highlight text in VIM (using the visual mode) and then be able to paste that into another scre
by idoh 17y ago
While we are talking about screen - I'd really like to be able to highlight text in VIM (using the visual mode) and then be able to paste that into another screen. Does anyone know how to do this?
- yan 17y agoI don't know off hand how to do it using a vim selection, but you can use screen selections. ^a, [, then navigation keys and space to select, ^a, ] to paste.
- guns 17y agoScreenShell. It leverages screen to create a viable REPL-buffer for vim, for any language that has an interactive interpreter. http://www.vim.org/scripts/script.php?script_id=2711 http://www.vim.org/scripts/script.php?script_id=2711 Here's an article describing how to use it with lisp: http://www.ktaylor.name/2009/11/vim-screen-lisp-programming-environment.html http://www.ktaylor.name/2009/11/vim-screen-lisp-programming-... And finally, some key mappings to bind <C-c><C-c> to sending the current paragraph or selection to the interpreter, from any mode. http://gist.github.com/278733 http://gist.github.com/278733
- Jach 17y agoYou could just copy into the global system buffer instead of vim's buffer. Highlight, then "+y (or d, p, etc.) (Yes you type the quotation mark and plus.) (And vim needs to be built with xterm, I think.)