Search code examples
pythonspyder

select an entire row - shortcut keyboard


I would like to know if there is a shortcut keyboard to select an entire row when I m coding and for example my cursor is in the middle of the row. (I use spyder for python)

Thanks !


Solution

  • In Windows (not sure for other systems) you can use Shift + Num Lock 1 if you are at the start of the line and Shift + Num Lock 7 if you are at the end of the line.

    When you are at another point of the line you can press Home, leave it and then press Shift+End

    You can find much more information here.