removed unuseful plugins and added some js plugins

This commit is contained in:
Jie Feng 2017-03-12 03:04:40 +08:00
parent dd408edbd6
commit a178bc022c
7 changed files with 23 additions and 3 deletions

View File

@ -54,6 +54,16 @@ task :update do
#not to clobber zsh files
end
task :sync do
vundle_path = File.join('vim','bundle', 'vundle')
unless File.exists?(vundle_path)
run %{
cd $HOME/.yadr
git clone https://github.com/gmarik/vundle.git #{vundle_path}
}
end
end
task :submodule_init do
unless ENV["SKIP_SUBMODULES"]
run %{ git submodule update --init --recursive }

View File

@ -18,6 +18,11 @@ endif
" controller
let g:ctrlp_by_filename = 1
let g:ctrlp_working_path_mode = 'ra'
" show even .ssh/config file
let g:ctrlp_show_hidden = 1
" Don't jump to already open window. This is annoying if you are maintaining
" several Tab workspaces and want to open two windows into the same file.
let g:ctrlp_switch_buffer = 0

4
vim/settings/js.vim Normal file
View File

@ -0,0 +1,4 @@
let javascript_enable_domhtmlcss = 0
let javascript_ignore_javaScriptdoc = 0
let g:javascript_conceal=0
let b:javascript_fold=1

4
vim/vundles/js.vundle Normal file
View File

@ -0,0 +1,4 @@
Bundle 'moll/vim-node'
Bundle 'Shutnik/jshint2.vim'
Bundle 'pangloss/vim-javascript'
Bundle 'mxw/vim-jsx'

View File

@ -3,7 +3,6 @@ Bundle 'garbas/vim-snipmate.git'
Bundle 'honza/vim-snippets'
Bundle 'scrooloose/syntastic.git'
Bundle 'skwp/vim-html-escape'
Bundle 'mxw/vim-jsx'
Bundle 'ternjs/tern_for_vim'
Bundle 'jparise/vim-graphql'
Bundle 'plasticboy/vim-markdown'

View File

@ -1,7 +1,6 @@
" These bundles introduce new textobjects into vim,
" For example the Ruby one introduces the 'r' text object
" such that 'var' gives you Visual Around Ruby
Bundle "austintaylor/vim-indentobject"
Bundle "bootleq/vim-textobj-rubysymbol"
Bundle "coderifous/textobj-word-column.vim"
Bundle "kana/vim-textobj-datetime"

View File

@ -22,7 +22,6 @@ Bundle "tpope/vim-repeat.git"
Bundle "tpope/vim-surround.git"
Bundle "tpope/vim-unimpaired"
Bundle "vim-scripts/AnsiEsc.vim.git"
Bundle "vim-scripts/AutoTag.git"
Bundle "vim-scripts/lastpos.vim"
Bundle "vim-scripts/sudo.vim"
Bundle "goldfeld/ctrlr.vim"