diff --git a/.zshrc b/.zshrc index 915ec28..ac4d8e8 100644 --- a/.zshrc +++ b/.zshrc @@ -19,6 +19,7 @@ export MANPAGER="sh -c \"col -b | vim -c 'set ft=man ts=8 nomod nolist nonu' \ -c 'nnoremap ' \ -c 'noremap q :quit' -\"" export KUBECONFIG=$(echo `ls ~/.kube/*config*` | sed 's/ /:/g') +export HELM_CACHE_HOME=$HOME/.cache/helm export FZF_DEFAULT_OPTS="--height=50% --layout=reverse" export GPG_TTY=$(tty) diff --git a/nvim/lua/config/lsp-setup.lua b/nvim/lua/config/lsp-setup.lua index 4da2519..684bd19 100644 --- a/nvim/lua/config/lsp-setup.lua +++ b/nvim/lua/config/lsp-setup.lua @@ -28,13 +28,13 @@ local servers = { '/*swagger.yml', }, Kubernetes = { - '/*ingress.yaml', - '/*deployment.yaml', - '/*statefulset.yaml', - '/*configmap.yaml', + '/*ing.yaml', + '/*deploy.yaml', + '/*sts.yaml', + '/*cm.yaml', '/*secret.yaml', '/*kustomization.yaml', - '/*service.yaml', + '/*svc.yaml', }, --['https://raw.githubusercontent.com/instrumenta/kubernetes-json-schema/master/v1.18.0-standalone-strict/all.json'] = '/*.k8s.yaml', }, diff --git a/wezterm/wezterm.lua b/wezterm/wezterm.lua index 2d85c12..b3c3037 100644 --- a/wezterm/wezterm.lua +++ b/wezterm/wezterm.lua @@ -1,4 +1,5 @@ local wezterm = require('wezterm') +local act = wezterm.action return { default_cwd = wezterm.home_dir .. '/work', font_size = 14, @@ -49,7 +50,36 @@ return { keys = { --{ key = 'l', mods = 'CMD', action = wezterm.action({ ShowLauncherArgs = { flags = 'FUZZY|DOMAINS' } }) }, --{ key = 's', mods = 'CMD', action = wezterm.action({ ShowLauncherArgs = { flags = 'FUZZY|WORKSPACES' } }) }, + { key = 'e', mods = 'CMD', action = wezterm.action({ EmitEvent = 'window-visible-text' }) }, + { key = 'l', mods = 'CMD', action = wezterm.action({ ShowLauncherArgs = { flags = 'DOMAINS' } }) }, { key = 'w', mods = 'CMD', action = wezterm.action({ CloseCurrentPane = { confirm = false } }) }, + { key = 'd', mods = 'CMD', action = wezterm.action({ SplitHorizontal = { domain = 'CurrentPaneDomain' } }) }, + { + key = 'd', + mods = 'CMD|SHIFT', + action = wezterm.action({ SplitVertical = { domain = 'CurrentPaneDomain' } }), + }, + { + key = '[', + mods = 'CMD', + action = wezterm.action({ ActivatePaneDirection = 'Next' }), + }, + { + key = ']', + mods = 'CMD', + action = wezterm.action({ ActivatePaneDirection = 'Prev' }), + }, + { + key = '>', + mods = 'CMD|SHIFT', + action = wezterm.action.MoveTabRelative(1), + }, + { + key = '<', + mods = 'CMD|SHIFT', + action = wezterm.action.MoveTabRelative(-1), + }, + { key = 'Enter', mods = 'CMD', action = 'ToggleFullScreen' }, }, -- hyperlink_rules = { -- {