Sort vim plugin loading

This commit is contained in:
Marty Oehme 2020-02-04 11:36:42 +01:00
parent 2c374249d4
commit 36c202f48a
6 changed files with 10 additions and 8 deletions

View file

@ -0,0 +1 @@
:Prose

View file

@ -1,5 +1,5 @@
" PROSE: function to automatically enables markdown plugins for md & txt files " PROSE: function to automatically enables markdown plugins for md & txt files
function! Prose() function! s:Prose()
call plug#load('vim-pencil') call plug#load('vim-pencil')
call plug#load('goyo.vim') call plug#load('goyo.vim')
call plug#load('limelight.vim') call plug#load('limelight.vim')
@ -14,7 +14,7 @@ endfunction
" enable syntax highlighting for codeblocks WITHIN markdown " enable syntax highlighting for codeblocks WITHIN markdown
let g:markdown_fenced_languages = ['html', 'python', 'bash=sh', 'javascipt', 'go'] let g:markdown_fenced_languages = ['html', 'python', 'bash=sh', 'javascipt', 'go']
" call the prose function defined above for any md files " invoke it manually by writing :Prose
au FileType pandoc,markdown,md,mkd call Prose() " or, it will get automatically sourced for certain filetypes in
" or invoke it manually by writing :Prose " after/ftplugin directory
command! -nargs=0 Prose call Prose() command! -nargs=0 Prose call s:Prose()

View file

@ -50,8 +50,8 @@ Plug 'junegunn/fzf.vim'
" ultimately the only thing left here should be a " ultimately the only thing left here should be a
Plug 'Shougo/deoplete.nvim' " automatic suggestions, can also perhaps be changed for newer plugs Plug 'Shougo/deoplete.nvim' " automatic suggestions, can also perhaps be changed for newer plugs
Plug 'deoplete-plugins/deoplete-go', { 'do': 'make'} Plug 'deoplete-plugins/deoplete-go', { 'do': 'make'}
Plug 'Shougo/echodoc.vim', { 'on': [] } Plug 'Shougo/echodoc.vim', {}
Plug 'w0rp/ale', { 'on': [] } " asynchronous linting - might be superseded by lsp or coc.nvim at some point Plug 'w0rp/ale', {} " asynchronous linting - might be superseded by lsp or coc.nvim at some point
" statusline " statusline
Plug 'vim-airline/vim-airline' Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes' Plug 'vim-airline/vim-airline-themes'

View file

@ -10,6 +10,7 @@
" documented " documented
" backspace to switch to alternate (last) buffer " backspace to switch to alternate (last) buffer
" this may have to be adjusted / removed to let wiki.vim use BS for navigation
nnoremap <BS> <C-^> nnoremap <BS> <C-^>
" since u undoes, would it not make sense that U redoes? " since u undoes, would it not make sense that U redoes?

View file

@ -20,7 +20,7 @@ let g:pandoc#biblio#use_preview=1
let g:pandoc#completion#bib#mode='citeproc' let g:pandoc#completion#bib#mode='citeproc'
let g:pandoc#folding#fold_yaml=1 let g:pandoc#folding#fold_yaml=1
let g:pandoc#folding#fastfolds=1 let g:pandoc#folding#fastfolds=1
" let g:pandoc#folding#level=2 " let g:pandoc#folding#level=1
let g:pandoc#spell#default_langs=["en_us", "de_de"] let g:pandoc#spell#default_langs=["en_us", "de_de"]
let g:pandoc#hypertext#ausosave_on_edit_open_link=1 let g:pandoc#hypertext#ausosave_on_edit_open_link=1
let g:pandoc#hypertext#create_if_no_alternates_exists=1 let g:pandoc#hypertext#create_if_no_alternates_exists=1