Ⅰ. 插件描述
Script for writing morse code in vimⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/morse-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/morse-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/morse-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/morse.vim
Ⅳ. 文档说明
When we relax on trips in the country, we probably value script for communication in morse code (notebook and vim are necessary, of course :) What is in the vim's window, we can blink by flash-lamp :)
After sourcing morse.vim, type <F5> to start 'morse' in normal or insert mode and type <F5> again to stop it. (This is default map, remaping this keystroke is on lines 33-34)
Feature 1:
Is possible switch on some 'special' characters like ,;/?.: 'to morse'. If you want this feature, please, uncomment line "let g:var_morse_ext = 1"
Feature 2:
Maybe is good (?) to treble spaces between words for better reading; If you want this, please, uncomment line "let g:var_morse_3spc = 1"
Enjoy