config/nvim/init/pluginConfig: improve firenvim reaction

This commit is contained in:
xeruf 2022-01-17 20:53:52 +01:00
parent 4bc606de0a
commit 1fb47e4565
1 changed files with 53 additions and 47 deletions

View File

@ -23,7 +23,9 @@ xmap <silent> ib <Plug>CamelCaseMotion_ib
omap <silent> ie <Plug>CamelCaseMotion_ie
xmap <silent> ie <Plug>CamelCaseMotion_ie
" firenvim
" FIRENVIM {{{1
" textarea.inputbox is for phpBB
let g:firenvim_config = {
\ 'globalSettings': {
\ 'alt': 'all',
@ -36,7 +38,11 @@ let g:firenvim_config = {
\ div[role="textbox"]:not([aria-label="Search"])',
\ 'takeover': 'always',
\ },
\ '.*mail\.protonmail\.com.*': { 'priority': 9, 'takeover': 'empty', },
\ '.*com.*': {
\ 'priority': 1,
\ 'selector': 'textarea.inputbox',
\ 'takeover': 'once',
\ },
\ '.*church\.tools.*': { 'priority': 9, 'takeover': 'empty', },
\ '.*element\.io.*': { 'priority': 9, 'takeover': 'empty', },
\ '.*openstreetmap\.org.*': { 'priority': 9, 'takeover': 'once', },