From d9f23b1f4890310f85628a47672bdd1f465529c0 Mon Sep 17 00:00:00 2001 From: Jannik ZANDER Date: Wed, 6 Jan 2021 13:37:15 +0100 Subject: [PATCH] Update vimrc --- vimrc | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/vimrc b/vimrc index 5f77f56..0cca496 100644 --- a/vimrc +++ b/vimrc @@ -6,10 +6,12 @@ filetype plugin indent on syntax on """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" -" minpac +" Try to load minimal package manager silent! packadd minpac -if exists('*minpac#init') +if !exists('g:loaded_minpac') + " Plugin-less settings +else call minpac#init() call minpac#add('k-takata/minpac', {'type': 'opt'}) " editing @@ -50,8 +52,16 @@ if exists('*minpac#init') call minpac#add('vim-pandoc/vim-pandoc-syntax', {'type': 'opt'}) " others call minpac#add('thanthese/Tortoise-Typing', {'type': 'opt'}) + +" Load plugins right now +"packloadall + + " Plugin settings endif +" Common settings + + """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " Key-mappings let mapleader = ' ' @@ -429,7 +439,9 @@ endif "silent! packadd! vim-pandoc-syntax "silent! packadd! vim-javascript "silent! packadd! vim-markdown -"silent! packadd! previm +"silent! packadd! vim-markdown +silent! packadd! open-browser.vim +silent! packadd! previm let g:previm_enable_realtime = 1 nnoremap md :PrevimOpen nnoremap pd :call Pandoc_Preview() @@ -441,7 +453,6 @@ set pyxversion=3 set encoding=utf-8 let g:deoplete#enable_at_startup = 1 -"packloadall silent! helptags ALL " local settings -- 2.43.0