Search code examples
google-colaboratorykeyboard-shortcuts

Is there a shortcut key to duplicate line in google colab?? If not how can it be implemented?


I usually duplicate the line if i need to use the code same as the above line. I did not find the shortcut key to duplicate the line . I saw some posts to implement shortcut key to duplicate line but they are rather complicated and requires to run script every time.


Solution

  • I found the solution just in case anyone wants to use it.

    Alt + Shift + Down_arrow