Last active
January 17, 2023 11:21
-
-
Save ko31/50e9bdbdc5e4f2da5e7d1f96361e78fb to your computer and use it in GitHub Desktop.
XServer に Vim をインストールする
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ncurses をインストール | |
mkdir ~/opt && cd $_ | |
wget http://ftp.gnu.org/pub/gnu/ncurses/ncurses-6.1.tar.gz | |
tar zxfv ncurses-6.1.tar.gz | |
cd ncurses-6.1 | |
./configure --prefix=$HOME/local | |
make | |
make install | |
# Vim をインストール | |
cd ~/opt | |
git clone https://github.com/vim/vim.git | |
cd vim | |
./configure --with-features=huge --enable-fail-if-missing --prefix=$HOME/local --with-local-dir=$HOME/local | |
make | |
make install | |
# 環境設定 | |
vi ~/.bashrc | |
# .bashrc に下記行を追加 | |
export PATH=$PATH:$HOME/local/bin | |
alias vi='vim' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment