Compare commits

..

13 Commits

Author SHA1 Message Date
dc03420d3d nvim: Update other plugins 2025-09-12 02:09:12 +02:00
988793a4a4 nvim: Update schema-companion and kubernetes matcher 2025-09-12 02:08:50 +02:00
2dfbffb423 nvim: Switch back to fzf for fuzzy finding
Since I am now using fzf for a bunch of other things as well it made
sense to switch back in smart open as well.
2025-09-12 00:53:36 +02:00
037dd5af28 nvim: Update smart-open to fix pause when opening 2025-09-12 00:49:46 +02:00
581bbc5cf2 tmux: Enable detach-on-destroy for scratch sessions 2025-09-12 00:47:25 +02:00
96110678ba nvim: Added keybind to cargo run in shell window 2025-09-11 21:30:40 +02:00
79f804fd79 tmux: Added plugin for selecting urls with the keyboard 2025-09-11 04:31:13 +02:00
cd24c6a2c8 tmux: Improve kill keybinds and pervent tmux from closing when there are still sessions 2025-09-11 04:13:33 +02:00
9fc0c80542 sesh: Created preconfigured sessions 2025-09-11 04:13:32 +02:00
6f2ac986df tmux: Use sesh for tmux session management
The zsh tmux plugin has been removed and instead fzf is shown to select
a session.
2025-09-11 02:17:11 +02:00
a5febcddf6 fzf: Improve border label 2025-09-11 01:47:32 +02:00
2250a56599 zsh: Improve how command availability is detected 2025-09-11 01:46:54 +02:00
221a1c4a9a nvim: Accidentally removed bufresize at some point 2025-09-11 01:36:41 +02:00
12 changed files with 19 additions and 67 deletions

View File

@@ -1 +0,0 @@
../git/dot-local

View File

@@ -24,7 +24,7 @@
tool = nvimdiff
[init]
defaultBranch = main
defaultBranch = master
[rebase]
autosquash = true

View File

@@ -5,7 +5,6 @@
"bufferline.nvim": { "branch": "main", "commit": "655133c3b4c3e5e05ec549b9f8cc2894ac6f51b3" },
"bufresize.nvim": { "branch": "master", "commit": "3b19527ab936d6910484dcc20fb59bdb12322d8b" },
"conform.nvim": { "branch": "master", "commit": "b4aab989db276993ea5dcb78872be494ce546521" },
"crates.nvim": { "branch": "main", "commit": "afcd1cc3eeceb5783676fc8464389b9216a29d05" },
"eyeliner.nvim": { "branch": "main", "commit": "8f197eb30cecdf4c2cc9988a5eecc6bc34c0c7d6" },
"fidget.nvim": { "branch": "main", "commit": "4d5858bd4c471c895060e1b9f3575f1551184dc5" },
"friendly-snippets": { "branch": "main", "commit": "572f5660cf05f8cd8834e096d7b4c921ba18e175" },
@@ -25,7 +24,7 @@
"nvim-colorizer.lua": { "branch": "master", "commit": "51cf7c995ed1eb6642aecf19067ee634fa1b6ba2" },
"nvim-dap": { "branch": "master", "commit": "b0f983507e3702f073bfe1516846e58b56d4e42f" },
"nvim-dap-virtual-text": { "branch": "master", "commit": "fbdb48c2ed45f4a8293d0d483f7730d24467ccb6" },
"nvim-lspconfig": { "branch": "master", "commit": "ac98db2f9f06a56498ec890a96928774eae412c3" },
"nvim-lspconfig": { "branch": "master", "commit": "d89f4891f0720cd2598e4bdd60010d8784b2ac8a" },
"nvim-surround": { "branch": "main", "commit": "a868c256c861044beb9794b4dd126480dcdfbdad" },
"nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" },
"nvim-treesitter-textobjects": { "branch": "master", "commit": "71385f191ec06ffc60e80e6b0c9a9d5daed4824c" },
@@ -47,5 +46,5 @@
"trouble.nvim": { "branch": "main", "commit": "85bedb7eb7fa331a2ccbecb9202d8abba64d37b3" },
"ultimate-autopair.nvim": { "branch": "v0.6", "commit": "74163ac321c7d208a5bb9cdf8964114c7064d6c7" },
"undotree": { "branch": "master", "commit": "fe9a9d0645f0f5532360b5e5f5c550d7bb4f1869" },
"which-key.nvim": { "branch": "winborder-support", "commit": "ab1a3b0d3005a95507ba6c18b96531d430370885" }
"which-key.nvim": { "branch": "main", "commit": "370ec46f710e058c9c1646273e6b225acf47cbed" }
}

View File

@@ -1,23 +1,8 @@
return {
settings = {
Lua = {
workspace = {
checkThirdParty = false,
library = {
"./definitions",
},
},
workspace = { checkThirdParty = false },
telemetry = { enable = false },
type = {
checkTableShape = true,
},
diagnostics = {
neededFileStatus = {
-- ["no-unknown"] = "Opened",
-- ["incomplete-signature-doc"] = "Opened",
-- ["await-in-sync"] = "Opened",
},
},
},
},
}

View File

@@ -148,10 +148,7 @@ vim.api.nvim_create_autocmd("LspAttach", {
end,
})
-- Manually enable lsps, if installed
-- Manually enable rust analyzer, if installed
if vim.fn.executable("rust_analyzer") then
vim.lsp.enable("rust_analyzer")
end
if vim.fn.executable("vtsls") then
vim.lsp.enable("vtsls")
end

View File

@@ -1,6 +1,4 @@
-- https://github.com/kwkarlwang/bufresize.nvim
--- @module "lazy"
--- @type LazySpec
return {
"kwkarlwang/bufresize.nvim",
opts = {},

View File

@@ -5,15 +5,15 @@ local formatters_by_ft = {
go = { "goimports" },
python = { "ruff_organize_imports", "ruff_format" },
rust = { "rustfmt" },
javascript = { "prettier" },
javascriptreact = { "prettier" },
typescript = { "prettier" },
typescriptreact = { "prettier" },
css = { "prettier" },
markdown = { "prettier" },
yaml = { "prettier" },
javascript = { "prettierd" },
javascriptreact = { "prettierd" },
typescript = { "prettierd" },
typescriptreact = { "prettierd" },
css = { "prettierd" },
markdown = { "prettierd" },
yaml = { "prettierd" },
lua = { "stylua" },
json = { "prettier" },
json = { "prettierd" },
toml = { "taplo" },
-- ["*"] = { "injected" },
["_"] = { "trim_whitespace", "trim_newlines" },

View File

@@ -1,21 +0,0 @@
-- https://github.com/Saecki/crates.nvim
--- @module "lazy"
--- @type LazySpec
return {
"Saecki/crates.nvim",
event = { "BufRead Cargo.toml" },
tag = "stable",
--- @type crates.UserConfig
opts = {
popup = {
hide_on_select = true,
border = require("symbols.window").border,
},
lsp = {
enabled = true,
actions = true,
completion = true,
hover = true,
},
},
}

View File

@@ -24,9 +24,8 @@ local ensure_installed = {
end,
},
"ruff",
"prettier",
"prettierd",
"stylua",
"eslint",
}
--- @module "lazy"

View File

@@ -3,9 +3,7 @@ local window = require("symbols.window")
--- @module "lazy"
--- @type LazySpec
return {
-- "folke/which-key.nvim",
"cameronr/which-key.nvim",
branch = "winborder-support",
"folke/which-key.nvim",
event = "VeryLazy",
--- @module "which-key"
--- @type wk.Opts

View File

@@ -55,7 +55,7 @@ export EDITOR=nvim
alias cl="clear"
if (( $+commands[bat] )); then
if (( $+commands[hash] )); then
export BAT_THEME="gruvbox-dark"
alias cat=bat
fi
@@ -87,14 +87,12 @@ if (( $+commands[devcontainer] )); then
}
fi
if (( $+commands[pnpm] )); then
export PNPM_HOME="/home/tim/.local/share/pnpm"
if [ -d "$PNPM_HOME" ]; then
case ":$PATH:" in
*":$PNPM_HOME:"*) ;;
*) export PATH="$PNPM_HOME:$PATH" ;;
esac
else
unset PNPM_HOME
fi
export FZF_DEFAULT_OPTS='--tmux'
@@ -143,7 +141,7 @@ done
ZSH_TMUX_AUTOSTART=true
if (( $+commands[tmux] )); then
if [[ -z "$TMUX" && "$ZSH_TMUX_AUTOSTART" == "true" && -z "$INSIDE_EMACS" && -z "$EMACS" && -z "$VIM" && -z "$INTELLIJ_ENVIRONMENT_READER" && -z "$ZED_TERM" ]]; then
if (( $+commands[sesh] )) && (( $+commands[sesh-select] )); then
if (( $+commands[sesh] )); then
sesh-select
else
tmux new-session