sVim
sVim copied to clipboard
Can't blacklist draw.io website
I have this in my svimrc :
let blacklists = ["*://codepen.io/*", "*://draw.io/*", "*://*slack.com/*", "*://codesandbox.io/*", "*://codewars.com/*", "*://discordapp.com/*"]
However going to draw.io still doesn't turn off sVim for me. Not really sure why.
Try to add "www" in front of the domain name, like this: "*://www.draw.io/*"
I can't blacklist any websites, testing with:
let blacklists = ["://*youtube.com*"]
I tried all different combinations including with "www.", testing each time by opening a new tab and navigating to a youtube page and entering insert mode, seeing the mode indicator. It is the only line in my sVimrc, so I can't see how it could be a syntax error. sVim 1.0.7 Safari 12.1
@CallumHoward I just tried with
let blacklists = ["*://*youtube.com/*"]
and it seems to work, let me know if it works on your end.
@nikitavoloboev similarly for draw.io let blacklists = [ "*://*draw.io/*"]
(I know this is a very old issue, but I've been browsing all the open ones)