aboutsummaryrefslogtreecommitdiff
path: root/plugins.vim
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2020-01-04 13:29:56 +0800
committerGitHub <noreply@github.com>2020-01-04 13:29:56 +0800
commit626b28db11406922c59765316d5c39f51953c5c1 (patch)
tree3e703468125730ca930fdc99f11ab79ec5cd3fdf /plugins.vim
parent5c70859a1a38fa957f670287e4c47bc11170db80 (diff)
Update firenvim settings
Diffstat (limited to 'plugins.vim')
-rw-r--r--plugins.vim19
1 files changed, 17 insertions, 2 deletions
diff --git a/plugins.vim b/plugins.vim
index b95ceca..18bf883 100644
--- a/plugins.vim
+++ b/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