televator-apps / vimari

Safari port of vimium
https://televator.net/vimari
MIT License
2.57k stars 236 forks source link

Disable on specific URL patterns #273

Open wmayner opened 2 years ago

wmayner commented 2 years ago

Is your feature request related to a problem? Please describe. It seems that the ability to prevent Vimari from running on certain sites from #27 is no longer available. It would be great to have this (if possible with the current way extensions work).

Describe the solution you'd like Some way of configuring URL wildcard patterns in the settings file on which Vimari will be disabled.

peppy commented 2 years ago

@wmayner this does seem to work for me.

{
  "excludedUrls": "https://monkeytype.com, https://docs.google.com",
  ...
}

is what i'm using in my config file. It's not wildcard, but it's something.

nicolaiarocci commented 1 year ago

@peppy where would I go to set that excludedUrls value?

peppy commented 1 year ago

Click "Open Configuration File" in the vimari app.

Then update your config.

Here's mine for reference:

 {
  "excludedUrls": "https://monkeytype.com, https://docs.google.com",
  "linkHintCharacters": "asdfjklweio",
  "detectByCursorStyle": false,
  "scrollSize": 250,
  "openTabUrl": "https://google.com",
  "modifier": "",
  "smoothScroll": true,
  "scrollDuration": 25,
  "transparentBindings": true,
  "bindings": {
      "hintToggle": [ ";", "f" ],
      "newTabHintToggle": "shift+;",
      "scrollUp": [ "k","up"],
      "scrollDown": [ "j", "down" ],
      "scrollLeft": "h",
      "scrollRight": "l",
      "scrollUpHalfPage": ["ctrl+u", "shift-space"],
      "scrollDownHalfPage": ["ctrl+d", "space"],
      "goToPageTop": "g g",
      "goToPageBottom": "shift+g",
      "goToFirstInput": "g i",
      "goBack": "ctrl+o",
      "goForward": "ctrl+i",
      "reload": "r",
      "tabForward": "ctrl+l",
      "tabBack": "ctrl+h",
      "closeTab": "x",
      "openTab": "t",
      "duplicateTab": "y t"
  }
}
nicolaiarocci commented 1 year ago

Thanks!