aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorStefan Weigl-Bosker <stefan@s00.xyz>2025-03-23 18:25:59 -0400
committerStefan Weigl-Bosker <stefan@s00.xyz>2025-03-23 18:25:59 -0400
commit2b9b97ca70a7eb6121489f5ba2b40ee3077f332b (patch)
treed80b4197fd6aefb522b98e77f6a5bc7fe87d8ab3 /modules
parent320f194acd371b401168d0c9aa399918c682c8de (diff)
downloadhome-2b9b97ca70a7eb6121489f5ba2b40ee3077f332b.tar.gz
update
Diffstat (limited to 'modules')
-rw-r--r--modules/neovim/nvim/lua/config/lsp.lua8
-rw-r--r--modules/tmux/default.nix13
2 files changed, 13 insertions, 8 deletions
diff --git a/modules/neovim/nvim/lua/config/lsp.lua b/modules/neovim/nvim/lua/config/lsp.lua
index 3313fff..be50537 100644
--- a/modules/neovim/nvim/lua/config/lsp.lua
+++ b/modules/neovim/nvim/lua/config/lsp.lua
@@ -18,7 +18,7 @@ require('blink.cmp').setup({
},
menu = {
border = "rounded",
- auto_show = true,
+ auto_show = false,
},
documentation = { window = { border = 'rounded' } },
},
@@ -47,9 +47,9 @@ vim.api.nvim_create_autocmd("LspAttach", { callback = function(args)
end, { desc = "Goto definition (LSP)" })
vim.keymap.set('n', 'E', '<cmd>lua vim.lsp.buf.hover()<CR>', { silent = true })
- if client:supports_method(methods.textDocument_inlayHint) then
- vim.lsp.inlay_hint.enable()
- end
+ -- if client:supports_method(methods.textDocument_inlayHint) then
+ -- vim.lsp.inlay_hint.enable()
+ -- end
if client:supports_method(methods.textDocument_formatting) then
vim.api.nvim_create_autocmd("BufWritePre", {
diff --git a/modules/tmux/default.nix b/modules/tmux/default.nix
index a74d447..17a03eb 100644
--- a/modules/tmux/default.nix
+++ b/modules/tmux/default.nix
@@ -22,14 +22,19 @@ in
plugin = resurrect;
extraConfig = ''
set -g @resurrect-strategy-nvim 'session'
+ set -g @resurrect-processes '"~ssh" lazygit'
+ '';
+ }
+ {
+ plugin = continuum;
+ extraConfig = ''
+ set -g @continuum-restore 'on'
'';
}
];
extraConfig = ''
set -g default-terminal "screen-256color"
- set -g default-command zsh
-# screen-256 ls colors broken, zsh fixed
-# screen ls colors fixed, zsh autosuggestions broken
+ set -g default-command zsh # this fixes colors for some reason
set -g renumber-windows on
bind R source-file ~/.config/tmux/tmux.conf
@@ -91,7 +96,7 @@ in
bind \[ swap-pane -U
bind \] swap-pane -D
- bind v copy-mode-vi
+ bind v copy-mode
bind F resize-pane -Z
bind h select-pane -m