Merge pull request #349 from genebean/stuff

Mouse stuff in nvim & tmux, GitKraken alias, esptool
This commit is contained in:
Gene Liverman 2024-01-05 15:28:26 -05:00 committed by GitHub
commit f3a581d98a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 0 deletions

View file

@ -14,6 +14,7 @@ in {
dos2unix
du-dust
duf
esptool
fd
git-filter-repo
gotop
@ -147,6 +148,7 @@ in {
tmux = {
enable = true;
historyLimit = 100000;
mouse = true;
tmuxinator.enable = true;
plugins = with pkgs.tmuxPlugins; [
vim-tmux-navigator

View file

@ -3,6 +3,9 @@
# nothing here right now
];
programs = {
git.aliases = {
kraken = "!gitkraken -p $(cd \"\${1:-.}\" && git rev-parse --show-toplevel)";
};
vscode = {
enable = true;
};

View file

@ -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", "<leader>h", ":nohlsearch<CR>")
vim.wo.relativenumber = true