mirror of
https://github.com/Xevion/dotfiles.git
synced 2026-01-31 04:24:10 -06:00
feat: add fzf.fish modifier script, Kitty padding, and fix Fisher update timing
This commit is contained in:
+20
@@ -0,0 +1,20 @@
|
|||||||
|
#!/usr/bin/env bun
|
||||||
|
|
||||||
|
// Modify fzf.fish to disable default CTRL+R binding (allow Atuin to handle it)
|
||||||
|
// This is a chezmoi modify_ script that processes fzf.fish on every apply
|
||||||
|
|
||||||
|
const content = await Bun.stdin.text();
|
||||||
|
const lines = content.split('\n');
|
||||||
|
|
||||||
|
// Find and comment out the standalone fzf_configure_bindings call
|
||||||
|
const targetLineRegex = /^(\s*)fzf_configure_bindings\s*$/;
|
||||||
|
|
||||||
|
const modifiedLines = lines.map(line => {
|
||||||
|
if (targetLineRegex.test(line) && !line.trim().startsWith('#')) {
|
||||||
|
const indent = line.match(/^(\s*)/)?.[1] || '';
|
||||||
|
return `${indent}# fzf_configure_bindings # Disabled - configured in config.fish instead`;
|
||||||
|
}
|
||||||
|
return line;
|
||||||
|
});
|
||||||
|
|
||||||
|
console.log(modifiedLines.join('\n'));
|
||||||
@@ -7,6 +7,8 @@ enable_audio_bell no
|
|||||||
font_family MesloLGS NF
|
font_family MesloLGS NF
|
||||||
font_size 9.0
|
font_size 9.0
|
||||||
|
|
||||||
|
window_padding_width 3
|
||||||
|
|
||||||
# Disable command finish notifications (fixes cryptic "4;0;0" notifications)
|
# Disable command finish notifications (fixes cryptic "4;0;0" notifications)
|
||||||
notify_on_cmd_finish never
|
notify_on_cmd_finish never
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user