From c1c7f4015ec8559e29cff068c963da9d57ac4bdd Mon Sep 17 00:00:00 2001 From: xeruf <27jf@pm.me> Date: Tue, 14 Dec 2021 19:49:41 +0100 Subject: [PATCH] config/nvim/init: don't autostart firenvim on any wiki --- .config/nvim/init/pluginConfig.vim | 41 +++++++++++++++--------------- 1 file changed, 20 insertions(+), 21 deletions(-) diff --git a/.config/nvim/init/pluginConfig.vim b/.config/nvim/init/pluginConfig.vim index be98295..1c34110 100644 --- a/.config/nvim/init/pluginConfig.vim +++ b/.config/nvim/init/pluginConfig.vim @@ -34,31 +34,30 @@ let g:firenvim_config = { \ div[role="textbox"]:not([aria-label="Search"])', \ 'takeover': 'always', \ }, - \ '.*mail\.protonmail\.com.*': { 'priority': 9, 'takeover': 'empty', }, - \ '.*church\.tools.*': { 'priority': 9, 'takeover': 'empty', }, - \ '.*element\.io.*': { 'priority': 9, 'takeover': 'empty', }, - \ '.*openstreetmap\.org.*': { 'priority': 9, 'takeover': 'once', }, - \ '.*openstreetmap\.de.*': { 'priority': 9, 'takeover': 'once', }, - \ '.*github\.com.*': { 'priority': 9, 'takeover': 'once', }, + \ '.*mail\.protonmail\.com.*': { 'priority': 9, 'takeover': 'empty', }, + \ '.*church\.tools.*': { 'priority': 9, 'takeover': 'empty', }, + \ '.*element\.io.*': { 'priority': 9, 'takeover': 'empty', }, + \ '.*openstreetmap\.org.*': { 'priority': 9, 'takeover': 'once', }, + \ '.*openstreetmap\.de.*': { 'priority': 9, 'takeover': 'once', }, + \ '.*github\.com.*': { 'priority': 9, 'takeover': 'once', }, \ - \ '.*discord\.com.*': { 'priority': 9, 'takeover': 'never', }, - \ '.*twitter\.com.*': { 'priority': 9, 'takeover': 'never', }, - \ '.*wikipedia\.org.*': { 'priority': 9, 'takeover': 'never', }, - \ '.*wikidata\.org.*': { 'priority': 9, 'takeover': 'never', }, + \ '.*discord\.com.*': { 'priority': 9, 'takeover': 'never', }, + \ '.*twitter\.com.*': { 'priority': 9, 'takeover': 'never', }, + \ '.*wiki.*\.org.*': { 'priority': 9, 'takeover': 'never', }, \ - \ '.*calendar\.google\.com.*': { 'priority': 9, 'takeover': 'empty', }, - \ '.*docs\.google\.com.*': { 'priority': 9, 'takeover': 'never', }, - \ '.*contacts\.google\.com.*': { 'priority': 9, 'takeover': 'never', }, - \ '.*notion\.so.*': { 'priority': 9, 'takeover': 'never', }, - \ '.*cloud\.atomtoast\.xyz.*': { 'priority': 9, 'takeover': 'never', }, - \ 'https://bigbluebutton.*': { 'priority': 9, 'takeover': 'never', }, - \ 'https://dhall-lang.org.*': { 'priority': 9, 'takeover': 'never', }, + \ '.*calendar\.google\.com.*': { 'priority': 9, 'takeover': 'empty', }, + \ '.*docs\.google\.com.*': { 'priority': 9, 'takeover': 'never', }, + \ '.*contacts\.google\.com.*': { 'priority': 9, 'takeover': 'never', }, + \ '.*notion\.so.*': { 'priority': 9, 'takeover': 'never', }, + \ '.*cloud\.atomtoast\.xyz.*': { 'priority': 9, 'takeover': 'never', }, + \ 'https://bigbluebutton.*': { 'priority': 9, 'takeover': 'never', }, + \ 'https://dhall-lang.org.*': { 'priority': 9, 'takeover': 'never', }, \ 'https://aur.archlinux.org/account.*': { 'priority': 9, 'takeover': 'never', }, \ - \ '.*stackexchange\.com.*': { 'priority': 9, 'takeover': 'never', }, - \ '.*stackoverflow\.com.*': { 'priority': 9, 'takeover': 'never', }, - \ '.*com/questions/[0-9]+/.*': { 'priority': 9, 'takeover': 'never', }, - \ '.*com/posts/[0-9]+/.*': { 'priority': 9, 'takeover': 'never', }, + \ '.*stackexchange\.com.*': { 'priority': 9, 'takeover': 'never', }, + \ '.*stackoverflow\.com.*': { 'priority': 9, 'takeover': 'never', }, + \ '.*com/questions/[0-9]+/.*': { 'priority': 9, 'takeover': 'never', }, + \ '.*com/posts/[0-9]+/.*': { 'priority': 9, 'takeover': 'never', }, \ } \ } if exists('g:started_by_firenvim')