From c7abbc56562f9745d9d1bb29f3c0d4874425e92c Mon Sep 17 00:00:00 2001 From: adikro Date: Sat, 23 May 2026 21:32:00 +0200 Subject: updates --- hm/soft/nixvim/nixvim.nix | 41 +++++++++++------------------------------ 1 file changed, 11 insertions(+), 30 deletions(-) (limited to 'hm/soft/nixvim/nixvim.nix') diff --git a/hm/soft/nixvim/nixvim.nix b/hm/soft/nixvim/nixvim.nix index efd348e..7013c27 100644 --- a/hm/soft/nixvim/nixvim.nix +++ b/hm/soft/nixvim/nixvim.nix @@ -24,6 +24,17 @@ in globals.mapleader = " "; + autoCmd = [ + { + event = [ "BufWritePost" ]; + pattern = [ "*/dotfiles/waybar/.config/waybar/*" ]; + callback.__raw = '' + function() + vim.fn.jobstart({ "systemctl", "--user", "restart", "waybar.service" }) + end + ''; + } + ]; clipboard = { providers.wl-copy.enable = true; register = "unnamedplus"; @@ -59,12 +70,6 @@ in action = ""; options.silent = true; } - { - mode = "n"; - key = "gs"; - action = "Neogit"; - options.desc = "Neogit Status"; - } { mode = "n"; key = "ff"; @@ -107,30 +112,6 @@ in action = "Telescope live_grep"; options.desc = "Live Grep"; } - { - mode = "n"; - key = "ma"; - action = "MCpattern"; - options.desc = "Select all matches of pattern"; - } - { - mode = "n"; - key = "ha"; - action = ''lua require("harpoon.mark").add_file()''; - options.desc = "Harpoon: Mark File"; - } - { - mode = "n"; - key = "hh"; - action = ''lua require("harpoon.ui").toggle_quick_menu()''; - options.desc = "Harpoon: Show Menu"; - } - { - mode = "n"; - key = "xx"; - action = "Trouble diagnostics toggle"; - options.desc = "Toggle Trouble (Diagnostics)"; - } { mode = "n"; key = "p"; -- cgit v1.3