From e772859c6e94778f2bb10936848e5112b35ef1e1 Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Mon, 21 Dec 2020 16:16:37 +0000 Subject: [PATCH] VIM: adds firevim config Does 2 thing: * sets up my setting for editing text (spell checking etc) * Sets the content type to html for domains starting with mail. --- nvim/.config/nvim/plugin/firevim.vim | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 nvim/.config/nvim/plugin/firevim.vim diff --git a/nvim/.config/nvim/plugin/firevim.vim b/nvim/.config/nvim/plugin/firevim.vim new file mode 100644 index 00000000..753db5c8 --- /dev/null +++ b/nvim/.config/nvim/plugin/firevim.vim @@ -0,0 +1,16 @@ +let g:firenvim_config = { + \ 'globalSettings': { + \ 'alt': 'all', + \ }, + \ 'localSettings': { + \ 'mail.*': { + \ 'content': 'html', + \ }, + \ } +\ } + +" If we are in firevim, I probably want my normal text settings +" That is, spell on and undo points when punctuation is added +if exists('g:started_by_firenvim') + call mine#functions#text() +endif