Chinaunix首页 | 论坛 | 博客
  • 博客访问: 140920
  • 博文数量: 56
  • 博客积分: 245
  • 博客等级: 二等列兵
  • 技术积分: 520
  • 用 户 组: 普通用户
  • 注册时间: 2012-10-08 14:43
个人简介

慢慢来

文章分类

全部博文(56)

文章存档

2017年(5)

2016年(2)

2015年(6)

2014年(28)

2013年(5)

2012年(10)

我的朋友

分类: 其他平台

2014-12-19 14:23:22

background: 公司里是一个server大家一起用,有公用的vim不好用,想自己安一个,其实就是在常规的安装基础上指定一下自己的目录,vim会安装到自己目录下,superuser里找的,就是在用./configure的时候, 加一个 --prefix=/home/... 就行了

  1. Download Vim
  2. Change the prefix:
    1. When compiling, use the option --prefix=/home/myaccount (or whatever you want), or
    2. Edit the prefix option in src/makefile to something like /home/myaccount or just $(HOME) 
  3. When you run make install, it will install the files using the prefix you specified (e.g. binaries will be installed to /home/myaccount/bin)
  4. Change your prefix to include /home/myaccount/bin in .bash_profile or .profile.
  5. Success!!


阅读(484) | 评论(0) | 转发(0) |
0

上一篇:[MacOS] launchpad里图标消失

下一篇:my vimrc

给主人留下些什么吧!~~