cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to use multi-cursor and rectangular selection for notebooks and query editor in Linux ?

DavideCagnoni
Contributor

The documentation explains how to use multicursor in notebooks. However, it only says it for Windows and MacOS. The Windows way would work in Linux (Ubuntu) up to a few days ago but it does not work now anymore.

1 ACCEPTED SOLUTION

Accepted Solutions

Anonymous
Not applicable

@Davide Cagnoni​ :

Multicursor support in Databricks notebooks is implemented using the Ace editor, which is a web-based code editor. Therefore, the behavior of multicursor support may depend on the specific browser and operating system you are using.

In Linux, you can try using the Alt key instead of the Ctrl key to create multiple cursors. Press and hold the Alt key and then click where you want to place additional cursors. You can also use the Shift key with the arrow keys to select multiple lines, and then press Alt and click to add cursors to each line.

If the above approach doesn't work, you can try changing the key bindings for multicursor support in your browser settings. For example, in Firefox, you can change the ui.key.contentAccess value to 7 in the

about:config settings to use the Alt key for multicursor support.

Alternatively, you can try using a different browser that has better support for multicursor editing. Some popular browsers that work well with multicursor editing include Google Chrome and Microsoft Edg

View solution in original post

1 REPLY 1

Anonymous
Not applicable

@Davide Cagnoni​ :

Multicursor support in Databricks notebooks is implemented using the Ace editor, which is a web-based code editor. Therefore, the behavior of multicursor support may depend on the specific browser and operating system you are using.

In Linux, you can try using the Alt key instead of the Ctrl key to create multiple cursors. Press and hold the Alt key and then click where you want to place additional cursors. You can also use the Shift key with the arrow keys to select multiple lines, and then press Alt and click to add cursors to each line.

If the above approach doesn't work, you can try changing the key bindings for multicursor support in your browser settings. For example, in Firefox, you can change the ui.key.contentAccess value to 7 in the

about:config settings to use the Alt key for multicursor support.

Alternatively, you can try using a different browser that has better support for multicursor editing. Some popular browsers that work well with multicursor editing include Google Chrome and Microsoft Edg

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group