7 Broken Websites
Sandro edited this page 2022-12-09 15:27:44 +01:00

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