diff --git a/flake.lock b/flake.lock index da8a52f..96d99ff 100644 --- a/flake.lock +++ b/flake.lock @@ -114,11 +114,11 @@ ] }, "locked": { - "lastModified": 1691800648, - "narHash": "sha256-tKbPH8kYK8CuNC7c3iZHEjqgpSS/nTrWVXGlFPobAvg=", + "lastModified": 1693788028, + "narHash": "sha256-WEql8sqP0/JtBLy/x+Jn4touPkEWWF9fSg9Db7Y8SLs=", "owner": "bandithedoge", "repo": "nixpkgs-firefox-darwin", - "rev": "4011a1903422d241c0619f7c631a15d27643fa30", + "rev": "8ad2d3343ca335edf34969a8d9c3eeec7cd7b468", "type": "github" }, "original": { diff --git a/modules/common/neovim/lua/keybinds.lua b/modules/common/neovim/lua/keybinds.lua index af0ca79..f92df91 100644 --- a/modules/common/neovim/lua/keybinds.lua +++ b/modules/common/neovim/lua/keybinds.lua @@ -65,6 +65,12 @@ key("n", "", ":resize -2", { silent = true }) key("n", "", ":vertical resize -2", { silent = true }) key("n", "", ":vertical resize +2", { silent = true }) +-- Quickfix +key("n", "]q", ":cnext") +key("n", "[q", ":cprevious") +key("n", "co", ":copen") +key("n", "cq", ":cclose") + -- Other key("n", "", ":noh", { silent = true }) --- Clear search in VimWiki key("n", "Y", "y$") --- Copy to end of line diff --git a/modules/common/shell/charm.nix b/modules/common/shell/charm.nix index 4ea98aa..9b7d574 100644 --- a/modules/common/shell/charm.nix +++ b/modules/common/shell/charm.nix @@ -10,6 +10,7 @@ glow # Markdown previews skate # Key-value store charm # Manage account and filesystem + pop # Send emails from a TUI ]; }; diff --git a/modules/darwin/hammerspoon/Spoons/MoveWindow.spoon/worklayout.lua b/modules/darwin/hammerspoon/Spoons/MoveWindow.spoon/worklayout.lua index e552ddb..4a0f1e6 100644 --- a/modules/darwin/hammerspoon/Spoons/MoveWindow.spoon/worklayout.lua +++ b/modules/darwin/hammerspoon/Spoons/MoveWindow.spoon/worklayout.lua @@ -55,6 +55,15 @@ local function worklayout() local layout = concat(left, right, laptop) hs.layout.apply(layout) end) + + -- Reload Hammerspoon whenever layout changes + hs.screen.watcher.new(function() + -- Pause for 5 seconds to give time for layout to change + hs.timer.doAfter(5, function() + -- Perform the actual reload + hs.reload() + end) + end) end return worklayout