config: configure jrnl with nvim

This commit is contained in:
xeruf 2021-10-31 20:22:16 +01:00
parent 5d6305bf86
commit e11f98bc6f
3 changed files with 6 additions and 3 deletions

View File

@ -5,7 +5,7 @@ colors:
title: blue title: blue
default_hour: 0 default_hour: 0
default_minute: 0 default_minute: 0
editor: nvim editor: nvim +
encrypt: false encrypt: false
highlight: true highlight: true
indent_character: '|' indent_character: '|'

View File

@ -49,6 +49,7 @@ Plug 'nathanaelkane/vim-indent-guides'
let g:indent_guides_enable_on_vim_startup = 1 let g:indent_guides_enable_on_vim_startup = 1
" Integrations " Integrations
Plug 'austintraver/vim-jrnl'
Plug 'weinshec/vim-dictcc' Plug 'weinshec/vim-dictcc'
Plug 'glacambre/firenvim', { 'do': { _ -> firenvim#install(0) } } Plug 'glacambre/firenvim', { 'do': { _ -> firenvim#install(0) } }
Plug 'mipmip/vim-scimark' " Edit markdown tables with sc-im Plug 'mipmip/vim-scimark' " Edit markdown tables with sc-im

View File

@ -30,13 +30,15 @@ let g:firenvim_config = {
\ '.*': { \ '.*': {
\ 'cmdline': 'firenvim', \ 'cmdline': 'firenvim',
\ 'priority': 0, \ 'priority': 0,
\ 'selector': 'textarea:not([readonly]):not([class="handsontableInput"]):not([wrap="off"]):not([rows="1"]):not([title="Replace"]):not([title="Search"]), \ 'selector': 'textarea:not([readonly]):not([class="handsontableInput"]):not([wrap="off"]):not([rows="1"]):not([title="Replace"]):not([title="Search"]):not([name="message"]),
\ div[role="textbox"]:not([aria-label="Search"])', \ div[role="textbox"]:not([aria-label="Search"])',
\ 'takeover': 'always', \ 'takeover': 'always',
\ }, \ },
\ '.*mail\.protonmail\.com.*': { 'priority': 9, 'takeover': 'empty', }, \ '.*mail\.protonmail\.com.*': { 'priority': 9, 'takeover': 'empty', },
\ '.*church\.tools.*': { 'priority': 9, 'takeover': 'empty', },
\ '.*element\.io.*': { 'priority': 9, 'takeover': 'empty', },
\ '.*discord\.com.*': { 'priority': 9, 'takeover': 'once', }, \ '.*discord\.com.*': { 'priority': 9, 'takeover': 'once', },
\ '.*twitter\.com.*': { 'priority': 9, 'takeover': 'once', }, \ '.*twitter\.com.*': { 'priority': 9, 'takeover': 'never', },
\ '.*openstreetmap\.org.*': { 'priority': 9, 'takeover': 'once', }, \ '.*openstreetmap\.org.*': { 'priority': 9, 'takeover': 'once', },
\ '.*openstreetmap\.de.*': { 'priority': 9, 'takeover': 'once', }, \ '.*openstreetmap\.de.*': { 'priority': 9, 'takeover': 'once', },
\ '.*github\.com.*': { 'priority': 9, 'takeover': 'once', }, \ '.*github\.com.*': { 'priority': 9, 'takeover': 'once', },