Skip to content

Instantly share code, notes, and snippets.

@mmktomato
Last active June 24, 2021 12:07
Show Gist options
  • Save mmktomato/ffba42d33d9567e3cfdccade7ba89a01 to your computer and use it in GitHub Desktop.
Save mmktomato/ffba42d33d9567e3cfdccade7ba89a01 to your computer and use it in GitHub Desktop.
Build Vim

Build Vim

Requirements

  • Use only in CLI.
  • Use clipboard.
  • Use terminal.
  • Use Japanese.

Configure and make

$ sudo apt install libncurses5-dev build-essential libpython3-dev libxt-dev

# If you need.
$ sudo apt install language-pack-ja
$ sudo locale-gen

Need to enable GUI for clipboard despite of using in CLI.

$ ./configure --with-features=huge \
    --enable-fail-if-missing \
    --without-x \
    --enable-gui \
    --enable-sysmouse \
    --enable-gpm \
    --enable-python3interp \
    --enable-cscope \
    --enable-multibyte \
    --enable-terminal
$ make
$ sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment