Comment by kralos
imagine typing in a terminal...
you want to delete the previous word so press ctrl+w...
actually you're in a browser; the window closes...
:sadness: imagine typing in a terminal...
you want to delete the previous word so press ctrl+w...
actually you're in a browser; the window closes...
:sadness:Which is why macOS command key is such an undervalued nicety. One key for GUI stuff, one for command-line stuff.
You can use ctrl+shift+t to open the recently closed tab again.
We used to run terminal in browser using https://github.com/yudai/gotty and the entire dev team remapped their Ctrl+w to Ctrl+`. We did frontend and backend development with this setup almost for 1.5 years. Muscles memory and till this date, always have the fear if my actual terminal will get closed if I use Ctlr+w :P