nvim: remove even more unused stuff
This commit is contained in:
parent
22224f9bed
commit
e2172a7001
1 changed files with 11 additions and 26 deletions
|
@ -1,37 +1,25 @@
|
||||||
" bootstrap vim-plug automagically
|
if has('nvim')
|
||||||
if empty(glob('~/.local/share/nvim/site/autoload/plug.vim'))
|
call plug#begin(stdpath('data') . '/plugged')
|
||||||
silent !curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs
|
else
|
||||||
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
set nocompatible
|
||||||
autocmd VimEnter * PlugInstall --sync|source $MYVIMRC
|
filetype plugin indent on
|
||||||
|
syntax enable
|
||||||
|
|
||||||
|
call plug#begin('~/.vim/plugged')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
call plug#begin('~/.local/share/nvim/plugged')
|
|
||||||
|
|
||||||
" insert images into markdown automagically
|
" insert images into markdown automagically
|
||||||
Plug 'ferrine/md-img-paste.vim'
|
Plug 'ferrine/md-img-paste.vim'
|
||||||
|
|
||||||
" Some config/whitespace automation
|
|
||||||
Plug 'tpope/vim-sleuth'
|
|
||||||
Plug 'ntpeters/vim-better-whitespace'
|
|
||||||
|
|
||||||
" Interface
|
|
||||||
Plug 'tpope/vim-vinegar'
|
|
||||||
Plug 'jeffkreeftmeijer/vim-dim'
|
|
||||||
|
|
||||||
"Better syntax
|
"Better syntax
|
||||||
Plug 'lervag/vimtex', {'for': 'tex'}
|
Plug 'rust-lang/rust.vim'
|
||||||
Plug 'vivien/vim-linux-coding-style'
|
Plug 'LnL7/vim-nix'
|
||||||
Plug 'rust-lang/rust.vim', {'for': 'rust'}
|
|
||||||
Plug 'dag/vim-fish', {'for': 'fish'}
|
|
||||||
Plug 'LnL7/vim-nix', {'for': 'nix'}
|
|
||||||
Plug 'chikamichi/mediawiki.vim', { 'for' : 'wiki' }
|
|
||||||
Plug 'cespare/vim-toml'
|
Plug 'cespare/vim-toml'
|
||||||
Plug 'JuliaEditorSupport/julia-vim', { 'for' : 'julia' }
|
Plug 'JuliaEditorSupport/julia-vim'
|
||||||
|
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
colorscheme dim
|
|
||||||
|
|
||||||
" disable TeX commands concealing
|
" disable TeX commands concealing
|
||||||
let g:tex_conceal = ''
|
let g:tex_conceal = ''
|
||||||
|
|
||||||
|
@ -76,9 +64,6 @@ vnoremap <leader>P "+P
|
||||||
|
|
||||||
set updatetime=107
|
set updatetime=107
|
||||||
|
|
||||||
" Activate linux coding style helper only in certain dirs
|
|
||||||
let g:linuxsty_patterns = ["/usr/src", "/linux", "~/git/linux", "~/fun/linux", "~/devel/linux"]
|
|
||||||
|
|
||||||
" markdown
|
" markdown
|
||||||
let g:markdown_syntax_conceal = 0
|
let g:markdown_syntax_conceal = 0
|
||||||
let g:markdown_fenced_languages = ['c', 'html', 'python', 'scheme', 'yaml', 'sh']
|
let g:markdown_fenced_languages = ['c', 'html', 'python', 'scheme', 'yaml', 'sh']
|
||||||
|
|
Loading…
Add table
Reference in a new issue