add: vim plug
This commit is contained in:
parent
461bf041c3
commit
7c5ca2f71e
3 changed files with 2599 additions and 3 deletions
2591
.config/vim/autoload/plug.vim
Normal file
2591
.config/vim/autoload/plug.vim
Normal file
File diff suppressed because it is too large
Load diff
|
@ -1,3 +1,6 @@
|
|||
set runtimepath+=~/.config/vim,~/.config/vim/after
|
||||
set viminfo+=n~/.cache/viminfo
|
||||
|
||||
set number relativenumber
|
||||
|
||||
augroup numbertoggle
|
||||
|
@ -16,9 +19,11 @@ set encoding=utf-8
|
|||
|
||||
set nowrap
|
||||
|
||||
set viminfo+=n~/.cache/viminfo
|
||||
|
||||
" Save cursor position. I don't understand this part :)
|
||||
if has("autocmd")
|
||||
au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") | exe "normal! g`\"" | endif
|
||||
endif
|
||||
|
||||
call plug#begin('~/.config/vim/plugged')
|
||||
Plug 'https://github.com/editorconfig/editorconfig-vim.git'
|
||||
call plug#end()
|
2
.profile
2
.profile
|
@ -1,4 +1,4 @@
|
|||
export VIMINIT='source ~/.config/vimrc'
|
||||
export VIMINIT='source ~/.config/vim/vimrc'
|
||||
|
||||
export PASSWORD_STORE_GENERATED_LENGTH='64'
|
||||
|
||||
|
|
Loading…
Reference in a new issue