vim

Install vim without X11 on FreeBSD

I can work with vi, but after using vim for years I just can’t work without it. The only problem is, if you install vim with pkg install vim it installs X11 and related crap. This should be done as root. First update portsnap: # get it portsnap fetch update # extract it portsnap extract root@bsd-test:~ # cd /usr/ports/editors/vim root@bsd-test:/usr/ports/editors/vim # ll total 27 -rw-r--r-- 1 root wheel 7022 Sep 23 23:06 Makefile -rw-r--r-- 1 root wheel 175 Sep 23 23:06 distinfo drwxr-xr-x 2 root wheel 6 Sep 28 14:25 files/ -rw-r--r-- 1 root wheel 601 Jun 14 2015 pkg-descr -rw-r--r-- 1 root wheel 8897 Jan 9 2017 pkg-plist root@bsd-test:/usr/ports/editors/vim # make WITHOUT_X11=yes install clean For the option questions I only changed the first one to console and not using any graphic stuff.