Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

deleted unused vim plugins.

  • Loading branch information...
commit 203cab379f1236cc9bab1535c86d40fd09c28692 1 parent 8f85d37
kanetann authored

Showing 1 changed file with 22 additions and 262 deletions. Show diff stats Hide diff stats

  1. +22 262 .vimrc
284 .vimrc
@@ -9,160 +9,49 @@ endif
9 9
10 10 NeoBundle 'git://github.com/Shougo/neobundle.vim'
11 11
  12 +NeoBundle 'git://github.com/Lokaltog/vim-powerline.git'
  13 +NeoBundle 'git://github.com/Shougo/neocomplcache-rsense.git'
12 14 NeoBundle 'git://github.com/Shougo/neocomplcache.git'
  15 +NeoBundle 'git://github.com/Shougo/neosnippet.git'
13 16 NeoBundle 'git://github.com/Shougo/unite.vim.git'
14   -NeoBundle 'git://github.com/tpope/vim-surround.git'
15   -NeoBundle 'git://github.com/thinca/vim-quickrun.git'
16   -NeoBundle 'git://github.com/thinca/vim-ref.git'
17   -NeoBundle 'git://github.com/kana/vim-fakeclip.git'
18   -"NeoBundle 'git://github.com/vim-scripts/rails.vim.git'
19   -NeoBundle 'git://github.com/harajune/git-vim.git'
20   -NeoBundle 'git://github.com/vim-scripts/Align.git'
  17 +NeoBundle 'git://github.com/Shougo/vimfiler.git'
  18 +NeoBundle 'git://github.com/Shougo/vimproc.git'
  19 +NeoBundle 'git://github.com/Sixeight/unite-grep.git'
21 20 NeoBundle 'git://github.com/h1mesuke/unite-outline.git'
22   -NeoBundle 'git://github.com/tsukkee/unite-help.git'
23   -NeoBundle 'git://github.com/altercation/vim-colors-solarized.git'
24   -NeoBundle 'git://github.com/vim-scripts/wombat256.vim'
  21 +NeoBundle 'git://github.com/jpalardy/vim-slime.git'
  22 +NeoBundle 'git://github.com/kana/vim-fakeclip.git'
  23 +NeoBundle 'git://github.com/mattn/webapi-vim.git'
25 24 NeoBundle 'git://github.com/mattn/zencoding-vim.git'
  25 +NeoBundle 'git://github.com/scrooloose/syntastic.git'
26 26 NeoBundle 'git://github.com/shanlalit/vim-autoclose.git'
27   -NeoBundle 'git://github.com/t9md/vim-textmanip.git'
28   -NeoBundle 'git://github.com/c9s/perlomni.vim'
29   -NeoBundle 'git://github.com/vim-scripts/YankRing.vim'
30   -NeoBundle 'git://github.com/vim-scripts/matchit.zip'
31   -"NeoBundle 'git://github.com/vim-scripts/Indent-Guides'
32   -NeoBundle 'git://github.com/vim-scripts/tComment'
33   -NeoBundle 'git://github.com/Sixeight/unite-grep'
34   -NeoBundle 'git://github.com/Shougo/vimproc'
35   -NeoBundle 'git://github.com/mikewest/vimroom.git'
36   -NeoBundle 'git://github.com/ujihisa/unite-colorscheme.git'
37   -NeoBundle 'git://github.com/vim-scripts/Color-Sampler-Pack.git'
38   -NeoBundle 'git://github.com/mattn/webapi-vim.git'
39   -NeoBundle 'git://github.com/mattn/vimplenote-vim.git'
40   -NeoBundle 'git://github.com/tyru/open-browser.vim.git'
41   -NeoBundle 'git://github.com/scrooloose/nerdcommenter.git'
42   -NeoBundle 'git://github.com/Lokaltog/vim-easymotion.git'
  27 +NeoBundle 'git://github.com/taichouchou2/vim-rsense.git'
  28 +NeoBundle 'git://github.com/taka84u9/vim-ref-ri.git'
  29 +NeoBundle 'git://github.com/thinca/vim-quickrun.git'
  30 +NeoBundle 'git://github.com/thinca/vim-ref.git'
43 31 NeoBundle 'git://github.com/tpope/vim-fugitive.git'
44   -NeoBundle 'git://github.com/kanetann/excitetranslate-vim.git'
45   -NeoBundle 'git://github.com/Shougo/vimshell.git'
46   -NeoBundle 'git://github.com/Shougo/vimfiler.git'
47   -NeoBundle 'git://github.com/vim-jp/vimdoc-ja.git'
48   -NeoBundle 'git://github.com/t9md/vim-quickhl.git'
49   -NeoBundle 'git://github.com/Lokaltog/vim-powerline.git'
50   -NeoBundle 'git://github.com/othree/javascript-syntax.vim.git'
51   -NeoBundle 'git://github.com/pangloss/vim-javascript.git'
52   -NeoBundle 'git://github.com/vim-scripts/Source-Explorer-srcexpl.vim.git'
53   -" NeoBundle 'git://github.com/vim-scripts/trinity.vim.git'
54   -" NeoBundle 'git://github.com/vim-scripts/The-NERD-tree.git'
55   -" NeoBundle 'git://github.com/vim-scripts/taglist.vim.git'
56   -NeoBundle 'git://github.com/kchmck/vim-coffee-script.git'
57   -NeoBundle 'git://github.com/scrooloose/syntastic.git'
58 32 NeoBundle 'git://github.com/tpope/vim-rails.git'
59   -NeoBundle 'git://github.com/vim-scripts/Better-Javascript-Indentation.git'
60   -"NeoBundle 'git://github.com/vim-scripts/OOP-javascript-indentation.git'
61   -NeoBundle 'git://github.com/tpope/vim-markdown.git'
62   -NeoBundle 'git://github.com/vim-scripts/perl-support.vim.git'
63   -NeoBundle 'git://github.com/hotchpotch/perldoc-vim.git'
64   -NeoBundle 'git://github.com/t9md/vim-chef.git'
65   -NeoBundle 'git://github.com/glidenote/octoeditor.vim.git'
66   -NeoBundle 'git://github.com/mrtazz/simplenote.vim.git'
67   -NeoBundle 'git://github.com/taq/vim-rspec.git'
68   -NeoBundle 'git://github.com/taq/vim-rspec.git'
69   -NeoBundle 'git://github.com/taka84u9/vim-ref-ri.git'
70   -NeoBundle 'git://github.com/vim-scripts/DrawIt.git'
71   -NeoBundle 'git://github.com/vim-ruby/vim-ruby.git'
72   -NeoBundle 'git://github.com/basyura/TweetVim.git'
  33 +NeoBundle 'git://github.com/tpope/vim-surround.git'
  34 +NeoBundle 'git://github.com/tsukkee/unite-help.git'
73 35 NeoBundle 'git://github.com/tyru/open-browser.vim.git'
74   -NeoBundle 'git://github.com/basyura/twibill.vim.git'
75   -NeoBundle 'git://github.com/Shougo/neosnippet.git'
76   -NeoBundle 'git://github.com/taichouchou2/vim-rsense.git'
77   -NeoBundle 'git://github.com/Shougo/neocomplcache-rsense.git'
78   -NeoBundle 'git://github.com/ujihisa/neco-ruby.git'
79   -NeoBundle 'git://github.com/rhysd/unite-ruby-require.vim.git'
80   -NeoBundle 'git://github.com/rhysd/neco-ruby-keyword-args.git'
81   -NeoBundle 'git://github.com/tomasr/molokai.git'
82   -NeoBundle 'git://github.com/jpalardy/vim-slime.git'
83   -
  36 +NeoBundle 'git://github.com/vim-ruby/vim-ruby.git'
  37 +NeoBundle 'git://github.com/vim-scripts/Align.git'
  38 +NeoBundle 'git://github.com/vim-scripts/YankRing.vim'
  39 +NeoBundle 'git://github.com/vim-scripts/tComment'
  40 +NeoBundle 'git://github.com/vim-scripts/wombat256.vim'
84 41
85 42 filetype plugin indent on
86 43
87 44 set t_Co=256
88 45
89   -" encoding
90   -" to see http://www.kawaz.jp/pukiwiki/?vim#cb691f26
91   -" 文字コードの自動認識
92   -" if &encoding !=# 'utf-8'
93   -" set encoding=japan
94   -" set fileencoding=japan
95   -" endif
96   -" if has('iconv')
97   -" let s:enc_euc = 'euc-jp'
98   -" let s:enc_jis = 'iso-2022-jp'
99   -" " iconvがeucJP-msに対応しているかをチェック
100   -" if iconv("\x87\x64\x87\x6a", 'cp932', 'eucjp-ms') ==# "\xad\xc5\xad\xcb"
101   -" let s:enc_euc = 'eucjp-ms'
102   -" let s:enc_jis = 'iso-2022-jp-3'
103   -" " iconvがJISX0213に対応しているかをチェック
104   -" elseif iconv("\x87\x64\x87\x6a", 'cp932', 'euc-jisx0213') ==# "\xad\xc5\xad\xcb"
105   -" let s:enc_euc = 'euc-jisx0213'
106   -" let s:enc_jis = 'iso-2022-jp-3'
107   -" endif
108   -" " fileencodingsを構築
109   -" if &encoding ==# 'utf-8'
110   -" let s:fileencodings_default = &fileencodings
111   -" let &fileencodings = s:enc_jis .','. s:enc_euc .',cp932'
112   -" let &fileencodings = &fileencodings .','. s:fileencodings_default
113   -" unlet s:fileencodings_default
114   -" else
115   -" let &fileencodings = &fileencodings .','. s:enc_jis
116   -" set fileencodings+=utf-8,ucs-2le,ucs-2
117   -" if &encoding =~# '^\(euc-jp\|euc-jisx0213\|eucjp-ms\)$'
118   -" set fileencodings+=cp932
119   -" set fileencodings-=euc-jp
120   -" set fileencodings-=euc-jisx0213
121   -" set fileencodings-=eucjp-ms
122   -" let &encoding = s:enc_euc
123   -" let &fileencoding = s:enc_euc
124   -" else
125   -" let &fileencodings = &fileencodings .','. s:enc_euc
126   -" endif
127   -" endif
128   -" " 定数を処分
129   -" unlet s:enc_euc
130   -" unlet s:enc_jis
131   -" endif
132   -" " 日本語を含まない場合は fileencoding に encoding を使うようにする
133   -" if has('autocmd')
134   -" function! AU_ReCheck_FENC()
135   -" if &fileencoding =~# 'iso-2022-jp' && search("[^\x01-\x7e]", 'n') == 0
136   -" let &fileencoding=&encoding
137   -" endif
138   -" endfunction
139   -" autocmd BufReadPost * call AU_ReCheck_FENC()
140   -" endif
141   -" " 改行コードの自動認識
142   -" set fileformats=unix,dos,mac
143   -" " □とか○の文字があってもカーソル位置がずれないようにする
144   -" if exists('&ambiwidth')
145   -" set ambiwidth=double
146   -" endif
147   -
148 46 set encoding=utf-8
149 47 set fileencodings=utf-8,euc-jp,sjis,iso-2022-jp
150 48 set fileformats=unix,dos,mac
151 49
152 50 " editor
153 51 syntax enable
154   -"colorscheme darkblue
155   -"colorscheme desert
156   -"set background=dark
157   -"colorscheme solarized
158   -"let g:solarized_termcolors=256
159   -"colorscheme wombat256
160   -"colorscheme wombat256mod
161   -"colorscheme molokai
162 52 colorscheme wombat256mod
163   -"colorscheme molokai
164 53 if &diff
165   - colorscheme leo
  54 + colorscheme leo
166 55 endif
167 56
168 57 "set number
@@ -211,8 +100,6 @@ set formatoptions-=o
211 100 " keybind
212 101 nmap <Space>b :ls<CR>:buffer<Space>
213 102 nnoremap <Space>gg <Esc>:<C-u>vimgrep // **/* \| cw<Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left>
214   -"nnoremap <Space>gc <Esc>:<C-u>vimgrep // % \| cw<Left><Left><Left><Left><Left><Left><Left><Left>
215   -"nnoremap <Space>gg <Esc>:<C-u>vimgrep /<C-r><C-w>/j **/* \| cw<Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left>
216 103
217 104 autocmd BufNewFile,BufRead *.pm set filetype=perl
218 105 autocmd BufNewFile,BufRead *.pl set filetype=perl
@@ -224,7 +111,6 @@ autocmd FileType * setlocal formatoptions-=ro
224 111 au FileType ruby set tabstop=2 softtabstop=2 shiftwidth=2 expandtab autoindent
225 112 au FileType perl set tabstop=4 softtabstop=4 shiftwidth=4 expandtab autoindent
226 113
227   -"inoremap jj <ESC>
228 114 inoremap <ESC> <ESC>:set iminsert=0<CR>
229 115
230 116 map <C-N> :bnext<CR>
@@ -253,11 +139,6 @@ let g:quickrun_config['markdown'] = {
253 139 set splitbelow
254 140 set splitright
255 141
256   -" clipboard
257   -"set clipboard=unnamed,autoselect
258   -"set paste
259   -"set pastetoggle=,p
260   -
261 142 " neocomplecache
262 143 let g:acp_enableAtStartup = 0
263 144 let g:neocomplcache_enable_at_startup = 1
@@ -280,22 +161,8 @@ inoremap <expr><C-l> neocomplcache#complete_common_string()
280 161
281 162 " Recommended key-mappings.
282 163 inoremap <expr><CR> neocomplcache#smart_close_popup() . "\<CR>"
283   -"inoremap <expr><TAB> pumvisible() ? "\<C-n>" : "\<TAB>"
284 164 inoremap <expr><C-h> neocomplcache#smart_close_popup()."\<C-h>"
285 165 inoremap <expr><BS> neocomplcache#smart_close_popup()."\<C-h>"
286   -"inoremap <expr><C-y> neocomplcache#close_popup()
287   -"inoremap <expr><C-e> neocomplcache#cancel_popup()
288   -
289   -
290   -" AutoComplPop like behavior.
291   -"let g:neocomplcache_enable_auto_select = 1
292   -
293   -" Shell like behavior(not recommended).
294   -"set completeopt+=longest
295   -"let g:neocomplcache_enable_auto_select = 1
296   -"let g:neocomplcache_disable_auto_complete = 1
297   -"inoremap <expr><TAB> pumvisible() ? "\<Down>" : "\<TAB>"
298   -"inoremap <expr><CR> neocomplcache#smart_close_popup() . "\<CR>"
299 166
300 167 " Enable omni completion.
301 168 autocmd FileType css setlocal omnifunc=csscomplete#CompleteCSS
@@ -332,53 +199,12 @@ nnoremap <silent> <Space>uo :<C-u>Unite outline<CR>
332 199 nnoremap <silent> <Space>uO :<C-u>Unite -auto-preview outline<CR>
333 200 nnoremap <silent> <Space>ul :<C-u>Unite line<CR>
334 201 nnoremap <silent> <Space>uc :<C-u>Unite -auto-preview colorscheme<CR>
335   -"nnoremap <silent> <Space>ug :<C-u>Unite grep<CR><CR>
336   -"nnoremap <silent> <Space>ug :<C-u>Unite grep:.:-iRHn:
337 202 nnoremap <silent> <Space>ug :<C-u>Unite grep:**/*:-iRHn:<CR>
338 203 nnoremap <silent> <Space>us :<C-u>Unite snippet<CR>
339 204
340   -" textmanip
341   -vmap <C-u> <Plug>(textmanip-move-up)
342   -vmap <C-d> <Plug>(textmanip-move-down)
343   -"vmap <C-h> <Plug>(textmanip-move-left)
344   -"vmap <C-l> <Plug>(textmanip-move-right)
345   -
346   -" project.vim
347   -"let g:proj_flags = 'imst'
348   -"let g:proj_window_width = 48
349   -"nmap <silent> <Leader>P <Plug>ToggleProject
350   -"nmap <silent> <Leader>p :Project<CR>
351   -"let g:proj_run1='!git add %f'
352   -"let g:proj_run_fold1='*!git add %f'
353   -"let g:proj_run2='!git checkout -- %f'
354   -"let g:proj_run_fold2='*!git checkout -- %f'
355   -"let g:proj_run3='!git status'
356   -"autocmd BufAdd .vimprojects silent! %foldopen!
357   -"if getcwd() != $HOME
358   -" if filereadable(getcwd(). '/.vimprojects')
359   -" exec 'Project .vimprojects'
360   -" endif
361   -"endif
362   -
363 205 nnoremap <ESC><ESC> :nohlsearch<CR>
364 206 nnoremap <C-C><C-C> :nohlsearch<CR>
365 207
366   -" vimfiler
367   -"let g:vimfiler_as_default_explorer = 1
368   -" let g:vimfiler_execute_file_list = {}
369   -" let g:vimfiler_execute_file_list['rb'] = 'vim'
370   -" let g:vimfiler_execute_file_list['pl'] = 'vim'
371   -" let g:vimfiler_execute_file_list['pm'] = 'vim'
372   -" let g:vimfiler_execute_file_list['t'] = 'vim'
373   -" let g:vimfiler_execute_file_list['tx'] = 'vim'
374   -" let g:vimfiler_execute_file_list['py'] = 'vim'
375   -" let g:vimfiler_execute_file_list['htm'] = 'vim'
376   -" let g:vimfiler_execute_file_list['html'] = 'vim'
377   -" let g:vimfiler_execute_file_list['xhtml'] = 'vim'
378   -
379   -"foldmethod (> use Unite outline.)
380   -"set foldmethod=indent
381   -
382 208 " YankRing(p after ctrl+p)
383 209 let g:yankring_history_dir = expand('$HOME')
384 210 let g:yankring_history_file = '.yankring_history'
@@ -386,29 +212,6 @@ let g:yankring_max_history = 10
386 212 let g:yankring_window_height = 13
387 213 let g:yankring_manual_clipboard_check = 0
388 214
389   -" " indent-guides
390   -" let g:indent_guides_enable_on_vim_startup = 1
391   -" let g:indent_guides_color_change_percent= 30
392   -" let g:indent_guides_guide_size = 1
393   -
394   -"" errormarker
395   -"autocmd FileType perl,cgi :compiler perl
396   -"let g:errormarker_errortext = '!!'
397   -"let g:errormarker_warningtext = '??'
398   -"let g:errormarker_errorgroup = 'Error'
399   -"let g:errormarker_warninggroup = 'Todo'
400   -"if !exists('g:flymake_enabled')
401   -" let g:flymake_enabled = 1
402   -" autocmd BufWritePost *.rb,*.pl,*.pm,*.t silent make
403   -"endif
404   -"if has('win32') || has('win64')
405   -" let g:errormarker_erroricon = expand('~/.vim/signs/err.bmp')
406   -" let g:errormarker_warningicon = expand('~/.vim/signs/warn.bmp')
407   -"else
408   -" let g:errormarker_erroricon = expand('~/.vim/signs/err.bmp')
409   -" let g:errormarker_warningicon = expand('~/.vim/signs/err.png')
410   -"endif
411   -
412 215 " tagfile
413 216 let OSTYPE = system('uname')
414 217 if OSTYPE == "Darwin\n"
@@ -417,7 +220,6 @@ elseif OSTYPE == "Linux\n"
417 220 autocmd BufWritePost *.rb,*.pl,*.pm,*.t,*.tx,*.php silent :!ctags --exclude='*.js' --exclude='vendor/bundler/*' -R .
418 221 endif
419 222
420   -
421 223 " git-vim
422 224 let g:git_no_map_default = 1
423 225 let g:git_command_edit = 'rightbelow vnew'
@@ -448,16 +250,6 @@ if has('gui_macvim')
448 250 set guifont=Osaka-Mono:h14
449 251 endif
450 252
451   -
452   -" simplenote settings.
453   -" search, trash, update, new, tag setting, list, delete.
454   -nnoremap <Space>vl :<C-u>VimpleNote -l<CR>
455   -nnoremap <Space>vu :<C-u>VimpleNote -u<CR>
456   -nnoremap <Space>vd :<C-u>VimpleNote -d<CR>
457   -nnoremap <Space>vD :<C-u>VimpleNote -D<CR>
458   -nnoremap <Space>vn :<C-u>VimpleNote -n<CR>
459   -nnoremap <Space>vt :<C-u>VimpleNote -t<Space>
460   -
461 253 " open-browser.vim
462 254 let g:netrw_nogx = 1
463 255 nmap gx <Plug>(openbrowser-smart-search)
@@ -481,20 +273,12 @@ else
481 273 autocmd MyAutoCmd BufWritePost .vimrc source ~/dotfiles/.vimrc
482 274 endif
483 275
484   -" excitetranslate-vim
485   -vnoremap <C-t> :<C-u>'<,'>ExciteTranslate<CR>
486   -
487 276 " vimfiler
488 277 let g:vimfiler_as_default_explorer = 1
489 278 " nnoremap <Space>vf :<C-u>VimFilerSplit<CR>
490 279 " nnoremap <Space>vf :<C-u>VimFiler -buffer-name=explorer -split -simple -winwidth=35 -toggle -no-quit -double<CR>
491 280 nnoremap <Space>vf :<C-u>VimFiler -buffer-name=explorer -split -simple -winwidth=35 -toggle -no-quit<CR>
492 281
493   -" quickhl
494   -nnoremap <Space>m :<C-u>QuickhlAdd <C-r><C-w><CR>
495   -vnoremap <Space>m :<C-u>QuickhlAdd <C-r><C-w><CR>
496   -nnoremap <Space>M :<C-u>QuickhlReset<CR>
497   -
498 282 " paste mode
499 283 nnoremap <Space>sp :<C-u>set paste<CR>
500 284 nnoremap <Space>sn :<C-u>set nopaste<CR>
@@ -516,35 +300,12 @@ if has("autocmd")
516 300 \ endif
517 301 endif
518 302
519   -"nnoremap <C-t> :TrinityToggleAll<CR><C-w><C-w>
520   -"nnoremap <silent> <Space>t :TrinityToggleAll<CR><C-w><C-w>
521   -
522   -" TODO : skelton
523   -"augroup SkeletonAu
524   -"   autocmd!
525   -"   autocmd BufNewFile *.html 0r $HOME/.vim/skel.html
526   -"   autocmd BufNewFile *.pl 0r $HOME/.vim/skel.pl
527   -"   autocmd BufNewFile *.pm 0r $HOME/.vim/skel.pm
528   -"augroup END
529   -"
530   -"
531   -"
532 303 let g:syntastic_mode_map = { 'mode': 'passive',
533 304 \ 'active_filetypes': ['perl', 'php', 'ruby', 'javascript'],
534 305 \ 'passive_filetypes': [] }
535 306
536   -"inoremap <C-l> <Right>
537   -
538 307 nnoremap <silent> <C-t> :<C-u>tabnew<CR>
539 308
540   -" octoeditor settings
541   -let g:octopress_path = '~/project/octopress'
542   -nnoremap <Space>on :OctopressNew<CR>
543   -nnoremap <Space>ol :OctopressList<CR>
544   -nnoremap <Space>og :OctopressGenerate<CR>
545   -nnoremap <Space>od :OctopressDeploy<CR>
546   -
547   -
548 309 " ruby tags
549 310 if filereadable(expand('~/rtags'))
550 311 au FileType ruby,eruby setl tags+=~/rtags
@@ -594,4 +355,3 @@ let g:unite_source_ruby_require_ruby_command = '$HOME/.rbenv/shims/ruby'
594 355 " vim-slime
595 356 let g:slime_target = "tmux"
596 357 let g:slime_paste_file = "$HOME/.slime_paste"
597   -

0 comments on commit 203cab3

Please sign in to comment.
Something went wrong with that request. Please try again.