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

View file

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

View file

@ -11,6 +11,10 @@ vim.opt.softtabstop = 2
vim.opt.shiftwidth = 2 vim.opt.shiftwidth = 2
vim.opt.shiftround = true 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.keymap.set("n", "<leader>h", ":nohlsearch<CR>")
vim.wo.relativenumber = true vim.wo.relativenumber = true