From e96c88de618bf9afdfd2087b056d08b890825aeb Mon Sep 17 00:00:00 2001 From: iGor milhit Date: Sun, 14 Jun 2020 09:27:59 +0200 Subject: [PATCH] init.vim: add a minimal configuration For debugging purpose, I use a minimal neovim configuration that helps me identify confirguration errors. Co-Authored-by: Igor Milhit --- minimal-init.vim | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 minimal-init.vim diff --git a/minimal-init.vim b/minimal-init.vim new file mode 100644 index 0000000..9d4c986 --- /dev/null +++ b/minimal-init.vim @@ -0,0 +1,31 @@ +" plugins (vim-plug) +call plug#begin('~/.config/nvim/plugged') +Plug 'arcticicestudio/nord-vim' " Nord color scheme +Plug 'sheerun/vim-polyglot' +Plug 'tpope/vim-sensible' " default settings +Plug 'vim-pandoc/vim-pandoc' " pandoc support +Plug 'vim-pandoc/vim-pandoc-syntax' " markdown syntax support +Plug 'vim-airline/vim-airline' +Plug 'vim-airline/vim-airline-themes' +call plug#end() + +" Filetype detection +filetype plugin on + +" Format indentation +if has("autocmd") + filetype plugin indent on +endif + +" Pandoc +let g:pandoc#formatting#mode = "hA" + +" airline +let g:airline_powerline_fonts = 1 +let g:airline#extensions#wordcount#filetypes = 'pandoc\|text\|' "Add support when pandoc is activated +let g:airline_theme='nord' + +" Syntax coloration and color theme +syntax enable +set background=dark +colorscheme nord