mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 19:24:08 +09:00
nixvim
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
{...}: {
|
||||
programs.nixvim = {
|
||||
plugins.telescope = {
|
||||
enable = true;
|
||||
extensions = {
|
||||
fzf-native.enable = true;
|
||||
};
|
||||
keymaps = {
|
||||
"<leader>ff" = {
|
||||
action = "find_files";
|
||||
options = {
|
||||
desc = "ファイルを探す";
|
||||
silent = true;
|
||||
};
|
||||
};
|
||||
|
||||
"<leader>fg" = {
|
||||
action = "live_grep";
|
||||
options = {
|
||||
desc = "文字列を全文検索";
|
||||
silent = true;
|
||||
};
|
||||
};
|
||||
|
||||
"<leader>fb" = {
|
||||
action = "buffers";
|
||||
options = {
|
||||
desc = "開いているバッファを探す";
|
||||
silent = true;
|
||||
};
|
||||
};
|
||||
|
||||
"<leader>fh" = {
|
||||
action = "help_tags";
|
||||
options = {
|
||||
desc = "ヘルプ項目を探す";
|
||||
silent = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user