mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-07 00:14:08 +09:00
nixvim: add nvim-ufo for LSP/treesitter folding
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
This commit is contained in:
@@ -59,6 +59,10 @@ in {
|
||||
(mk "<leader>gh" "<cmd>DiffviewFileHistory %<CR>" "ファイル履歴")
|
||||
(mk "<leader>gq" "<cmd>DiffviewClose<CR>" "差分を閉じる")
|
||||
|
||||
# UFO (folding)
|
||||
(mkRaw "zR" "require('ufo').openAllFolds" "全て展開")
|
||||
(mkRaw "zM" "require('ufo').closeAllFolds" "全て折りたたむ")
|
||||
|
||||
# Dropbar
|
||||
(mkRaw "<leader>dp" "function() require('dropbar.api').pick() end" "dropbarでナビゲート")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user