Compare commits

...
8 Commits
13 changed files with 67 additions and 18 deletions
+3 -1
View File
@@ -67,7 +67,8 @@ n ()
# The command builtin allows one to alias nnn to n, if desired, without
# making an infinitely recursive alias
command nnn -C -a "$@"
# command nnn -C -a "$@"
NNN_COLORS=44444444 command nnn -D -a "$@"
[ ! -f "$NNN_TMPFILE" ] || {
. "$NNN_TMPFILE"
@@ -201,3 +202,4 @@ export MANPAGER='nvim +Man!'
# Created by `pipx` on 2026-04-22 15:46:28
export PATH="$PATH:/Users/matt/.local/bin"
export PATH="/usr/local/go/bin:$PATH"
+1
View File
@@ -1,5 +1,6 @@
keybind = global:ctrl+a=toggle_quick_terminal
quick-terminal-size = 100%
macos-secure-input-indication = false
theme = dark:default-dark,light:default-light
+1 -1
View File
@@ -13,7 +13,7 @@ k9s:
reactive: false
noIcons: false
defaultsToFullScreen: false
skin: monodark
skin: default-dark
skipLatestRevCheck: false
disablePodCounting: false
shellPod:
+2 -2
View File
@@ -3,9 +3,9 @@
appearance=$(defaults read -g AppleInterfaceStyle 2>/dev/null)
if [[ "$appearance" = "Dark" ]]; then
skin="monodark"
skin="default-dark"
else
skin="monolight"
skin="default-light"
fi
config_file="$HOME/doc/dev/dotfiles/k9s/.config/k9s/config.yaml"
+2 -2
View File
@@ -4,8 +4,8 @@
# regardless of terminal theme handling.
foreground: &foreground "#d8d8d8"
background: &background "#111111"
black: &black "#111111"
background: &background "#000000"
black: &black "#000000"
blue: &blue "#7cafc2"
green: &green "#a1b56c"
grey: &grey "#585858"
+2
View File
@@ -7,3 +7,5 @@ map cmd+ctrl+l no_op
# macOS icon: kitty.app.icns links to the system Terminal icon.
# Kitty applies this automatically at startup.
allow_remote_control socket-only
listen_on unix:${TMPDIR}/kitty
+13 -1
View File
@@ -3,12 +3,15 @@ vim.api.nvim_create_autocmd('LspAttach', {
callback = function(ev)
local client = assert(vim.lsp.get_client_by_id(ev.data.client_id))
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,
})
vim.filetype.add({
extension = {
jenkinsfile = "groovy",
},
pattern = {
["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.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
-- require('dap-python').setup('~/venv/bin/python')
-- require('dap-go').setup()
+2 -2
View File
@@ -13,8 +13,8 @@ vim.api.nvim_set_keymap('n', '<C-f>', ':NnnPicker %:p:h<CR>', { noremap = true }
vim.api.nvim_set_keymap('t', '<C-f>', '<cmd>NnnPicker %:p:h<CR>', { noremap = true })
-- nvim-tree
vim.api.nvim_set_keymap('n', '<C-b>', '<cmd>NvimTreeToggle <CR>', { noremap = true })
vim.api.nvim_set_keymap('n', '<leader>b', ':NvimTreeResize ', { noremap = true })
-- vim.api.nvim_set_keymap('n', '<C-b>', '<cmd>NvimTreeToggle <CR>', { noremap = true })
-- vim.api.nvim_set_keymap('n', '<leader>b', ':NvimTreeResize ', { noremap = true })
-- Telescope
vim.keymap.set('n', '<C-l>', builtin.find_files, {})
+3 -2
View File
@@ -153,7 +153,7 @@ require('nnn').setup({
picker = {
cmd = "nnn -C",
-- Fill the editor even when opening from an existing file or split.
style = { width = 1, height = 1, xoffset = 0, yoffset = 0, border = "none" },
style = { width = 1, height = 1, xoffset = 0, yoffset = 0, border = "single" },
fullscreen = true,
},
})
@@ -186,7 +186,8 @@ require('telescope').setup({
width = function(_, columns) return columns end,
height = function(_, _, lines) return lines end,
},
border = false,
border = true,
borderchars = { "─", "│", "─", "│", "┌", "┐", "┘", "└" },
file_ignore_patterns = {
"%.git/",
"node_modules/",
+23 -2
View File
@@ -19,6 +19,9 @@ vim.o.splitright = true
vim.o.maxmempattern = 100000
vim.g.clipboard = "osc52"
-- Leave room beside the completion menu for documentation.
vim.o.pummaxwidth = 50
function _G.org_foldexpr()
local stars = vim.fn.getline(vim.v.lnum):match("^(%*+)%s")
return stars and (">" .. #stars) or "="
@@ -61,8 +64,8 @@ vim.cmd([[
syntax on
set notermguicolors
set pumborder=rounded
set winborder=none
set pumborder=single
set winborder=single
colorscheme default
]])
@@ -82,3 +85,21 @@ vim.cmd([[
-- colorscheme default
-- ]])
-- autocmd ColorScheme * highlight Folded cterm=italic ctermfg=lightgray ctermbg=18
-- The native completion documentation popup does not inherit 'winborder'.
vim.api.nvim_create_autocmd("CompleteChanged", {
group = vim.api.nvim_create_augroup("CompletionDocBorder", { clear = true }),
callback = function()
local function set_border()
-- Neovim returns preview_winid together with the selected item.
local win = vim.fn.complete_info({ "selected" }).preview_winid
if win and win > 0 and vim.api.nvim_win_is_valid(win) then
vim.api.nvim_win_set_config(win, { border = "single" })
end
end
vim.schedule(set_border)
-- LSP documentation can arrive after the selection changes.
vim.defer_fn(set_border, 300)
end,
})
+2 -1
View File
@@ -1,7 +1,8 @@
{
"$schema": "https://opencode.ai/v2/cli.json",
"theme": {
"name": "system"
"name": "system",
"mode": "system"
},
"session": {
"sidebar": "hide"
+10
View File
@@ -8,4 +8,14 @@
"enabled": true
}
},
"permission": {
"bash": {
"*": "ask",
"kubectl *": "ask",
"kubectl get *": "allow",
"kubectl describe *": "allow",
"kubectl logs *": "allow",
"kubectl top *": "allow"
}
}
}
+3 -4
View File
@@ -1,6 +1,5 @@
# set-option -g default-command "exec /usr/local/bin/bash --login"
set-option -g status-style bg=default
bind s choose-tree -Zs -O name
set-option -g status-position top
# Number windows from 1 and close gaps when windows are removed
@@ -14,8 +13,8 @@ set -g prefix C-space
unbind-key C-b
bind-key C-space send-prefix
# Sort the session picker by name
bind s choose-tree -Zs -O name
# Sort the session picker by name; shortcuts start at 1, then Alt-a after 9
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
bind c new-window -c "#{pane_current_path}"
@@ -86,4 +85,4 @@ bind -T off-prefix Any \
send-keys C-Space \;\
send-keys
bind z run-shell "~/.config/tmux/scripts/tmux-zen.sh 120"
# bind z run-shell "~/.config/tmux/scripts/tmux-zen.sh 120"