toggle line building tool

is there a short cut to toggle the line building option? (rather than selecting the button)

There is no keyboard shortcut defined as a default but you can assign one.

Go into menu-Edit-Preferences.
On the Shortcuts tab go into the “Drawing Mode” section.
You will find it near the bottom as “Toggle Line Building Mode”