diff --git a/config/default.nix b/config/default.nix index 3708ba0..d0f4626 100644 --- a/config/default.nix +++ b/config/default.nix @@ -6,10 +6,13 @@ ./plugins ]; + colorscheme = "catppuccin"; + colorschemes = { onedark.enable = true; nord.enable = true; dracula.enable = true; + gruvbox.enable = true; catppuccin.enable = true; }; diff --git a/config/plugins/fzf-lua.nix b/config/plugins/fzf-lua.nix new file mode 100644 index 0000000..f9362ac --- /dev/null +++ b/config/plugins/fzf-lua.nix @@ -0,0 +1,56 @@ +{ ... }: +{ + plugins.fzf-lua = { + enable = true; + + settings = { + winopts = { + height = 0.85; + width = 0.9; + }; + fzf_opts = { + "--layout" = "reverse"; + }; + git_icons = true; + defaults = { + file_icons = true; + }; + }; + + keymaps = { + # Files and search + "f" = "files"; + "F" = "oldfiles"; + "g" = "live_grep"; + + # Buffers and windows + "b" = "buffers"; + "w" = "tabs"; + + # Discoverability + "h" = "help"; + "m" = "keymaps"; + "c" = "colorschemes"; + + # Git + "gs" = "git_status"; + "gf" = "git_files"; + "gl" = "git_log"; + "gc" = "git_commits"; + "gb" = "git_bcommits"; + + # LSP + "l" = "lsp_document_symbols"; + "lr" = "lsp_references"; + "ld" = "lsp_definitions"; + "la" = "lsp_code_actions"; + "lw" = "lsp_workspace_symbols"; + + # Diagnostics + "x" = "diagnostics"; + + # Resume last picker + "z" = "resume"; + }; + }; +} \ No newline at end of file