Recent changes Random page
GAMING
Technology
 
Gaming
Entertainment
Science Fiction
Biggest wikis
Hobbies
Music
See more...

Lookup word in dict

From Vim Tips Wiki

Jump to: navigation, search

Tip 1053 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>

[edit] Comments

Rate this article:
Share this article: