When doing a remote ssh from ubuntu 22..04 from a gnome-terminal to rpi bookworm, I had problems that vim did not provide system clipboard to copy from rip vim session to my remote client. After a lot of experimenting I found a simple solution:
edit .bashrc and add "TERM=ansi" at the end of the file.
Doing that, clipboard is working in vim and navigating with arrows while in insert mode now works without inserting escape codes to corrupt the file.
I thought others may have run into the same problem, and would like to know a solution.
edit .bashrc and add "TERM=ansi" at the end of the file.
Doing that, clipboard is working in vim and navigating with arrows while in insert mode now works without inserting escape codes to corrupt the file.
I thought others may have run into the same problem, and would like to know a solution.
Statistics: Posted by lupusmagnum — Sat Jan 27, 2024 5:06 pm