Selecting text in terminal without using the mouse

后端 未结 3 1531
小蘑菇
小蘑菇 2020-12-23 20:11

If I\'m working in a terminal window in Linux, is there a keyboard shortcut I can use to select output displayed on previous lines? If I select something with the mouse I ca

相关标签:
3条回答
  • 2020-12-23 20:48

    You can use the screen application and enter copy mode with Ctrl+a, Esc. Start selecting text with Space and end selecting text with Space. Insert text with Ctrl+a, ]

    0 讨论(0)
  • 2020-12-23 20:51

    Daniel Micay's Termite sports a "selection mode". Pressing Ctrl+Shift+Space will activate it. It's got vim-like key bindings. v or V will select à la vim's visual mode, y will yank, Esc will exit selection mode.

    0 讨论(0)
  • 2020-12-23 21:03

    Screen and Emacs M-x shell, for example, allow for keyboard access to the scrollback buffer. This was also one of the features of Plan 9 (but I guess it was mouse-oriented, at least primarily); you might want to take a look at 9term and/or Sam, the Plan 9 editor.

    0 讨论(0)
提交回复
热议问题