Skip to content

Instantly share code, notes, and snippets.

@jwalanta
Created October 11, 2013 15:14
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jwalanta/6936444 to your computer and use it in GitHub Desktop.
Save jwalanta/6936444 to your computer and use it in GitHub Desktop.
Fixed ne-trad.mim (Nepali traditional input layout). Replace content of /usr/share/m17n/ne-trad.mim with this.
;; ne-trad.mim -- Nepali input method for traditional layout
;; This files implements the traditional keyboard layout published by MPP.
;; Copyright (c) 2005 Suyash Shrestha <suyash.shr@gmail.com>
;; This file is part of the m17n contrib; a sub-part of the m17n
;; library.
;; The m17n library is free software; you can redistribute it and/or
;; modify it under the terms of the GNU Lesser General Public License
;; as published by the Free Software Foundation; either version 2.1 of
;; the License, or (at your option) any later version.
;; The m17n library is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
;; Lesser General Public License for more details.
;; You should have received a copy of the GNU Lesser General Public
;; License along with the m17n library; if not, write to the Free
;; Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
;; Boston, MA 02110-1301, USA.
(input-method ne trad)
(description "Nepali input method for traditional layout.
Author: Suyash Shrestha <suyash.shr@gmail.com>
Edited: Jwalanta Shrestha <jwalanta_at_gmail_dot_com>
")
(title "Ne")
(map
(trans
("~" ?॥)
("!" "ज्ञ")
("@" ?ई)
("#" ?घ)
("$" "द्ध")
("%" ?छ)
("^" ?ट)
("&" ?ठ)
("*" ?ड)
("(" ?ढ)
(")" ?ण)
("_" ?ओ)
("+" ?‌)
("|" ?ं)
("`" ?ञ)
("1" ?१)
("2" ?२)
("3" ?३)
("4" ?४)
("5" ?५)
("6" ?६)
("7" ?७)
("8" ?८)
("9" ?९)
("0" ?०)
("-" ?औ)
("=" ?‍)
("\\" ?्)
("{" ?ृ)
("}" ?ै)
("[" "र्")
("]" ?े)
(":" "ट्ठ")
(";" ?स)
("\"" ?ू)
("'" ?ु)
("<" ?ङ)
(">" "श्र")
("?" "रु")
("," ?ऽ)
("." ?।)
("/" ?र)
("A" ?आ)
("B" ?ौ)
("C" ?ऋ)
("D" "ङ्ग")
("E" ?ऐ)
("F" ?ँ)
("G" "द्द")
("H" ?झ)
("I" "क्ष")
("J" ?ो)
("K" ?फ)
("L" ?ी)
("M" "ड्ड")
("N" "द्य")
("O" ?इ)
("P" ?ए)
("Q" "त्त")
("R" "द्ब")
("S" "ङ्क")
("T" "ट्ट")
("U" ?ऊ)
("V" ?ॐ)
("W" "ड्ढ")
("X" "ह्य")
("Y" "ठ्ठ")
("Z" "क्क")
("a" ?ब)
("b" ?द)
("c" ?अ)
("d" ?म)
("e" ?भ)
("f" ?ा)
("g" ?न)
("h" ?ज)
("i" ?ष)
("j" ?व)
("k" ?प)
("l" ?ि)
("m" ?ः)
("n" ?ल)
("o" ?य)
("p" ?उ)
("q" "त्र")
("r" ?च)
("s" ?क)
("t" ?त)
("u" ?ग)
("v" ?ख)
("w" ?ध)
("x" ?ह)
("y" ?थ)
("z" ?श)
))
(state
(init
(trans)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment