2
0

add plugin manager to ais (add/ls/rm)

This commit is contained in:
ai
2026-04-03 12:21:18 +00:00
parent 8da8c5b6d7
commit 554f015c9e
2 changed files with 141 additions and 3 deletions

7
.vimrc
View File

@@ -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