Mercurial > vim
view runtime/keymap/hebrewp_utf-8.vim @ 34219:a0a4a774117b v9.1.0058
patch 9.1.0058: Cannot map Super Keys in GTK UI
Commit: https://github.com/vim/vim/commit/92e90a1e102825aa9149262cacfc991264db05df
Author: Casey Tucker <dctucker@hotmail.com>
Date: Thu Jan 25 22:44:00 2024 +0100
patch 9.1.0058: Cannot map Super Keys in GTK UI
Problem: Cannot map Super Keys in GTK UI
(Casey Tucker)
Solution: Enable Super Key mappings in GTK using <D-Key>
(Casey Tucker)
As a developer who works in both Mac and Linux using the same keyboard,
it can be frustrating having to remember different key combinations or
having to rely on system utilities to remap keys.
This change allows `<D-z>` `<D-x>` `<D-c>` `<D-v>` etc. to be recognized
by the `map` commands, along with the `<D-S-...>` shifted variants.
```vimrc
if has('gui_gtk')
nnoremap <D-z> u
nnoremap <D-S-Z> <C-r>
vnoremap <D-x> "+d
vnoremap <D-c> "+y
cnoremap <D-v> <C-R>+
inoremap <D-v> <C-o>"+gP
nnoremap <D-v> "+P
vnoremap <D-v> "-d"+P
nnoremap <D-s> :w<CR>
inoremap <D-s> <C-o>:w<CR>
nnoremap <D-w> :q<CR>
nnoremap <D-q> :qa<CR>
nnoremap <D-t> :tabe<CR>
nnoremap <D-S-T> :vs#<CR><C-w>T
nnoremap <D-a> ggVG
vnoremap <D-a> <ESC>ggVG
inoremap <D-a> <ESC>ggVG
nnoremap <D-f> /
nnoremap <D-g> n
nnoremap <D-S-G> N
vnoremap <D-x> "+x
endif
```
closes: #12698
Signed-off-by: Casey Tucker <dctucker@hotmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 25 Jan 2024 23:00:03 +0100 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
" Vim Keymap file for hebrew " Maintainer : Ron Aaron <ron@ronware.org> " Last Updated: Thu 08 Mar 2001 13:49:01 " This is my version of a phonetic Hebrew " Use this short name in the status line. let b:keymap_name = "hebp" loadkeymap w <char-0x5e9> " ù - shin n <char-0x5e0> " ð - nun b <char-0x5d1> " á - bet g <char-0x5d2> " â - gimel q <char-0x5e7> " ÷ - qof k <char-0x5db> " ë - kaf g <char-0x5e2> " ò - ayin y <char-0x5d9> " é - yod N <char-0x5df> " ï - final nun j <char-0x5d7> " ç - het l <char-0x5dc> " ì - lamed K <char-0x5da> " ê - final kaf x <char-0x5e6> " ö - tsadi m <char-0x5de> " î - mem M <char-0x5dd> " í - final mem p <char-0x5e4> " ô - pe r <char-0x5e8> " ø - resh d <char-0x5d3> " ã - dalet a <char-0x5d0> " à - alef v <char-0x5d5> " å - vav h <char-0x5d4> " ä - he s <char-0x5e1> " ñ - samekh T <char-0x5d8> " è - tet z <char-0x5d6> " æ - zayin t <char-0x5ea> " ú - tav X <char-0x5e5> " õ - final tsadi P <char-0x5e3> " ó - final pe A: <Char-0x5b0> " sheva HE <Char-0x5b1> " hataf segol HA <Char-0x5b2> " hataf patah HO <Char-0x5b3> " hataf qamats I <Char-0x5b4> " hiriq AY <Char-0x5b5> " tsere E <Char-0x5b6> " segol AA <Char-0x5b7> " patah AO <Char-0x5b8> " qamats O <Char-0x5b9> " holam U <Char-0x5bb> " qubuts D <Char-0x5bc> " dagesh ]T <Char-0x5bd> " meteg ]Q <Char-0x5be> " maqaf ]R <ÌChar-0x5bf> " rafe ]p <Char-0x5c0> " paseq SR <Char-0x5c1> " shin-dot SL <Char-0x5c2> " sin-dot ]P <Char-0x5c3> " sof-pasuq VV <Char-0x5f0> " double-vav VY <Char-0x5f1> " vav-yod YY <Char-0x5f2> " yod-yod " cantillation: C: <Char-0x591> " etnahta Cs <Char-0x592> " segol CS <Char-0x593> " shalshelet Cz <Char-0x594> " zaqef qatan CZ <Char-0x595> " zaqef gadol Ct <Char-0x596> " tipeha Cr <Char-0x597> " revia Cq <Char-0x598> " zarqa Cp <Char-0x599> " pashta C! <Char-0x59a> " yetiv Cv <Char-0x59b> " tevir Cg <Char-0x59c> " geresh C* <Char-0x59d> " geresh qadim CG <Char-0x59e> " gershayim CP <Char-0x59f> " qarnei-parah Cy <Char-0x5aa> " yerach-ben-yomo Co <Char-0x5ab> " ole Ci <Char-0x5ac> " iluy Cd <Char-0x5ad> " dehi Cn <Char-0x5ae> " zinor CC <Char-0x5af> " masora circle X` <Char-0xfb20> " Alternative `ayin X' <Char-0xfb21> " Alternative 'alef X-d <Char-0xfb22> " Alternative dalet X-h <Char-0xfb23> " Alternative he X-k <Char-0xfb24> " Alternative kaf X-l <Char-0xfb25> " Alternative lamed X-m <Char-0xfb26> " Alternative mem-sofit X-r <Char-0xfb27> " Alternative resh X-t <Char-0xfb28> " Alternative tav X-+ <Char-0xfb29> " Alternative plus XW <Char-0xfb2a> " shin+shin-dot Xw <Char-0xfb2b> " shin+sin-dot X..W <Char-0xfb2c> " shin+shin-dot+dagesh X..w <Char-0xfb2d> " shin+sin-dot+dagesh XA <Char-0xfb2e> " alef+patah XO <Char-0xfb2f> " alef+qamats XI <Char-0xfb30> " alef+hiriq (mapiq) X.b <Char-0xfb31> " bet+dagesh X.g <Char-0xfb32> " gimel+dagesh X.d <Char-0xfb33> " dalet+dagesh X.h <Char-0xfb34> " he+dagesh Xu <Char-0xfb35> " vav+dagesh X.z <Char-0xfb36> " zayin+dagesh X.T <Char-0xfb38> " tet+dagesh X.y <Char-0xfb39> " yud+dagesh X.K <Char-0xfb3a> " kaf sofit+dagesh X.k <Char-0xfb3b> " kaf+dagesh X.l <Char-0xfb3c> " lamed+dagesh X.m <Char-0xfb3e> " mem+dagesh X.n <Char-0xfb40> " nun+dagesh X.s <Char-0xfb41> " samech+dagesh X.P <Char-0xfb43> " pe sofit+dagesh X.p <Char-0xfb44> " pe+dagesh X.x <Char-0xfb46> " tsadi+dagesh X.q <Char-0xfb47> " qof+dagesh X.r <Char-0xfb48> " resh+dagesh X.w <Char-0xfb49> " shin+dagesh X.t <Char-0xfb4a> " tav+dagesh Xo <Char-0xfb4b> " vav+holam XRb <Char-0xfb4c> " bet+rafe XRk <Char-0xfb4d> " kaf+rafe XRp <Char-0xfb4e> " pe+rafe Xal <Char-0xfb4f> " alef-lamed