Compare commits
5
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4a016cca6a | ||
|
|
5dc7130694 | ||
|
|
8b02424a6d | ||
|
|
069bcde580 | ||
|
|
539ef3b299 |
@@ -201,3 +201,4 @@ export MANPAGER='nvim +Man!'
|
|||||||
|
|
||||||
# Created by `pipx` on 2026-04-22 15:46:28
|
# Created by `pipx` on 2026-04-22 15:46:28
|
||||||
export PATH="$PATH:/Users/matt/.local/bin"
|
export PATH="$PATH:/Users/matt/.local/bin"
|
||||||
|
export PATH="/usr/local/go/bin:$PATH"
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
keybind = global:ctrl+a=toggle_quick_terminal
|
keybind = global:ctrl+a=toggle_quick_terminal
|
||||||
quick-terminal-size = 100%
|
quick-terminal-size = 100%
|
||||||
|
macos-secure-input-indication = false
|
||||||
|
|
||||||
theme = dark:default-dark,light:default-light
|
theme = dark:default-dark,light:default-light
|
||||||
|
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ k9s:
|
|||||||
reactive: false
|
reactive: false
|
||||||
noIcons: false
|
noIcons: false
|
||||||
defaultsToFullScreen: false
|
defaultsToFullScreen: false
|
||||||
skin: monodark
|
skin: default-dark
|
||||||
skipLatestRevCheck: false
|
skipLatestRevCheck: false
|
||||||
disablePodCounting: false
|
disablePodCounting: false
|
||||||
shellPod:
|
shellPod:
|
||||||
|
|||||||
@@ -3,9 +3,9 @@
|
|||||||
appearance=$(defaults read -g AppleInterfaceStyle 2>/dev/null)
|
appearance=$(defaults read -g AppleInterfaceStyle 2>/dev/null)
|
||||||
|
|
||||||
if [[ "$appearance" = "Dark" ]]; then
|
if [[ "$appearance" = "Dark" ]]; then
|
||||||
skin="monodark"
|
skin="default-dark"
|
||||||
else
|
else
|
||||||
skin="monolight"
|
skin="default-light"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
config_file="$HOME/doc/dev/dotfiles/k9s/.config/k9s/config.yaml"
|
config_file="$HOME/doc/dev/dotfiles/k9s/.config/k9s/config.yaml"
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
# regardless of terminal theme handling.
|
# regardless of terminal theme handling.
|
||||||
|
|
||||||
foreground: &foreground "#d8d8d8"
|
foreground: &foreground "#d8d8d8"
|
||||||
background: &background "#111111"
|
background: &background "#000000"
|
||||||
black: &black "#111111"
|
black: &black "#000000"
|
||||||
blue: &blue "#7cafc2"
|
blue: &blue "#7cafc2"
|
||||||
green: &green "#a1b56c"
|
green: &green "#a1b56c"
|
||||||
grey: &grey "#585858"
|
grey: &grey "#585858"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# Default Dark — matches ghostty/.config/ghostty/themes/default-dark.
|
# Default Dark — matches ghostty/.config/ghostty/themes/default-dark.
|
||||||
background #111111
|
background #000000
|
||||||
foreground #d8d8d8
|
foreground #d8d8d8
|
||||||
selection_background #383838
|
selection_background #383838
|
||||||
selection_foreground #111111
|
selection_foreground #111111
|
||||||
|
|||||||
@@ -3,12 +3,15 @@ vim.api.nvim_create_autocmd('LspAttach', {
|
|||||||
callback = function(ev)
|
callback = function(ev)
|
||||||
local client = assert(vim.lsp.get_client_by_id(ev.data.client_id))
|
local client = assert(vim.lsp.get_client_by_id(ev.data.client_id))
|
||||||
if client:supports_method('textDocument/completion') then
|
if client:supports_method('textDocument/completion') then
|
||||||
vim.lsp.completion.enable(true, client.id, ev.buf, { autotrigger = true })
|
vim.lsp.completion.enable(true, client.id, ev.buf, { autotrigger = false })
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
vim.filetype.add({
|
vim.filetype.add({
|
||||||
|
extension = {
|
||||||
|
jenkinsfile = "groovy",
|
||||||
|
},
|
||||||
pattern = {
|
pattern = {
|
||||||
["compose.*%.ya?ml"] = "yaml.docker-compose",
|
["compose.*%.ya?ml"] = "yaml.docker-compose",
|
||||||
["docker%-compose.*%.ya?ml"] = "yaml.docker-compose",
|
["docker%-compose.*%.ya?ml"] = "yaml.docker-compose",
|
||||||
@@ -120,6 +123,15 @@ vim.lsp.config('yamlls', {
|
|||||||
})
|
})
|
||||||
vim.lsp.enable('yamlls')
|
vim.lsp.enable('yamlls')
|
||||||
|
|
||||||
|
vim.api.nvim_create_autocmd('LspAttach', {
|
||||||
|
group = vim.api.nvim_create_augroup('UserLspConfig', {}),
|
||||||
|
callback = function(ev)
|
||||||
|
vim.keymap.set('n', '<space>f', function()
|
||||||
|
vim.lsp.buf.format { async = true }
|
||||||
|
end, opts)
|
||||||
|
end,
|
||||||
|
})
|
||||||
|
|
||||||
-- DAP Setup
|
-- DAP Setup
|
||||||
-- require('dap-python').setup('~/venv/bin/python')
|
-- require('dap-python').setup('~/venv/bin/python')
|
||||||
-- require('dap-go').setup()
|
-- require('dap-go').setup()
|
||||||
|
|||||||
@@ -1,7 +1,8 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://opencode.ai/v2/cli.json",
|
"$schema": "https://opencode.ai/v2/cli.json",
|
||||||
"theme": {
|
"theme": {
|
||||||
"name": "system"
|
"name": "system",
|
||||||
|
"mode": "system"
|
||||||
},
|
},
|
||||||
"session": {
|
"session": {
|
||||||
"sidebar": "hide"
|
"sidebar": "hide"
|
||||||
|
|||||||
@@ -8,4 +8,14 @@
|
|||||||
"enabled": true
|
"enabled": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"permission": {
|
||||||
|
"bash": {
|
||||||
|
"*": "ask",
|
||||||
|
"kubectl *": "ask",
|
||||||
|
"kubectl get *": "allow",
|
||||||
|
"kubectl describe *": "allow",
|
||||||
|
"kubectl logs *": "allow",
|
||||||
|
"kubectl top *": "allow"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+3
-4
@@ -1,6 +1,5 @@
|
|||||||
# set-option -g default-command "exec /usr/local/bin/bash --login"
|
# set-option -g default-command "exec /usr/local/bin/bash --login"
|
||||||
set-option -g status-style bg=default
|
set-option -g status-style bg=default
|
||||||
bind s choose-tree -Zs -O name
|
|
||||||
set-option -g status-position top
|
set-option -g status-position top
|
||||||
|
|
||||||
# Number windows from 1 and close gaps when windows are removed
|
# Number windows from 1 and close gaps when windows are removed
|
||||||
@@ -14,8 +13,8 @@ set -g prefix C-space
|
|||||||
unbind-key C-b
|
unbind-key C-b
|
||||||
bind-key C-space send-prefix
|
bind-key C-space send-prefix
|
||||||
|
|
||||||
# Sort the session picker by name
|
# Sort the session picker by name; shortcuts start at 1, then Alt-a after 9
|
||||||
bind s choose-tree -Zs -O name
|
bind s choose-tree -Zs -O name -K '#{?#{e|<:#{line},9},#{e|+:#{line},1},#{?#{e|<:#{line},35},M-#{a:#{e|+:97,#{e|-:#{line},9}}},}}'
|
||||||
|
|
||||||
# Set new panes to open in current directory
|
# Set new panes to open in current directory
|
||||||
bind c new-window -c "#{pane_current_path}"
|
bind c new-window -c "#{pane_current_path}"
|
||||||
@@ -86,4 +85,4 @@ bind -T off-prefix Any \
|
|||||||
send-keys C-Space \;\
|
send-keys C-Space \;\
|
||||||
send-keys
|
send-keys
|
||||||
|
|
||||||
bind z run-shell "~/.config/tmux/scripts/tmux-zen.sh 120"
|
# bind z run-shell "~/.config/tmux/scripts/tmux-zen.sh 120"
|
||||||
|
|||||||
Reference in New Issue
Block a user