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 'rakr/vim-one'
|
||||||
" Plug 'kaicataldo/material.vim'
|
" Plug 'kaicataldo/material.vim'
|
||||||
|
|
||||||
" colorful status line and theme
|
|
||||||
if !exists('g:started_by_firenvim')
|
if !exists('g:started_by_firenvim')
|
||||||
|
" colorful status line and theme
|
||||||
Plug 'vim-airline/vim-airline'
|
Plug 'vim-airline/vim-airline'
|
||||||
Plug 'vim-airline/vim-airline-themes'
|
Plug 'vim-airline/vim-airline-themes'
|
||||||
endif
|
|
||||||
Plug 'mhinz/vim-startify'
|
Plug 'mhinz/vim-startify'
|
||||||
|
endif
|
||||||
"}}
|
"}}
|
||||||
|
|
||||||
"{{ Plugin to deal with URL
|
"{{ Plugin to deal with URL
|
||||||
@ -868,6 +868,21 @@ if exists('g:started_by_firenvim') && g:started_by_firenvim
|
|||||||
" general options
|
" general options
|
||||||
set laststatus=0 nonumber noruler noshowcmd
|
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
|
augroup firenvim
|
||||||
autocmd!
|
autocmd!
|
||||||
autocmd BufEnter *.txt setlocal filetype=markdown.pandoc
|
autocmd BufEnter *.txt setlocal filetype=markdown.pandoc
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user