4 Commits

Author SHA1 Message Date
Jacob Bohanon
85b8e773ce Merge branch 'main' of ssh://192.168.10.50:30009/jacob/.dotfiles into local-on-thinkpad 2026-06-06 10:58:53 -04:00
e2521a2df3 changes from personal machine 2026-06-06 10:55:27 -04:00
c03ee8019e Changes returning to solo.io (#1)
1. Add ghostty config
2. Revise the nvim-lsp config to remedy deprecation warnings
3. Add back solo.zsh with enhancements

Reviewed-on: #1
Co-authored-by: Jacob Bohanon <jacobbohanon@gmail.com>
Co-committed-by: Jacob Bohanon <jacobbohanon@gmail.com>
2026-06-01 12:05:40 -04:00
5341a19141 puuuuuush 2025-04-01 01:00:13 -04:00
3 changed files with 35 additions and 1 deletions

View File

@@ -19,3 +19,8 @@ lines = 115
[window.position] [window.position]
x = 1550 x = 1550
y = 0 y = 0
[keyboard]
bindings = [
{ key = "Return", mods = "Shift", chars = "\n" }
]

View File

@@ -9,7 +9,7 @@ echo "PKGUPD: ${PKGUPD}"
echo "PKGINST: ${PKGINST}" echo "PKGINST: ${PKGINST}"
# Install zsh, neovim, ripgrep, fd # Install zsh, neovim, ripgrep, fd
[[ $PKGINST != '' ]] && $PKGUPD && $PKGINST curl tmux zsh ripgrep fd-find fzf [[ $PKGINST != '' ]] && $PKGUPD && $PKGINST curl tmux zsh ripgrep fd-find fzf tree
# Install neovim # Install neovim
pushd /tmp || true pushd /tmp || true

29
zsh/config.d/fzf.zsh Normal file
View File

@@ -0,0 +1,29 @@
cdf_preview() {
if [ -d $1 ]; then
tree -L 1 $1
else
cat $1
fi
}
# cdf - cd with fuzzy finder
# Usage: cdf [path]
cdf() {
local fd_options fzf_options target
fd_options=(
--hidden
)
fzf_options=(
# --preview='echo {}'
--preview='([[ -d {} ]] && tree -L 1 {}) || ([[ -L {} ]] && ls -al {}) || cat {}'
--bind=ctrl-space:toggle-preview
--exit-0
)
target="$(fdfind . "${1:-.}" "${fd_options[@]}" | fzf "${fzf_options[@]}")"
([[ -f "$target" ]] || [[ -L "$target" ]]) && target="${target%/*}"
cd "$target" || return 1
}