others-how to do block selection in iterm?

1. Purpose

In this post, I will introduce how to do block selection in iterm.



2. Solution

2.1 What is iterm?

iTerm2 is a replacement for Terminal and the successor to iTerm. It works on Macs with macOS 10.14 or newer. iTerm2 brings the terminal into the modern age with features you never knew you always wanted.

2.2 what is block selection?

Here is an example of block selection in iterm: Then we get this result:

enable: false
url: tcp://1.1.1.1:514
tag: OpenRASP
reconnect_interval: 300000
facility: 1

You can see that we just select texts in columns ,not in rows, that’s the difference.

2.3 how to do block selection in iterm?

just press command+option ,then the mouse cursor will change to ‘+’, then you can press the left mouse button to choose your block in iterm.



3. Summary

In this post, I demonstrated how to do block selection in iterm. That’s it, thanks for your reading.

cmd+option ,you will see a plus mouse icon on the iterm