Skip to content

Commit 430eddc

Browse files
committed
vimrc 3.12.0
Add EvanQuan/viciontary
1 parent 910bf16 commit 430eddc

File tree

2 files changed

+25
-2
lines changed

2 files changed

+25
-2
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ restart Vim.
145145
- [tabular](https://github.com/godlygeek/tabular)
146146
- [targets.vim](https://github.com/wellle/targets.vim)
147147
- [ultisnips](https://github.com/SirVer/ultisnips)
148+
- [victionary](https://github.vom/EvanQuan/victionary)
148149
- [vim-closetag](https://github.com/alvan/vim-closetag)
149150
- [vim-easy-align](https://github.com/junegunn/vim-easy-align)
150151
- [vim-exchange](https://github.com/tommcdo/vim-exchange)

vimrc

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
" ============================================================================
22
" File: vimrc
33
" Maintainer: https://github.com/EvanQuan/qvim/
4-
" Version: 3.11.0
4+
" Version: 3.12.0
55
"
66
" Contains optional runtime configuration settings to initialize Vim when it
77
" starts. For Vim versions before 7.4, this should be linked to the ~/.vimrc
@@ -20,7 +20,7 @@
2020
" Version
2121
" Displayed with lightline-buffer.
2222
"
23-
let g:vimrc_version = '3.11.0'
23+
let g:vimrc_version = '3.12.0'
2424

2525
" Path {{{
2626

@@ -170,6 +170,7 @@ Plug $MYGITPLUGINS . '/vis.vim'
170170
Plug 'bkad/CamelCaseMotion'
171171
Plug 'SirVer/ultisnips'
172172
Plug 'honza/vim-snippets'
173+
Plug 'EvanQuan/victionary'
173174

174175
" }}}
175176
" File Navigation {{{
@@ -2016,6 +2017,16 @@ inoremap <expr> <Return> pumvisible() ? "<C-R>=<SID>ExpandSnippetOrReturn()<Retu
20162017
" If you want :UltiSnipsEdit to split your window.
20172018
let g:UltiSnipsEditSplit="vertical"
20182019

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+
20192030
" }}}
20202031
" vim-closetag {{{
20212032
" Repository: https://github.com/alvan/vim-closetag
@@ -2219,6 +2230,17 @@ let g:lmap.c = {
22192230
\'y' : ['call feedkeys("\<plug>NERDCommenterYank")', 'Yank'],
22202231
\}
22212232

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+
22222244
" }}}
22232245
" edit {{{
22242246

0 commit comments

Comments
 (0)