Skip to content

Instantly share code, notes, and snippets.

@nanasess
Created July 4, 2012 00:23
Show Gist options
  • Save nanasess/3044338 to your computer and use it in GitHub Desktop.
Save nanasess/3044338 to your computer and use it in GitHub Desktop.
dot.uim
(require "japanese.scm")
(define skk-personal-dic-filename
(string-append (getenv "HOME") "/SparkleShare/share/ddskk/jisyo"))
(define skk-save-personal-dictionary
(lambda ()
(skk-lib-save-personal-dictionary skk-personal-dic-filename)))
(define ja-rk-rule-basic
(append '(
(((",") . ()) ("," "," ","))
(((".") . ()) ("." "." "."))
((("(") . ()) ("(" "(" "("))
(((")") . ()) (")" ")" ")"))
((("{") . ()) ("{" "{" "{"))
((("}") . ()) ("}" "}" "}"))
((("|") . ()) ("|" "|" "|"))
((("\\\\") . ()) ("\\\\" "\\\\" "\\\\"))
((("@") . ()) ("@" "@" "@"))
((("*") . ()) ("*" "*" "*"))
((("$") . ()) ("$" "$" "$"))
((("^") . ()) ("^" "^" "^"))
((("#") . ()) ("#" "#" "#"))
((("$") . ()) ("$" "$" "$"))
((("%") . ()) ("%" "%" "%"))
((("+") . ()) ("+" "+" "+"))
((("<") . ()) ("<" "<" "<"))
(((">") . ()) (">" ">" ">"))
)
ja-rk-rule-basic))
(ja-rk-rule-update)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment