remove vim compatibility stuff

This commit is contained in:
Grigory Shipunov 2021-10-21 20:55:32 +02:00
parent 2250d7fbc3
commit 5a862395e6
Signed by: 0xa
GPG key ID: 91FA5E5BF9AA901C

View file

@ -1,38 +1,32 @@
if has('nvim') call plug#begin(stdpath('data') . '/plugged')
call plug#begin(stdpath('data') . '/plugged') " insert images into markdown automagically
" insert images into markdown automagically Plug 'ferrine/md-img-paste.vim'
Plug 'ferrine/md-img-paste.vim'
"Better syntax "Better syntax
Plug 'rust-lang/rust.vim' Plug 'rust-lang/rust.vim'
Plug 'LnL7/vim-nix' Plug 'LnL7/vim-nix'
Plug 'cespare/vim-toml' Plug 'cespare/vim-toml'
Plug 'JuliaEditorSupport/julia-vim' Plug 'JuliaEditorSupport/julia-vim'
Plug 'lervag/vimtex' Plug 'lervag/vimtex'
Plug 'airblade/vim-gitgutter' Plug 'airblade/vim-gitgutter'
Plug 'vim-pandoc/vim-pandoc' Plug 'vim-pandoc/vim-pandoc'
Plug 'vim-pandoc/vim-pandoc-syntax' Plug 'vim-pandoc/vim-pandoc-syntax'
Plug 'vim-pandoc/vim-rmarkdown' Plug 'vim-pandoc/vim-rmarkdown'
" LSP " LSP
Plug 'neovim/nvim-lspconfig' Plug 'neovim/nvim-lspconfig'
" Colors " Colors
Plug 'jeffkreeftmeijer/vim-dim' Plug 'jeffkreeftmeijer/vim-dim'
call plug#end() call plug#end()
" Incrementally show effects of :s, :smagic, :snomagic " Incrementally show effects of :s, :smagic, :snomagic
set icm=split set icm=split
" insert images into markdown automagically " insert images into markdown automagically
autocmd FileType markdown nmap <buffer><silent> <localleader>p :call mdip#MarkdownClipboardImage()<CR> autocmd FileType markdown nmap <buffer><silent> <localleader>p :call mdip#MarkdownClipboardImage()<CR>
let g:mdip_imgdir = 'static' let g:mdip_imgdir = 'static'
let g:mdip_imgname = 'image' let g:mdip_imgname = 'image'
else
set nocompatible
filetype plugin indent on
syntax enable
endif
colorscheme dim colorscheme dim
@ -96,3 +90,6 @@ set conceallevel=0
" and another time for supid ones who continue to insist " and another time for supid ones who continue to insist
let g:pandoc#syntax#conceal#use = 0 let g:pandoc#syntax#conceal#use = 0
let g:tex_conceal = '' let g:tex_conceal = ''
" vim-pandoc really tries to be 'user-friendly'...
let g:pandoc#modules#disabled = [ "spell", "folding" ]