removed unuseful plugins and added some js plugins
This commit is contained in:
parent
dd408edbd6
commit
a178bc022c
10
Rakefile
10
Rakefile
@ -54,6 +54,16 @@ task :update do
|
|||||||
#not to clobber zsh files
|
#not to clobber zsh files
|
||||||
end
|
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
|
task :submodule_init do
|
||||||
unless ENV["SKIP_SUBMODULES"]
|
unless ENV["SKIP_SUBMODULES"]
|
||||||
run %{ git submodule update --init --recursive }
|
run %{ git submodule update --init --recursive }
|
||||||
|
@ -18,6 +18,11 @@ endif
|
|||||||
" controller
|
" controller
|
||||||
let g:ctrlp_by_filename = 1
|
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
|
" 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.
|
" several Tab workspaces and want to open two windows into the same file.
|
||||||
let g:ctrlp_switch_buffer = 0
|
let g:ctrlp_switch_buffer = 0
|
||||||
|
4
vim/settings/js.vim
Normal file
4
vim/settings/js.vim
Normal 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
4
vim/vundles/js.vundle
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
Bundle 'moll/vim-node'
|
||||||
|
Bundle 'Shutnik/jshint2.vim'
|
||||||
|
Bundle 'pangloss/vim-javascript'
|
||||||
|
Bundle 'mxw/vim-jsx'
|
@ -3,7 +3,6 @@ Bundle 'garbas/vim-snipmate.git'
|
|||||||
Bundle 'honza/vim-snippets'
|
Bundle 'honza/vim-snippets'
|
||||||
Bundle 'scrooloose/syntastic.git'
|
Bundle 'scrooloose/syntastic.git'
|
||||||
Bundle 'skwp/vim-html-escape'
|
Bundle 'skwp/vim-html-escape'
|
||||||
Bundle 'mxw/vim-jsx'
|
|
||||||
Bundle 'ternjs/tern_for_vim'
|
Bundle 'ternjs/tern_for_vim'
|
||||||
Bundle 'jparise/vim-graphql'
|
Bundle 'jparise/vim-graphql'
|
||||||
Bundle 'plasticboy/vim-markdown'
|
Bundle 'plasticboy/vim-markdown'
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
" These bundles introduce new textobjects into vim,
|
" These bundles introduce new textobjects into vim,
|
||||||
" For example the Ruby one introduces the 'r' text object
|
" For example the Ruby one introduces the 'r' text object
|
||||||
" such that 'var' gives you Visual Around Ruby
|
" such that 'var' gives you Visual Around Ruby
|
||||||
Bundle "austintaylor/vim-indentobject"
|
|
||||||
Bundle "bootleq/vim-textobj-rubysymbol"
|
Bundle "bootleq/vim-textobj-rubysymbol"
|
||||||
Bundle "coderifous/textobj-word-column.vim"
|
Bundle "coderifous/textobj-word-column.vim"
|
||||||
Bundle "kana/vim-textobj-datetime"
|
Bundle "kana/vim-textobj-datetime"
|
||||||
|
@ -22,7 +22,6 @@ Bundle "tpope/vim-repeat.git"
|
|||||||
Bundle "tpope/vim-surround.git"
|
Bundle "tpope/vim-surround.git"
|
||||||
Bundle "tpope/vim-unimpaired"
|
Bundle "tpope/vim-unimpaired"
|
||||||
Bundle "vim-scripts/AnsiEsc.vim.git"
|
Bundle "vim-scripts/AnsiEsc.vim.git"
|
||||||
Bundle "vim-scripts/AutoTag.git"
|
|
||||||
Bundle "vim-scripts/lastpos.vim"
|
Bundle "vim-scripts/lastpos.vim"
|
||||||
Bundle "vim-scripts/sudo.vim"
|
Bundle "vim-scripts/sudo.vim"
|
||||||
Bundle "goldfeld/ctrlr.vim"
|
Bundle "goldfeld/ctrlr.vim"
|
||||||
|
Loading…
Reference in New Issue
Block a user