add: vim plug

This commit is contained in:
Tobias Reisinger 2019-12-26 20:59:01 +01:00
parent 461bf041c3
commit 7c5ca2f71e
3 changed files with 2599 additions and 3 deletions

File diff suppressed because it is too large Load diff

View file

@ -1,3 +1,6 @@
set runtimepath+=~/.config/vim,~/.config/vim/after
set viminfo+=n~/.cache/viminfo
set number relativenumber set number relativenumber
augroup numbertoggle augroup numbertoggle
@ -16,9 +19,11 @@ set encoding=utf-8
set nowrap set nowrap
set viminfo+=n~/.cache/viminfo
" Save cursor position. I don't understand this part :) " Save cursor position. I don't understand this part :)
if has("autocmd") if has("autocmd")
au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") | exe "normal! g`\"" | endif au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") | exe "normal! g`\"" | endif
endif endif
call plug#begin('~/.config/vim/plugged')
Plug 'https://github.com/editorconfig/editorconfig-vim.git'
call plug#end()

View file

@ -1,4 +1,4 @@
export VIMINIT='source ~/.config/vimrc' export VIMINIT='source ~/.config/vim/vimrc'
export PASSWORD_STORE_GENERATED_LENGTH='64' export PASSWORD_STORE_GENERATED_LENGTH='64'