mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 09:27:44 -04:00
Merge pull request #349 from genebean/stuff
Mouse stuff in nvim & tmux, GitKraken alias, esptool
This commit is contained in:
commit
f3a581d98a
3 changed files with 9 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue