Skip to content

toshi32tony3/dicwin-vim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

dicwin.vim - Dictionary window

Usage

  1. Install this plugin into your vim.
  2. Get dictionary file (gene.txt). * Download from http://www.namazu.org/~tsuchiya/sdic/data/gene.html * Convert it to UTF-8, if you prefer 'encoding=utf-8' (see more below)
  3. Put gene.txt at ~/.vim/dict/ (or ~/vimfiles/dict
  4. Open a document and set cursor on an english word then type <Leader>k

Shortcuts

  • <Leader>k Search word under cursor.
  • <Leader>/ Search prompted word.
  • <Leader>c Close dictionary window.
  • <Leader>n Search next. (with last word)
  • <Leader>p Search previous. (with last word)
  • <Leader>w Jump to dictionary window (if exists)

OTHERS

UNDER UTF-8/UTF-8環境での利用 (only Japanese)

配布されているgene.txt内に不具合があり、encoding=utf-8の環境で利用すると文字化 けを起こします。これを回避するにはgene.txtを手動で編集して(該当箇所を削除)して ください。

Vimでは以下のとおり操作をすることで該当箇所を削除できます。参考にしてください。

:e ++enc=cp932 gene.txt
:91697,91698d
:w!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 100.0%