add Plug vim-indentLine
This commit is contained in:
parent
a7a81727ad
commit
fede19a098
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
/plugged/*
|
||||||
18
.myvimrc
18
.myvimrc
@ -24,21 +24,20 @@ set encoding=utf-8
|
|||||||
set guifont=Consolas:h10
|
set guifont=Consolas:h10
|
||||||
set clipboard=unnamed
|
set clipboard=unnamed
|
||||||
|
|
||||||
|
noremap <LEADER>q :q<CR>
|
||||||
|
noremap <LEADER>w :w<CR>
|
||||||
|
noremap <C-q> :q!<CR>
|
||||||
|
noremap K 5k
|
||||||
|
noremap J 5j
|
||||||
|
noremap H 5h
|
||||||
|
noremap L 5l
|
||||||
|
|
||||||
" ===screen split
|
" ===screen split
|
||||||
noremap sk :set nosplitbelow<CR>:split
|
noremap sk :set nosplitbelow<CR>:split
|
||||||
noremap sj :set splitbelow<CR>:split
|
noremap sj :set splitbelow<CR>:split
|
||||||
noremap sh :set nosplitright<CR>:vsplit
|
noremap sh :set nosplitright<CR>:vsplit
|
||||||
noremap sl :set splitright<CR>:vsplit
|
noremap sl :set splitright<CR>:vsplit
|
||||||
|
|
||||||
noremap <LEADER>q :q<CR>
|
|
||||||
noremap <LEADER>w :w<CR>
|
|
||||||
noremap <C-q> :q!<CR>
|
|
||||||
|
|
||||||
noremap K 5k
|
|
||||||
noremap J 5j
|
|
||||||
noremap H 5h
|
|
||||||
noremap L 5l
|
|
||||||
|
|
||||||
map <up> <C-w>k
|
map <up> <C-w>k
|
||||||
map <down> <C-w>j
|
map <down> <C-w>j
|
||||||
map <left> <C-w>h
|
map <left> <C-w>h
|
||||||
@ -68,6 +67,7 @@ Plug 'preservim/nerdtree'
|
|||||||
Plug 'gcmt/wildfire.vim'
|
Plug 'gcmt/wildfire.vim'
|
||||||
Plug 'tpope/vim-surround'
|
Plug 'tpope/vim-surround'
|
||||||
Plug 'mg979/vim-visual-multi'
|
Plug 'mg979/vim-visual-multi'
|
||||||
|
Plug 'Yggdroot/indentLine'
|
||||||
|
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
|
|||||||
@ -769,7 +769,7 @@ function! s:infer_properties(name, repo)
|
|||||||
if repo !~ '/'
|
if repo !~ '/'
|
||||||
throw printf('Invalid argument: %s (implicit `vim-scripts'' expansion is deprecated)', repo)
|
throw printf('Invalid argument: %s (implicit `vim-scripts'' expansion is deprecated)', repo)
|
||||||
endif
|
endif
|
||||||
let fmt = get(g:, 'plug_url_format', 'https://git::@github.com/%s.git')
|
let fmt = get(g:, 'plug_url_format', 'https://git::@hub.fastgit.org/%s.git')
|
||||||
let uri = printf(fmt, repo)
|
let uri = printf(fmt, repo)
|
||||||
endif
|
endif
|
||||||
return { 'dir': s:dirpath(g:plug_home.'/'.a:name), 'uri': uri }
|
return { 'dir': s:dirpath(g:plug_home.'/'.a:name), 'uri': uri }
|
||||||
@ -1165,7 +1165,7 @@ function! s:update_impl(pull, force, args) abort
|
|||||||
let $GIT_TERMINAL_PROMPT = 0
|
let $GIT_TERMINAL_PROMPT = 0
|
||||||
for plug in values(todo)
|
for plug in values(todo)
|
||||||
let plug.uri = substitute(plug.uri,
|
let plug.uri = substitute(plug.uri,
|
||||||
\ '^https://git::@github\.com', 'https://github.com', '')
|
\ '^https://git::@hub.fastgit\.org', 'https://hub.fastgit.org', '')
|
||||||
endfor
|
endfor
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user