49

Is there any Linux console (konsole, gnome-terminal, etc.) that allows selecting text in a block mode, like you can in a Windows cmd.exe window, using Mark and drawing a rectangle?

  • In case anybody is wondering, on Windows it is alt + drag. – Damien Ó Ceallaigh Aug 2 '19 at 5:19
78

Holding down the Ctrl-Alt while dragging the left mouse button.

| improve this answer | |
  • 4
    Thanks! Using Linux for so many years and it's the first time I needed this :) – Unknown Sep 20 '12 at 9:00
  • 5
    FYI - Option-Command will do this on a Mac (at least on Terminal and iTerm2) – Cakemox Sep 20 '12 at 9:25
  • Works with gnome-terminal :D – ThorSummoner Sep 22 '14 at 21:13
  • 2
    Works in gnome-terminal in tmux as well with shift-ctrl-alt – Dmitri DB Sep 21 '16 at 4:26
  • 1
    just ctrl worked for me – Chaim Eliyah Sep 7 '17 at 20:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.