1
0
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:
jdhao 2020-01-04 13:29:56 +08:00 committed by GitHub
parent 5c70859a1a
commit 626b28db11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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