Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathplugin.vim
More file actions
Latest commit
140 lines (119 loc) · 3.82 KB
/
Copy pathplugin.vim
File metadata and controls
140 lines (119 loc) · 3.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
" ----------------------------------------------------
" plugin settings
" ----------------------------------------------------
" nerdtree
letg:NERDTreeShowBookmarks=1
letg:NERDTreeChDirMode=2
"let g:NERDTreeDirArrows=0
let NERDTreeWinSize =25
nnoremap<silent><C-e> :NERDTreeToggle<CR>
if!argc()
autocmdvimenter* NERDTree|normal gg3j
endif
" vim-easy-align
" Start interactive EasyAlign in visual mode (e.g. vipga)
xmapga<Plug>(EasyAlign)
" Start interactive EasyAlign for a motion/text object (e.g. gaip)
nmapga<Plug>(EasyAlign)
" vim-edgemotion
map<C-j><Plug>(edgemotion-j)
map<C-k><Plug>(edgemotion-k)
" vim-endwise
letg:endwise_no_mappings=1
autocmdFileTypelua,ruby,sh,zsh,vb,vbnet,aspvbs,vimimap<buffer><CR><CR><Plug>DiscretionaryEnd
" open-browser.vim
letg:netrw_nogx=1" disable netrw's gx mapping.
nmapgx<Plug>(openbrowser-smart-search)
vmapgx<Plug>(openbrowser-smart-search)
" vim-quickrun
letg:quickrun_config= {}
"" vim-markdown
letg:quickrun_config.markdown = {
\ 'outputter': 'browser'
\ }
letg:quickrun_config.rst = {
\ 'outputter': 'message',
\ 'runner': 'vimscript',
\ 'exec': 'InstantRst'
\ }
" ----------------------------------------------------
" dein.vim (plugin manager. For Vim 7.4 or above.)
" ----------------------------------------------------
lets:dein_dir=expand('~/.vim/dein')
lets:dein_repo_dir=s:dein_dir . '/repos/github.com/Shougo/dein.vim'
if &runtimepath!~#'/dein.vim'
if!isdirectory(s:dein_repo_dir)
execute'!git clone https://github.com/Shougo/dein.vim's:dein_repo_dir
endif
execute'set runtimepath^=' . fnamemodify(s:dein_repo_dir, ':p')
endif
ifdein#load_state(s:dein_dir)
calldein#begin(s:dein_dir)
calldein#add('thinca/vim-quickrun')
" repository size is large
" call dein#add('vim-jp/vimdoc-ja')
calldein#add('ConradIrwin/vim-bracketed-paste')
calldein#add('tyru/open-browser.vim')
calldein#add('kana/vim-operator-user')
calldein#add('tyru/operator-camelize.vim')
calldein#add('kana/vim-altr')
calldein#add('AndrewRadev/sideways.vim')
calldein#add('kana/vim-niceblock')
" buffer
calldein#add('jlanzarotta/bufexplorer')
" tree
calldein#add('scrooloose/nerdtree')
calldein#add('Xuyuanp/nerdtree-git-plugin')
" Git
calldein#add('tpope/vim-fugitive')
calldein#add('tpope/vim-rhubarb')
calldein#add('cohama/agit.vim')
calldein#add('clear-code/insert-git-log.vim')
calldein#add('kana/vim-gf-user')
calldein#add('kana/vim-gf-diff')
calldein#add('clear-code/git-diff-unified.vim')
calldein#add('airblade/vim-gitgutter')
" move
calldein#add('haya14busa/vim-edgemotion')
" comp
calldein#add('tpope/vim-endwise')
calldein#add('tpope/vim-surround')
calldein#add('mattn/emmet-vim')
calldein#add('tomtom/tcomment_vim')
calldein#add('junegunn/vim-easy-align')
" search
calldein#add('haya14busa/incsearch.vim')
" grep
calldein#add('rking/ag.vim')
calldein#add('nazo/pt.vim')
" find
calldein#add('ctrlpvim/ctrlp.vim')
" lang
calldein#add('othree/html5.vim')
calldein#add('tpope/vim-rails')
calldein#add('vim-scripts/rest.vim')
calldein#add('gu-fan/InstantRst')
calldein#add('tpope/vim-markdown')
" 上記以外のプラグインを追加する場合、
" ~/.vim/dein/dein.toml を作成して以下のように記述してください。
"
" [[plugins]]
" repo = '.../...'
"
" [[plugins]]
" repo = '.../...'
"
lets:toml_path=s:dein_dir . '/dein.toml'
iffilereadable(s:toml_path)
calldein#load_toml(s:toml_path, {'lazy': 0})
end
lets:toml_lazy_path=s:dein_dir . '/dein_lazy.toml'
iffilereadable(s:toml_lazy_path)
calldein#load_toml(s:toml_lazy_path, {'lazy': 1})
end
calldein#end()
calldein#save_state()
endif
ifdein#check_install()
calldein#install()
endif