(Move categories to tip template) |
(Remove html character entities) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 15: | Line 15: | ||
<pre> |
<pre> |
||
− | nnoremap ,l mayiw`a:exe "!dict -P - $(echo " . @" . "\| recode latin1..utf-8)" |
+ | nnoremap ,l mayiw`a:exe "!dict -P - $(echo " . @" . "\| recode latin1..utf-8)"<CR> |
− | vnoremap ,l may`a:exe "!dict -P - $(echo " . @" . "\| recode latin1..utf-8)" |
+ | vnoremap ,l may`a:exe "!dict -P - $(echo " . @" . "\| recode latin1..utf-8)"<CR> |
</pre> |
</pre> |
||
==Comments== |
==Comments== |
||
− | |||
− | ---- |
Latest revision as of 23:49, 29 September 2008
Tip 1053 Printable Monobook Previous Next
created November 20, 2005 · complexity basic · author Jan Christoph Ebersbach · version 6.0
Put this in your vimrc to lookup the inner or selected word in dict. Please adjust latin1 to your encoding.
nnoremap ,l mayiw`a:exe "!dict -P - $(echo " . @" . "\| recode latin1..utf-8)"<CR> vnoremap ,l may`a:exe "!dict -P - $(echo " . @" . "\| recode latin1..utf-8)"<CR>