add plugin manager to ais (add/ls/rm)
This commit is contained in:
7
.vimrc
7
.vimrc
@@ -33,6 +33,13 @@ inoremap <C-j> <Esc>
|
||||
nnoremap Q :q!<CR>
|
||||
vnoremap v V
|
||||
|
||||
" load plugins from ~/.vim/plugged/
|
||||
for s:dir in glob('~/.vim/plugged/*', 0, 1)
|
||||
if isdirectory(s:dir)
|
||||
exe 'set rtp+=' . s:dir
|
||||
endif
|
||||
endfor
|
||||
|
||||
syntax on
|
||||
filetype plugin indent on
|
||||
au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") | exe "normal! g`\"" | endif
|
||||
|
||||
Reference in New Issue
Block a user