refactor: vim9/gitbash config feedback — catppuccin, XDG, prompt latency - #2
Open
ethan-sargent wants to merge 2 commits into
Open
refactor: vim9/gitbash config feedback — catppuccin, XDG, prompt latency#2ethan-sargent wants to merge 2 commits into
ethan-sargent wants to merge 2 commits into
Conversation
- catppuccin_mocha colorscheme (catppuccin/vim added to plugin
installs; packadd! in vimrc since start packages join rtp after
the vimrc is sourced), habamax as fallback
- add DECSCUSR cursor sequences: blinking bar/underline/block for
insert/replace/normal (t_SI/t_SR/t_EI)
- simplify statusline: drop mode-map and existence-check wrapper
functions (%{} items are lazily evaluated, and vim9 defs fail to
compile against missing functions anyway); org name is now a plain
global refreshed on enter/dir-change, fugitive used directly via
FugitiveStatusline(); rely on native showmode
- set belloff=all
- XDG layout: link the whole vim/ dir to $XDG_CONFIG_HOME/vim
instead of ~/.vimrc (which makes vim skip XDG entirely); plugins
now live in vim/pack/vendor/start (gitignored); undo files under
$XDG_STATE_HOME/vim/undo
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TLBtrSbsBvGGmmtLFcxyp7
- move :colorscheme to after/plugin/colorscheme.vim — runs once pack/*/start packages are on the runtimepath, still before first draw, so no packadd needed - pack layout is now pack/<vendor>/start/<plugin>: tpope plugins under pack/tpope/, colorschemes grouped under pack/colors/; setup.sh migrates away from the old pack/vendor/* layout - drop the custom bash prompt: node/git subprocesses per prompt add noticeable latency on Windows; Git Bash's stock prompt already shows path + branch, and dxenv covers the org on demand - readline cursor shapes now use the blinking variants (bar 5 for insert, block 1 for command) to match Windows Terminal defaults - bell disabled in bashrc too via bind, in case .inputrc isn't linked Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TLBtrSbsBvGGmmtLFcxyp7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Post-merge feedback fixes for the Vim 9 + Git Bash config:
pack/colors/start/catppuccin; the:colorschemecall lives inafter/plugin/colorscheme.vim(runs after start packages join the runtimepath, still before first draw — nopackaddneeded), with habamax fallbackpack/<vendor>/start/<plugin>— tpope plugins underpack/tpope/, colorschemes grouped underpack/colors/; setup.sh migrates away from the oldpack/vendor/*layoutvim/dir symlinked to$XDG_CONFIG_HOME/vim; any~/.vimrcis moved aside since its existence makes vim skip XDG config entirely; undo files under$XDG_STATE_HOME/vim/undo; cloned plugins gitignored viavim/pack/t_SI/t_SR/t_EIfor blinking bar/underline/block in insert/replace/normal; readlinevi-ins-mode-string/vi-cmd-mode-stringswitched to the blinking variants%{FugitiveStatusline()}, nativeshowmodefor mode displaydxenvshows the org on demandbelloff=allin vim,bind 'set bell-style none'in bashrc alongside the existing.inputrcsettingTest plan
bash/setup.sh; confirm$XDG_CONFIG_HOME/vimsymlink, plugins underpack/tpope/andpack/colors/, oldpack/vendor/removed~/.vimrcpresent; confirm catppuccin mocha applies with no flash of default colors and no startup errors🤖 Generated with Claude Code
https://claude.ai/code/session_01TLBtrSbsBvGGmmtLFcxyp7
Generated by Claude Code