Install and configure new plugins
This commit is contained in:
parent
68c666bf83
commit
0ac0c1994d
2 changed files with 9 additions and 3 deletions
|
@ -122,6 +122,9 @@ install_vim_plugins () {
|
||||||
"w0rp/ale"
|
"w0rp/ale"
|
||||||
"pangloss/vim-javascript"
|
"pangloss/vim-javascript"
|
||||||
"sirver/ultisnips"
|
"sirver/ultisnips"
|
||||||
|
"tpope/vim-surround"
|
||||||
|
"tpope/vim-fugitive"
|
||||||
|
"airblade/vim-gitgutter"
|
||||||
)
|
)
|
||||||
local BASE_DIR="$DOTFILES_ROOT/vim/vim.symlink/bundle"
|
local BASE_DIR="$DOTFILES_ROOT/vim/vim.symlink/bundle"
|
||||||
local GIT_HOST="git@github.com"
|
local GIT_HOST="git@github.com"
|
||||||
|
|
|
@ -153,9 +153,8 @@ nnoremap <c-t> :exec ":e " . FindTestFilename(expand('%')) <cr>
|
||||||
|
|
||||||
" Git blame
|
" Git blame
|
||||||
"
|
"
|
||||||
" Replace the buffer contents with git blame.
|
" I used to do this by just filling in my buffer, but this is nicer.
|
||||||
" Hit u to undo
|
nnoremap <leader>a :Gblame<cr>
|
||||||
nnoremap <leader>a :%!git blame %<cr>
|
|
||||||
|
|
||||||
" Tab config options
|
" Tab config options
|
||||||
"
|
"
|
||||||
|
@ -477,6 +476,10 @@ let g:ale_sign_warning = '--'
|
||||||
let g:ale_php_phpcs_standard = 'PSR2'
|
let g:ale_php_phpcs_standard = 'PSR2'
|
||||||
let g:ale_javascript_eslint_options = '--no-ignore '
|
let g:ale_javascript_eslint_options = '--no-ignore '
|
||||||
|
|
||||||
|
" Gitgutter
|
||||||
|
|
||||||
|
let g:gitgutter_realtime = 1
|
||||||
|
let g:gitgutter_eager = 1
|
||||||
|
|
||||||
" JSX in mah JavaScript
|
" JSX in mah JavaScript
|
||||||
let g:jsx_ext_required = 0
|
let g:jsx_ext_required = 0
|
||||||
|
|
Loading…
Add table
Reference in a new issue