Vim Tips Wiki
(new art)
 
(Overview only because documentation is in script.)
 
Line 1: Line 1:
{{ScriptComments|morse.vim : Script for writing morse code in vim }}
+
{{ScriptComments|morse: writing morse code in 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 :)
 
   
  +
==Overview==
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)
 
  +
The script remaps the keys so that typing a letter or number inserts the morse code in dots and dashes for the character.
   
  +
==Comments==
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
 

Latest revision as of 10:09, 24 November 2014

Use this page to discuss script 205 morse: writing morse code in Vim

  • Add constructive comments, bug reports, or discuss improvements (see the guideline).
  • Do not document the script here (the author should do that on vim.org).
  • This page may be out of date: check the script's vim.org page above, and its release notes.

Overview[]

The script remaps the keys so that typing a letter or number inserts the morse code in dots and dashes for the character.

Comments[]