|
1 | 1 | " ============================================================================
|
2 | 2 | " File: vimrc
|
3 | 3 | " Maintainer: https://github.com/EvanQuan/qvim/
|
4 |
| -" Version: 3.11.0 |
| 4 | +" Version: 3.12.0 |
5 | 5 | "
|
6 | 6 | " Contains optional runtime configuration settings to initialize Vim when it
|
7 | 7 | " starts. For Vim versions before 7.4, this should be linked to the ~/.vimrc
|
|
20 | 20 | " Version
|
21 | 21 | " Displayed with lightline-buffer.
|
22 | 22 | "
|
23 |
| -let g:vimrc_version = '3.11.0' |
| 23 | +let g:vimrc_version = '3.12.0' |
24 | 24 |
|
25 | 25 | " Path {{{
|
26 | 26 |
|
@@ -170,6 +170,7 @@ Plug $MYGITPLUGINS . '/vis.vim'
|
170 | 170 | Plug 'bkad/CamelCaseMotion'
|
171 | 171 | Plug 'SirVer/ultisnips'
|
172 | 172 | Plug 'honza/vim-snippets'
|
| 173 | +Plug 'EvanQuan/victionary' |
173 | 174 |
|
174 | 175 | " }}}
|
175 | 176 | " File Navigation {{{
|
@@ -2016,6 +2017,16 @@ inoremap <expr> <Return> pumvisible() ? "<C-R>=<SID>ExpandSnippetOrReturn()<Retu
|
2016 | 2017 | " If you want :UltiSnipsEdit to split your window.
|
2017 | 2018 | let g:UltiSnipsEditSplit="vertical"
|
2018 | 2019 |
|
| 2020 | +" }}} |
| 2021 | +" victionary {{{ |
| 2022 | +" Repository: https://github.com/EvanQuan/victionary |
| 2023 | + |
| 2024 | +let g:victionary#map_defaults = 0 |
| 2025 | +nmap <leader>dw <Plug>(victionary#define_under_cursor) |
| 2026 | +nmap <leader>dW <Plug>(victionary#define_prompt) |
| 2027 | +nmap <leader>ds <Plug>(victionary#synonym_under_cursor) |
| 2028 | +nmap <leader>dS <Plug>(victionary#synonym_prompt) |
| 2029 | +
|
2019 | 2030 | " }}}
|
2020 | 2031 | " vim-closetag {{{
|
2021 | 2032 | " Repository: https://github.com/alvan/vim-closetag
|
@@ -2219,6 +2230,17 @@ let g:lmap.c = {
|
2219 | 2230 | \'y' : ['call feedkeys("\<plug>NERDCommenterYank")', 'Yank'],
|
2220 | 2231 | \}
|
2221 | 2232 |
|
| 2233 | +" }}} |
| 2234 | +" define {{{ |
| 2235 | + |
| 2236 | +let g:lmap.d = { |
| 2237 | + \'name' : 'Define...', |
| 2238 | + \'w' : ['call feedkeys("\<Plug>(victionary#define_under_cursor)")', 'Word'], |
| 2239 | + \'s' : ['call feedkeys("\<Plug>(victionary#synonym_under_cursor)")', 'Synonym'], |
| 2240 | + \'W' : ['call feedkeys("\<Plug>(victionary#define_prompt)")', 'Word prompt'], |
| 2241 | + \'S' : ['call feedkeys("\<Plug>(victionary#synonym_prompt)")', 'Synonym prompt'], |
| 2242 | + \} |
| 2243 | + |
2222 | 2244 | " }}}
|
2223 | 2245 | " edit {{{
|
2224 | 2246 |
|
|
0 commit comments