siida36 / raspi-traffic-light

ラズパイで信号機を実装する教材です
MIT License
0 stars 0 forks source link

RasPiにおけるVimのセットアップ方法 #1

Open siida36 opened 3 weeks ago

siida36 commented 3 weeks ago

# 概要

Vimのインストール

sudo apt install vim

NeoVimのインストール

aptで入れるとAstroNVimで利用可能なバージョンにならない。

sudo apt-get update && sudo apt-get install -y \ git cmake ninja-build libtool libtool-bin autoconf automake pkg-config unzip gettext
git clone --branch v0.9.0 https://github.com/neovim/neovim
cd neovim
make CMAKE_BUILD_TYPE=RelWithDebInfo
sudo make install
export PATH=$PATH:/home/pi/setup/nvim/neovim/build/bin.  # ~/.bashrc に追記

AstroNVimのインストール

git clone --depth 1 https://github.com/AstroNvim/template ~/.config/nvim
rm -rf ~/.config/nvim/.git
nvim
siida36 commented 3 weeks ago

https://www.reddit.com/r/neovim/comments/15ow3bu/comment/kiguzs4/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button