summaryrefslogtreecommitdiff
path: root/users/kassouni/neovim.nix
diff options
context:
space:
mode:
authorAlexander Kassouni <alex@kassouni.net>2026-09-02 21:20:10 -0700
committerAlexander Kassouni <alex@kassouni.net>2026-09-02 21:20:10 -0700
commit47dde98fd2cf11ea544bb1c8d8d548ee0bda0f54 (patch)
treefb79c45ef1c0f0016e480e06dff625cf3fc1c91a /users/kassouni/neovim.nix
parent1c5fa1c205f2bb78f8e1179b0576f3c3578dad69 (diff)
some sway stuff
Diffstat (limited to 'users/kassouni/neovim.nix')
-rw-r--r--users/kassouni/neovim.nix20
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 = {