Sample Header Ad - 728x90

How to specify [[hints.enabled]] Alacritty section one matching hypelinks (open on mac) and second any file paths and open in vim

1 vote
1 answer
559 views
I am using Alacritty terminal for quite some time and it has a great feature to follow hyperlinks when clicking Ctrl+Shift+U. I am using MAC so a default program is open. Iam trying to add one more section [[hints.enabled]] command = "vim" # On Linux/BSD # command = "open" # On macOS # command = { program = "cmd", args = [ "/c", "start", "" ] } # On Windows hyperlinks = false post_processing = true persist = false mouse.enabled = true binding = { key = "F", mods = "Control|Shift" } regex = '(\n|.)*/\.[^/]*[^~]' The goal would be pretty straightforward. If Alacritty finds on a current focused terminal paths like lines below, I would like to follow them with vim. ~/path/to/file.(whatever suffix) ../path/to/file.(whatever suffix) path/to/file.(whatever suffix) Changes not staged for commit: (use "git add ..." to update what will be committed) (use "git restore ..." to discard changes in working directory) modified: .terraform.lock.hcl modified: main.tf ... etc ... Any ideas ? Thx
Asked by user2156115 (111 rep)
Aug 26, 2024, 07:31 PM
Last activity: Aug 28, 2024, 08:42 AM