It was probably Samsung DeX.
Samsung is helping Google to develop a similar thing for Android.
You can run the browser without any issues, use ssh with JuiceSSH and have the terminal. Running vim on there might be an option but another editor that is not a TUI might be more troublesome.
You can also use a USB-C dock too. Have your monitors HDMI plugged into the dock, along with your keyboard and mouse. Just like you would with laptops too.
You can run the browser without any issues, use ssh with JuiceSSH and have the terminal. Running vim on there might be an option but another editor that is not a TUI might be more troublesome.