From 47c8f029d4517ffeb4df1f26f7eb781e94529c4e Mon Sep 17 00:00:00 2001 From: Jason Swank <632526+jswank@users.noreply.github.com> Date: Mon, 20 Oct 2025 01:07:11 +0000 Subject: [PATCH] cfa --- nvim/.config/nvim/init.vim | 10 ++++++++-- ssh/.ssh/scalene-config | 4 ++-- zsh/.zshenv | 3 +++ 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim index 007f2a0..64df4e5 100644 --- a/nvim/.config/nvim/init.vim +++ b/nvim/.config/nvim/init.vim @@ -40,8 +40,14 @@ iab idate =strftime("%Y-%m-%d") " use \ toc to insert a table of contents for markdown from the current line to EOF nmap toc .put =execute('.,$write !gh-md-toc --hide-header --hide-footer') -" use \ tf to format a buffer as terraform -nmap tf !terraform fmt % +" use \ tf to format a buffer as tofu / terraform +nmap tf % !tofu fmt -no-color - + +" use \ jn to format a buffer as Jsonnet +nmap jn % !jsonnetfmt - + +" use \ js to format a buffer as JSON +nmap js % !jq . - set lazyredraw " redraw only when req'd set wildmenu " visual auto-complete diff --git a/ssh/.ssh/scalene-config b/ssh/.ssh/scalene-config index 8a73467..7ace509 100644 --- a/ssh/.ssh/scalene-config +++ b/ssh/.ssh/scalene-config @@ -8,5 +8,5 @@ Host www.scalene.net Host tilde.club User eke -Match host git.scalene.net exec "ip route |grep -q -E '^(192.168.101.0/24|100.115.92.192/28)'" - Hostname tonttu.scalene.net +#Match host git.scalene.net exec "ip route |grep -q -E '^(192.168.101.0/24)'" +# Hostname tonttu.scalene.net diff --git a/zsh/.zshenv b/zsh/.zshenv index 665c755..cb9706b 100644 --- a/zsh/.zshenv +++ b/zsh/.zshenv @@ -19,3 +19,6 @@ export GOPATH=~/go #export PATH export TMPDIR=/var/tmp + +export BROWSER=open_browser.sh +export TF_PLUGIN_CACHE_DIR=~/cfa-work/.tf_cache