فهرست منبع

Add vim plugins, Dota 2 config

Weiyi Lou 11 سال پیش
والد
کامیت
0df868a9b2
5فایلهای تغییر یافته به همراه29 افزوده شده و 14 حذف شده
  1. 7 0
      dota2/autoexec.cfg
  2. 1 1
      tmux/tmux.conf
  3. 1 1
      vim/settings/powerline.vim
  4. 1 0
      vim/settings/yaml.vim
  5. 19 12
      vim/vimrc.bundles

+ 7 - 0
dota2/autoexec.cfg

@@ -0,0 +1,7 @@
+///Updated 2014-12-20
+///Made by "cinaeco"
+///Save it to "Steam\steamapps\common\dota 2 beta\dota\cfg\autoexec.cfg"
+
+dota_disable_range_finder 1
+dota_range_display 1200
+dota_minimap_hero_size 1000

+ 1 - 1
tmux/tmux.conf

@@ -45,7 +45,7 @@ bind-key -t vi-copy 'v' begin-selection
 bind-key -t vi-copy 'y' copy-selection
 
 # Use prefix+r to reload the config file.
-bind-key C-r source-file ~/.tmux.conf \; display-message "tmux.conf reloaded";
+bind-key C-r source-file ~/.tmux.conf \; display-message "tmux.conf reloaded"
 
 # Detach client like screen, <C-a> <C-d>.
 bind-key C-d detach-client

+ 1 - 1
vim/settings/powerline.vim

@@ -1,4 +1,4 @@
 """"""""" Powerline
 set laststatus=2
-set rtp+=~/dotfiles/powerline/powerline/powerline/bindings/vim
+"set rtp+=~/dotfiles/powerline/powerline/powerline/bindings/vim
 set noshowmode " don't show e.g. --INSERT-- since we're using powerline

+ 1 - 0
vim/settings/yaml.vim

@@ -0,0 +1 @@
+au BufNewFile,BufRead *.yaml,*.yml so ~/.vim/bundle/yaml.vim/colors/yaml.vim

+ 19 - 12
vim/vimrc.bundles

@@ -34,14 +34,16 @@ Bundle 'tacahiroy/ctrlp-funky'
 Bundle 'joonty/vdebug'
 Bundle 'tpope/vim-repeat'
 Bundle 'kshenoy/vim-signature'
+Bundle 'itchyny/lightline.vim'
+Bundle 'haya14busa/vim-asterisk'
 
 Bundle 'nathanaelkane/vim-indent-guides'
 Bundle 'altercation/vim-colors-solarized'
-"Bundle 'cinaeco/EasyGrep'
-
+Bundle 'cinaeco/EasyGrep'
 Bundle 'tpope/vim-surround'
 "Bundle 'spf13/vim-autoclose'
 Bundle 'Raimondi/delimitMate'
+Bundle 'deris/vim-shot-f'
 Bundle 'terryma/vim-multiple-cursors'
 Bundle 'matchit.zip'
 "Bundle 'sjl/gundo.vim'
@@ -55,7 +57,7 @@ Bundle 'scrooloose/nerdcommenter'
 Bundle 'godlygeek/tabular'
 Bundle 'tristen/vim-sparkup'
 Bundle 'haya14busa/incsearch.vim'
-Bundle 'katono/rogue.vim'
+"Bundle 'katono/rogue.vim'
 
 " Text Objects {{{
 Bundle 'kana/vim-textobj-user'
@@ -63,6 +65,10 @@ Bundle 'kana/vim-textobj-entire'
 Bundle 'bkad/CamelCaseMotion'
 Bundle 'vim-scripts/argtextobj.vim'
 " }}}
+"
+Bundle 'elzr/vim-json'
+Bundle 'vim-scripts/yaml.vim'
+Bundle 'tpope/vim-unimpaired'
 
 " File Browser {{{
 Bundle 'scrooloose/nerdtree'
@@ -79,15 +85,16 @@ endif
 " }}}
 
 " Completion and Snippets {{{
-Bundle 'ervandew/supertab'
-Bundle 'MarcWeber/vim-addon-mw-utils'
-Bundle 'tomtom/tlib_vim'
-Bundle 'garbas/vim-snipmate'
-Bundle 'honza/vim-snippets'
-" Source support_function.vim to support vim-snippets.
-if filereadable(expand("~/.vim/bundle/vim-snippets/snippets/support_functions.vim"))
-  source ~/.vim/bundle/vim-snippets/snippets/support_functions.vim
-endif
+"Bundle 'ervandew/supertab'
+"Bundle 'MarcWeber/vim-addon-mw-utils'
+"Bundle 'tomtom/tlib_vim'
+"Bundle 'garbas/vim-snipmate'
+"Bundle 'honza/vim-snippets'
+"" Source support_function.vim to support vim-snippets.
+"if filereadable(expand("~/.vim/bundle/vim-snippets/snippets/support_functions.vim"))
+  "source ~/.vim/bundle/vim-snippets/snippets/support_functions.vim
+"endif
+Bundle 'ajh17/VimCompletesMe'
 " }}}
 
 " Coding Language Support {{{