From 626b28db11406922c59765316d5c39f51953c5c1 Mon Sep 17 00:00:00 2001 From: jdhao Date: Sat, 4 Jan 2020 13:29:56 +0800 Subject: [PATCH] Update firenvim settings --- plugins.vim | 19 +++++++++++++++++-- 1 file 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