diff options
Diffstat (limited to 'users/kassouni/neovim.nix')
| -rw-r--r-- | users/kassouni/neovim.nix | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/users/kassouni/neovim.nix b/users/kassouni/neovim.nix index ec90023..3aac114 100644 --- a/users/kassouni/neovim.nix +++ b/users/kassouni/neovim.nix @@ -9,6 +9,11 @@ enable = true; defaultEditor = true; + globals = { + mapleader = " "; + maplocalleader = " "; + }; + opts = { number = true; relativenumber = true; @@ -19,9 +24,22 @@ plugins = { # Existing plugins sleuth.enable = true; - telescope.enable = true; + telescope = { + enable = true; + keymaps = { + "<leader>ff" = { + action = "find_files"; + options.desc = "Telescope find files"; + }; + "<leader>fg" = { + action = "live_grep"; + options.desc = "Telescope live grep"; + }; + }; + }; highlight-colors.enable = true; web-devicons.enable = true; + which-key.enable = true; # LSP lsp = { |
