mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
Update firenvim settings
This commit is contained in:
parent
5c70859a1a
commit
626b28db11
19
plugins.vim
19
plugins.vim
@ -103,12 +103,12 @@ Plug 'lifepillar/vim-gruvbox8'
|
||||
" Plug 'rakr/vim-one'
|
||||
" Plug 'kaicataldo/material.vim'
|
||||
|
||||
" colorful status line and theme
|
||||
if !exists('g:started_by_firenvim')
|
||||
" colorful status line and theme
|
||||
Plug 'vim-airline/vim-airline'
|
||||
Plug 'vim-airline/vim-airline-themes'
|
||||
Plug 'mhinz/vim-startify'
|
||||
endif
|
||||
Plug 'mhinz/vim-startify'
|
||||
"}}
|
||||
|
||||
"{{ Plugin to deal with URL
|
||||
@ -868,6 +868,21 @@ if exists('g:started_by_firenvim') && g:started_by_firenvim
|
||||
" general options
|
||||
set laststatus=0 nonumber noruler noshowcmd
|
||||
|
||||
" general config for firenvim
|
||||
let g:firenvim_config = {
|
||||
\ 'globalSettings': {
|
||||
\ 'alt': 'all',
|
||||
\ },
|
||||
\ 'localSettings': {
|
||||
\ '.*': {
|
||||
\ 'cmdline': 'neovim',
|
||||
\ 'priority': 0,
|
||||
\ 'selector': 'textarea',
|
||||
\ 'takeover': 'once',
|
||||
\ },
|
||||
\ }
|
||||
\ }
|
||||
|
||||
augroup firenvim
|
||||
autocmd!
|
||||
autocmd BufEnter *.txt setlocal filetype=markdown.pandoc
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user