Created
December 6, 2023 18:02
-
-
Save ammar-faifi/ed8eea9a688943a618a1379c7413c106 to your computer and use it in GitHub Desktop.
kitty terminal map with regex to open python error in nvim with specified line number
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
# add this to your kitty config: `~/.config/kitty/kitty.conf` | |
map ctrl+g kitten hints --type=linenum --regex='(?P<path>\/.*?\.[\w:]+)",\sline\s(?P<line>\d*)' --program='tab nvim +{line} {path}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment