Wikia

Vim Tips Wiki

Lookup word in dict

Talk0
1,613pages on
this wiki
Revision as of 23:49, September 29, 2008 by JohnBot (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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>

CommentsEdit

Around Wikia's network

Random Wiki