Jump to content

Instalacja dodatków do Vim'a na /hdd


Guest pitgal

Recommended Posts

Cześć,

 

Ostatnio zaczynam coraz więcej korzystać z edytora vim.

Niestety pojemność pamięci nand nie pozwoliła na instalację vim-extradata (ponad 18MB), a bez tego nie działają takie ficzery jak kolorowanie składni itd..

Postanowiłem obadać czy da radę zainstalować te dodatki na /hdd i udało mi się ;-)

Poniżej dla potomnych opis jak tego dokonałem.

Oczywiście trzeba mieć binarkę podstawowego vim'a: opkg install vim
dodajemy w /etc/opkg/opkg.conf  dest hdd /hdd
opkg install vim-extradata -d hdd
dodajemy do /etc/profile export VIMRUNTIME=/hdd/usr/share/vim/vim74
VIMRUNTIME=/hdd/usr/share/vim/vim74

 

No i mamy pełnowartościowy edytor z dodatkami ;-)

 

Pozdrawiam Piotrek

 

 

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...