Files
Panama/config/dot/kitty/open-actions.conf
T
2026-07-17 15:41:03 -04:00

10 lines
324 B
Plaintext

# Open plain file paths with neovim in a new kitty tab
protocol file
mime text/*
action launch --type=tab nvim -- "$FILE_PATH"
# Also handle paths with line/column numbers if supported by the source
protocol file
fragment_matches ^(\d+)(?::(\d+))?$
action launch --type=tab nvim "+call cursor($1, ${2:-1})" -- "$FILE_PATH"