Skip to content

kedde/vimfiles

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vimfiles

My portable vim configuration

Install

Linux/Mac:

git clone [email protected]:kedde/vimfiles.git ~/.vimfiles
cd ~/.vimfiles/setup
./install.sh or bash install.sh

Windows (from Powershell prompt):

cd ~
git clone [email protected]:kedde/vimfiles.git
cd vimfiles\setup
.\install.bat

Note: The Windows install uses ln.exe from (Git install) to create a hard link to the config file from %HOME%\vimfiles\vimrc to %HOME%_vimrc and also the other Windows specific files (_gvimrc & _vsvimrc). This is because symbolic linking (ln -s) doesn't work the same as on Linux/Mac with this util. This means that updating the repo (git pull) may not have the desired effect as it can break the hard link. To actually create a symbolic link on Windows, you can do the following from a Command Prompt with Administrator priviledges:

C:\Users\kedde>mklink _vimrc .\vimfiles\vimrc
C:\Users\kedde>mklink _gvimrc .\vimfiles\_gvimrc
C:\Users\kedde>mklink _vsvimrc .\vimfiles\_vsvimrc

Uninstall

Linux/Mac:

cd ~/.vimfiles
./uninstall.sh

Windows (from Powershell prompt):

cd ~
.\vimfiles\setup\uninstall.bat

Inspired by

About

Portable vimfiles configuration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 78.8%
  • Batchfile 11.8%
  • Shell 9.4%