config/nvim/init: update firenvim config
This commit is contained in:
parent
2a880d6c3e
commit
a68ba0c1fd
|
@ -55,7 +55,7 @@ autocmd BufNewFile *.sh,$HOME/.local/bin/* execute 'silent! 1s/.*/#!\/bin\/sh\r'
|
|||
"autocmd BufNewFile * if !empty(&filetype) | execute 'silent! 1s/.*/#!\/usr\/bin\/' . &filetype . '\r\r'| :startinsert | endif
|
||||
|
||||
set spelllang=en_us,de_de
|
||||
autocmd BufEnter *.txt,*jrnl* setlocal formatoptions+=b textwidth=78 ts=4 sw=4
|
||||
autocmd BufEnter *.txt,*jrnl* setlocal ts=4 sw=4 " formatoptions+=b textwidth=78
|
||||
autocmd FileType markdown setlocal wrap spell colorcolumn= " Spell checking & no guiding columns in markdown
|
||||
|
||||
" Center on insert mode
|
||||
|
|
|
@ -30,7 +30,8 @@ let g:firenvim_config = {
|
|||
\ '.*': {
|
||||
\ 'cmdline': 'firenvim',
|
||||
\ 'priority': 0,
|
||||
\ 'selector': 'textarea:not([readonly]):not([class="handsontableInput"]):not([wrap="off"]), div[role="textbox"]:not([aria-label="Search"])',
|
||||
\ 'selector': 'textarea:not([readonly]):not([class="handsontableInput"]):not([wrap="off"]):not([rows="1"]),
|
||||
\ div[role="textbox"]:not([aria-label="Search"])',
|
||||
\ 'takeover': 'always',
|
||||
\ },
|
||||
\ '.*mail\.protonmail\.com.*': { 'priority': 9, 'takeover': 'never', },
|
||||
|
|
Loading…
Reference in New Issue