dotfiles

Install Essential

  • Git
  • Vim
  • NeoVim
  • Tmux

Vim/NeoVim

Install common dependencies

Common
  • unzip (for deno install)
  • deno
  • Git
  • The Silver Searcher Ag (optional)
  • /usr/share/dict/words (optional) (Ex. sudo pacman -S words )
  • ripgrep (for Telescope.nvim's live grep)
C++
  • ccls
  • cmake-language-server (pip install --user cmake-language-server)
Python
  • pyright
  • efm-langserver
  • flake8
  • black
  • mypy
  • isort

Install dein for Vim

curl https://raw.githubusercontent.com/Shougo/dein.vim/master/bin/installer.sh > installer.sh
sh ./installer.sh ~/.cache/dein_for_vim

In Vim

:call dein#install()

Install dein for Neovim

curl https://raw.githubusercontent.com/Shougo/dein.vim/master/bin/installer.sh > installer.sh
sh ./installer.sh ~/.cache/dein

In NeoVim

:call dein#install()
for Tree Sitter
:TSUpdate

C/C++

:TSInstall c cpp cmake make cuda glsl

Rust

:TSInstall rust

Python

:TSInstall python

Lua

:TSInstall lua

Web

:TSInstall html css javascript typescript json jsonc json5 tsx

TOML/YAML

:TSInstall toml yaml

Vim

:TSInstall vim

Bash

TSInstall bash

or

'MyTSInstall'

:call MyTSInstall()

OpenCLのシンタックスハイライト

mkdir -p ./.vim/syntax
mkdir -p ./.config/nvim/syntax
curl -L https://raw.githubusercontent.com/petRUShka/vim-opencl/master/syntax/opencl.vim -o ./.vim/syntax/cl.vim
curl -L https://raw.githubusercontent.com/petRUShka/vim-opencl/master/syntax/opencl.vim -o ./.config/nvim/syntax/cl.vim

プラグインの動作がおかしくなったとき

キャッシュを消してみる

:call dein#recache_runtimepath()