45

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 at 5:19
72

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

  • 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
  • @Cakemox Thank god someone added info on how to perform block selection on mac!!! :D – Rubens Mar 13 '15 at 21:12
  • 1
    Works in gnome-terminal in tmux as well with shift-ctrl-alt – Dmitri DB Sep 21 '16 at 4:26

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.