Skip to content
Sandro edited this page Dec 9, 2022 · 7 revisions

This is a collection of websites and buffers where firenvim is either useless or broken. It directly uses the localSettings format for convenient copying.

Feel free to add selectors to exclude elements/pages that are definitely broken, and please do add a note if you are adding a more general rule.

g:firenvim_config = {
  \ 'localSettings': {
      \ '.*': {
          \ 'cmdline': 'firenvim',
          \ 'priority': 0,
          \ 'selector': 'textarea:not([readonly]):not([class="handsontableInput"]), div[role="textbox"]',
          \ 'takeover': 'always',
      \ },
      \ '.*notion\.so.*': { 'priority': 9, 'takeover': 'never', },
      \ '.*docs\.google\.com.*': { 'priority': 9, 'takeover': 'never', },
  \ }
\ }

The configuration can also be expressed in lua:

vim.g.firenvim_config = {
  localSettings = {
    [ [[.*]] ] = {
      cmdline = 'firenvim',
      priority = 0,
      selector = 'textarea:not([readonly]):not([class="handsontableInput"]), div[role="textbox"]',
      takeover = 'always',
    },
    [ [[.*notion\.so.*]] ] = {
      priority = 9,
      takeover = 'never',
    },
    [ [[.*docs\.google\.com.*]] ] = {
      priority = 9,
      takeover = 'never',
    },
  },
}

Notes

Clone this wiki locally