cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
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

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.