Open the contents of terminal in editor

Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
Applications such as Tmux and Termite allow interaction with the contents of the terminal through vi-like bindings for actions such as searching and copying.
Is there any way of opening the contents of the terminal in a text editor, so that real vim can be used for such actions? Note that I am interested in opening the entire contents of the terminal in a text editor, not just the command currently being edited.
Running a terminal inside [neo]vim gives a solution close to what I would like, the main disadvantage being that it requires the foresight to have opened the terminal in vim instead of directly in my usual terminal application. Also, the vim terminal introduces linebreaks for reflowing of text, which I would prefer not to have.
I would be particularly interested in solutions that are independent of the terminal application, though maybe that is overly optimistic?
terminal vim
add a comment |Â
up vote
1
down vote
favorite
Applications such as Tmux and Termite allow interaction with the contents of the terminal through vi-like bindings for actions such as searching and copying.
Is there any way of opening the contents of the terminal in a text editor, so that real vim can be used for such actions? Note that I am interested in opening the entire contents of the terminal in a text editor, not just the command currently being edited.
Running a terminal inside [neo]vim gives a solution close to what I would like, the main disadvantage being that it requires the foresight to have opened the terminal in vim instead of directly in my usual terminal application. Also, the vim terminal introduces linebreaks for reflowing of text, which I would prefer not to have.
I would be particularly interested in solutions that are independent of the terminal application, though maybe that is overly optimistic?
terminal vim
This is probably a duplicate since others have asked how to read text from the screen (and gotten no result).
â Thomas Dickey
Sep 10 at 20:14
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
Applications such as Tmux and Termite allow interaction with the contents of the terminal through vi-like bindings for actions such as searching and copying.
Is there any way of opening the contents of the terminal in a text editor, so that real vim can be used for such actions? Note that I am interested in opening the entire contents of the terminal in a text editor, not just the command currently being edited.
Running a terminal inside [neo]vim gives a solution close to what I would like, the main disadvantage being that it requires the foresight to have opened the terminal in vim instead of directly in my usual terminal application. Also, the vim terminal introduces linebreaks for reflowing of text, which I would prefer not to have.
I would be particularly interested in solutions that are independent of the terminal application, though maybe that is overly optimistic?
terminal vim
Applications such as Tmux and Termite allow interaction with the contents of the terminal through vi-like bindings for actions such as searching and copying.
Is there any way of opening the contents of the terminal in a text editor, so that real vim can be used for such actions? Note that I am interested in opening the entire contents of the terminal in a text editor, not just the command currently being edited.
Running a terminal inside [neo]vim gives a solution close to what I would like, the main disadvantage being that it requires the foresight to have opened the terminal in vim instead of directly in my usual terminal application. Also, the vim terminal introduces linebreaks for reflowing of text, which I would prefer not to have.
I would be particularly interested in solutions that are independent of the terminal application, though maybe that is overly optimistic?
terminal vim
terminal vim
edited Sep 10 at 19:35
asked Sep 10 at 15:46
Nonnus
404
404
This is probably a duplicate since others have asked how to read text from the screen (and gotten no result).
â Thomas Dickey
Sep 10 at 20:14
add a comment |Â
This is probably a duplicate since others have asked how to read text from the screen (and gotten no result).
â Thomas Dickey
Sep 10 at 20:14
This is probably a duplicate since others have asked how to read text from the screen (and gotten no result).
â Thomas Dickey
Sep 10 at 20:14
This is probably a duplicate since others have asked how to read text from the screen (and gotten no result).
â Thomas Dickey
Sep 10 at 20:14
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f468053%2fopen-the-contents-of-terminal-in-editor%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
This is probably a duplicate since others have asked how to read text from the screen (and gotten no result).
â Thomas Dickey
Sep 10 at 20:14