update kitty conf
This commit is contained in:
1 parent
2dc9676822
commit
67033f2a31
3 files changed
+217
-18
No files matched your search
@@ -0,0 +1,9 @@
|
||||
# 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"
|
||||
Reference in new issue
Block a user