From 3841505317a7d2148dcaa8f38617c8d9093478e7 Mon Sep 17 00:00:00 2001 From: Gene Liverman Date: Fri, 5 Jan 2024 15:20:58 -0500 Subject: [PATCH 1/4] Add git alias to open with GitKraken --- modules/home-manager/common/all-gui.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/home-manager/common/all-gui.nix b/modules/home-manager/common/all-gui.nix index 2551d30..23bc178 100644 --- a/modules/home-manager/common/all-gui.nix +++ b/modules/home-manager/common/all-gui.nix @@ -3,6 +3,9 @@ # nothing here right now ]; programs = { + git.aliases = { + kraken = "!gitkraken -p $(cd \"\${1:-.}\" && git rev-parse --show-toplevel)"; + }; vscode = { enable = true; }; From e8c8bb9905add2253198af8ae85b249172f523d9 Mon Sep 17 00:00:00 2001 From: Gene Liverman Date: Fri, 5 Jan 2024 15:22:12 -0500 Subject: [PATCH 2/4] Make the mouse work as expected in nvim --- modules/home-manager/files/nvim/lua/config/vim-options.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/home-manager/files/nvim/lua/config/vim-options.lua b/modules/home-manager/files/nvim/lua/config/vim-options.lua index 7c9bcc5..f45637f 100644 --- a/modules/home-manager/files/nvim/lua/config/vim-options.lua +++ b/modules/home-manager/files/nvim/lua/config/vim-options.lua @@ -11,6 +11,10 @@ vim.opt.softtabstop = 2 vim.opt.shiftwidth = 2 vim.opt.shiftround = true +-- make sure all the mouse stuff is on. +-- pressing alt to hightlight + copy/paste works like it does outside of nvim +vim.opt.mouse = "a" + vim.keymap.set("n", "h", ":nohlsearch") vim.wo.relativenumber = true From 1368a64f6f3301a584fa7c3bfef2fccbcaa0bd0b Mon Sep 17 00:00:00 2001 From: Gene Liverman Date: Fri, 5 Jan 2024 15:22:45 -0500 Subject: [PATCH 3/4] Add esptool --- modules/home-manager/common/all-cli.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/home-manager/common/all-cli.nix b/modules/home-manager/common/all-cli.nix index dc60f5e..cfd28c5 100644 --- a/modules/home-manager/common/all-cli.nix +++ b/modules/home-manager/common/all-cli.nix @@ -14,6 +14,7 @@ in { dos2unix du-dust duf + esptool fd git-filter-repo gotop From 74b38fab03f47cc9b2d4b4aa39c06124f490d580 Mon Sep 17 00:00:00 2001 From: Gene Liverman Date: Fri, 5 Jan 2024 15:23:06 -0500 Subject: [PATCH 4/4] Make the mouse work as expected when in tmux --- modules/home-manager/common/all-cli.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/home-manager/common/all-cli.nix b/modules/home-manager/common/all-cli.nix index cfd28c5..5cfefbb 100644 --- a/modules/home-manager/common/all-cli.nix +++ b/modules/home-manager/common/all-cli.nix @@ -148,6 +148,7 @@ in { tmux = { enable = true; historyLimit = 100000; + mouse = true; tmuxinator.enable = true; plugins = with pkgs.tmuxPlugins; [ vim-tmux-navigator