使用しているNeovimのプラグイン

公開

使っているNeovimのプラグインをまとめてみた。もう少し減らしたい。できれば50。

LSP & Completion

nvim-lint

Linterを実行するプラグイン。
https://github.com/mfussenegger/nvim-lint

conform.nvim

フォーマッターを実行するプラグイン。
https://github.com/stevearc/conform.nvim

blink.cmp

補完プラグイン。必須。
https://github.com/saghen/blink.cmp

blink.compat

nvim-cmp用の補完ソースをblink.cmpで使えるようにする。
https://github.com/saghen/blink.compat

cmp-calc

入力した数式を計算して、その結果を補完候補として表示するnvim-cmp用のソース。地味に便利。
https://github.com/hrsh7th/cmp-calc

cmp-snippy

nvim-snippyのスニペットを補完候補として表示するnvim-cmp用のソース。
https://github.com/dcampos/cmp-snippy

cmp-cmdline-history

コマンドラインの履歴を補完候補として表示するnvim-cmp用のソース。
https://github.com/dmitmel/cmp-cmdline-history

copilot.lua

GitHub Copilotクライアント。
https://github.com/zbirenbaum/copilot.lua

GitHub Copilotの提案をblink.cmpの補完候補として表示するソース。
https://github.com/fang2hou/blink-copilot

:smile: のようなショートコードを入力して絵文字を補完するblink.cmp用のソース。
https://github.com/moyiz/blink-emoji.nvim

nvim-snippy

スニペットプラグイン。
https://github.com/dcampos/nvim-snippy

lazydev.nvim

Neovimの設定やプラグインを書くときのLuaLSの設定を自動で行うプラグイン。
https://github.com/folke/lazydev.nvim

trouble.nvim

診断、参照、シンボル、Quickfix、ロケーションリストなどを一覧で表示するプラグイン。
https://github.com/folke/trouble.nvim

Treesitter

nvim-treesitter

Tree-sitterのパーサーのインストールと管理を行うプラグイン。一時期アーカイブの騒動になったけど、そのまま使っている。
https://github.com/nvim-treesitter/nvim-treesitter

Fuzzy Finder

telescope.nvim

ファジーファインダー。
https://github.com/nvim-telescope/telescope.nvim

telescope-egrepify.nvim

Telescopeのlive_grepを拡張するプラグイン。
https://github.com/fdschmidt93/telescope-egrepify.nvim

telescope-lines.nvim

現在のバッファーの行を検索するTelescopeの拡張機能。
https://github.com/neanias/telescope-lines.nvim

telescope-ui-select.nvim

vim.ui.select をTelescopeのピッカーに置き換える拡張機能。
https://github.com/nvim-telescope/telescope-ui-select.nvim

telescope-fzf-native.nvim

Telescopeのソートや検索をfzfのアルゴリズムで行う拡張機能。
https://github.com/nvim-telescope/telescope-fzf-native.nvim

UI

nui.nvim

Neovim用のUIコンポーネントライブラリー。noice.nvimがこのプラグインに依存している。
https://github.com/MunifTanjim/nui.nvim

nvim-bqf

Quickfixを使いやすくするプラグイン。項目のプレビュー表示、fzfによる絞り込み、項目の一括操作などができる。
https://github.com/kevinhwang91/nvim-bqf

lualine.nvim

ステータスライン。柔軟にカスタマイズできるのも魅力。
https://github.com/nvim-lualine/lualine.nvim

bufferline.nvim

バッファをタブのように画面の上部に表示するプラグイン。
https://github.com/akinsho/bufferline.nvim

nvim-web-devicons

ファイルの種類に応じたアイコン (Nerd Fonts) を提供するプラグイン。
https://github.com/nvim-tree/nvim-web-devicons

vim-highlighturl

バッファー内のURLをハイライトするプラグイン。地味に便利。
https://github.com/itchyny/vim-highlighturl

nvim-hlslens

検索でマッチした箇所に、マッチの総数と現在の位置を表示するプラグイン。
https://github.com/kevinhwang91/nvim-hlslens

gitsigns.nvim

Gitの差分を左側に表示するプラグイン。それ以外にもGitの色々な操作が行える。
https://github.com/lewis6991/gitsigns.nvim

aerial.nvim

コードのアウトラインを表示するプラグイン。コードよりもドキュメントの構成を把握するのに使っている。
https://github.com/stevearc/aerial.nvim

rainbow-delimiters.nvim

Tree-sitterを使って、括弧などの区切り文字をネストの深さごとに色分けするプラグイン。
https://github.com/HiPhish/rainbow-delimiters.nvim

nvim_context_vt

関数やif文などのブロックの終わりに、そのブロックの開始行の内容をバーチャルテキストで表示するプラグイン。何の閉じ括弧なのかがわかりやすくなる。
https://github.com/haringsrob/nvim_context_vt

noice.nvim

メッセージ、コマンドライン、ポップアップメニューのUIを置き換えるプラグイン。
https://github.com/folke/noice.nvim

nvim-scrollbar

スクロールバーを表示するプラグイン。
https://github.com/petertriho/nvim-scrollbar

cellwidths.nvim

文字の表示幅を設定するプラグイン。
https://github.com/delphinus/cellwidths.nvim

houston.nvim

カラースキーム。
https://github.com/devbydaniel/houston.nvim

codediff.nvim

diffを表示するプラグイン。
https://github.com/esmuellert/codediff.nvim

render-markdown.nvim

Markdownを装飾して表示するプラグイン。
https://github.com/MeanderingProgrammer/render-markdown.nvim

textobj

substitute.nvim

テキストオブジェクトで指定した範囲をレジスタの内容で置き換えるプラグイン。
https://github.com/gbprod/substitute.nvim

mini.surround

括弧や引用符などの囲み文字を操作するプラグイン。
https://github.com/nvim-mini/mini.surround

mini.ai

a / i で始まるテキストオブジェクトの拡張と作成を行うプラグイン。
https://github.com/nvim-mini/mini.ai

mini.extra

mini.nvimの各モジュールに追加の機能を提供するプラグイン。「バッファ全体」と「現在行」の定義をmini.aiから使っている。
https://github.com/nvim-mini/mini.extra

Editing

mini.trailspace

行末の空白をハイライトするプラグイン。
https://github.com/nvim-mini/mini.trailspace

make-table.nvim

カンマなどで区切られたテキストをMarkdownの表に変換するプラグイン。make-table.vimのNeovim版。自作。
https://github.com/pupepa/make-table.nvim

nvim-ts-autotag

Tree-sitterを使って、HTMLやJSXのタグを自動で閉じるプラグイン。
https://github.com/windwp/nvim-ts-autotag

dial.nvim

<C-a> / <C-x> による数値の増減を拡張するプラグイン。数値だけではなく日付や曜日、true / false などさまざまな用途で使える。
https://github.com/monaqa/dial.nvim

better-escape.nvim

jj や jk のようなキーの組み合わせで、インサートモードを抜けられるようにするプラグイン。通常のキーマップだと遅延が発生するので使っている。
https://github.com/max397574/better-escape.nvim

nvim-insx

インサートモードのキーマッピングを柔軟に定義できるプラグイン。
https://github.com/hrsh7th/nvim-insx

Moving Cursor

flash.nvim

検索した文字の位置にラベルを表示して、ラベルを入力するとその位置へジャンプできるプラグイン。luamigemoと組み合わせて、ローマ字の入力で日本語の位置にもジャンプできるようにしている。
https://github.com/folke/flash.nvim

luamigemo

LuaJIT用のMigemoエンジン。flash.nvimで使用。
https://github.com/delphinus/luamigemo

File Management

oil.nvim

ファイルエクスプローラー。通常のテキスト編集と同じ操作でファイルの操作が行える。
https://github.com/stevearc/oil.nvim

oil-git.nvim

oil.nvimにGitのステータスを表示するプラグイン。
https://github.com/malewicz1337/oil-git.nvim

Window

colorful-winsep.nvim

現在のウィンドウの区切り線に色を付けるプラグイン。これがないと、ウィンドウがアクティブかわからなくなる。
https://github.com/nvim-zh/colorful-winsep.nvim

smart-splits.nvim

Neovimのウィンドウとターミナルマルチプレクサーのペインを区別せずに、上下左右の方向で移動やリサイズができるようにするプラグイン。
https://github.com/mrjones2014/smart-splits.nvim

Utility

plenary.nvim

Neovimのプラグイン開発でよく使う関数をまとめたLuaライブラリー。

This repository is no longer actively maintained and will be officially archived soon. とあるので、本当は無くしたいがTelescopeが依存しているのでしょうがなく入れている。
https://github.com/nvim-lua/plenary.nvim

open-browser.vim

カーソル下のURLをブラウザーで開くプラグイン。Neovim標準でも gx でもURLを開くことができるけど、URL以外の単語をWebで検索できるのが便利。
https://github.com/tyru/open-browser.vim

linediff.vim

選択した2つのブロックの差分を表示するプラグイン。
https://github.com/AndrewRadev/linediff.vim

todo.txt-vim

todo.txtのタスク管理ファイルを管理するプラグイン。カスタマイズしている。
https://github.com/pupepa/todo.txt-vim

vim-xcode-control

VimからXcodeを操作するプラグイン。ビルド、実行、クリーン、プレビュー (Canvas) の更新などができる。自作。
https://github.com/pupepa/vim-xcode-control

memolist.vim

シンプルなメモ管理プラグイン。
https://github.com/glidenote/memolist.vim

rainbow_csv

CSVやTSVの列を色分けして表示するプラグイン。
https://github.com/mechatroner/rainbow_csv

ack.vim

ackなどの検索コマンドを実行して、結果をQuickfixに表示するプラグイン。
https://github.com/mileszs/ack.vim

previm

Markdownなどを、ブラウザーでプレビューするプラグイン。同じようなプラグインは他にもあるけどAsciidocが使えるのはこれだけ (かも)
https://github.com/previm/previm

vim-qfreplace

Quickfixの一覧をバッファーとして編集して、その変更を元のファイルに一括で反映するプラグイン。grepの結果を使った複数ファイルの一括置換に便利。
https://github.com/thinca/vim-qfreplace

capture.vim

Exコマンドの出力をバッファーに表示するプラグイン。
https://github.com/tyru/capture.vim

vim-startuptime

Neovimの起動時間を計測するプラグイン。
https://github.com/dstein64/vim-startuptime

toggleterm.nvim

複数のターミナルウィンドウの表示と切り替えを簡単に行えるプラグイン。
https://github.com/akinsho/toggleterm.nvim

vim-review

Re:VIEW形式のファイル用のシンタックスハイライトを提供するプラグイン。
https://github.com/tokorom/vim-review

package-info.nvim

package.json に書かれた依存パッケージの最新バージョンを表示するプラグイン。
https://github.com/vuki656/package-info.nvim

which-key.nvim

入力途中のキーに続けて押せるキーマッピングの一覧を、ポップアップで表示するプラグイン。
https://github.com/folke/which-key.nvim

git-conflict.nvim

Gitのコンフリクトを視覚的に表示するプラグイン。便利なんだけど最近コンフリクトの解消は全部AIにやってもらっているのでいらないかも。
https://github.com/akinsho/git-conflict.nvim

rooter.nvim

開いたファイルのプロジェクトルートに自動で移動するプラグイン。
https://github.com/wsdjeg/rooter.nvim

yank-path.nvim

ファイルのパスを、絶対パスや相対パスなどの形式を選んでクリップボードにコピーするプラグイン。AIにパスを渡すときに重宝。
https://github.com/ywpkwon/yank-path.nvim

snacks.nvim

便利な小機能をまとめたプラグイン集。
https://github.com/folke/snacks.nvim

git.nvim

vim-fugitiveをLuaでシンプルに再実装したプラグイン。
https://github.com/dinhhuy258/git.nvim

wezterm-types

WezTermの設定ファイル (Lua) 用のLuaLSの型定義。
https://github.com/justinsgithub/wezterm-types

daily-notes.nvim

デイリーノートを作成するプラグイン。
https://github.com/fdavies93/daily-notes.nvim

gitlinker.nvim

現在のファイルや選択した行の、GitHubなどのホスティングサービス上のURLを生成するプラグイン。
https://github.com/linrongbin16/gitlinker.nvim