SSH into synology: vi missing color scheme

Currently reading
SSH into synology: vi missing color scheme

78
11
NAS
DS412+
Dears,

I just notice I cannot change vi color scheme ( :colorscheme ... only default) , while ssh into SynoNAS via Ubuntu within Windows 10.

can anyone help, where are the color scheme and even if I could install/restore them or update vi in SynoNAS?

Thanks!
 

fredbert

Moderator
NAS Support
Subscriber
1,627
676
NAS
DS1520+, DS218+, DS215j
Router
  1. RT2600ac
  2. MR2200ac
Operating system
  1. macOS
Mobile operating system
  1. iOS
Never noticed that. I know vi is vim here but I learnt on vi and VT320/340 terminals (black/green and black/orange).
 
78
11
NAS
DS412+
thanks for your feedback.

Yes, I did google beforehand. ( .vimrc and ~/vim/color have been set).
But it seems a SynoNAS specific problem, i.e. you can only find:
default.vim
under vim's system folder:
/usr/share/vim/vim74/colors

finally my solution is go to my ubuntu docker and copy its system vim/colors folder to SynoNAS.

Since SynoNAS is a busybox(tiny-linux) based system, you cannot update vim using e.g. apt-get.
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Welcome to SynoForum.com!

SynoForum.com is an unofficial Synology forum for NAS owners and enthusiasts.

Registration is free, easy and fast!

Similar threads

Similar threads

Trending threads

Top