ltk

Socket-based GUI for X11 (WIP)
git clone git://lumidify.org/ltk.git (fast, but not encrypted)
git clone https://lumidify.org/git/ltk.git (encrypted, but very slow)
Log | Files | Refs | README | LICENSE

ltk.cfg (2148B)


      1 [general]
      2 explicit-focus = true
      3 all-activatable = true
      4 line-editor = "st -e vi %f"
      5 # In future:
      6 # text-editor = ...
      7 
      8 [key-binding:widget]
      9 # In future:
     10 # bind edit-text-external ...
     11 # bind edit-line-external ...
     12 bind-keypress move-next sym tab
     13 bind-keypress move-prev sym tab mods shift
     14 bind-keypress move-next text n
     15 bind-keypress move-prev text p
     16 bind-keypress move-left sym left
     17 bind-keypress move-right sym right
     18 bind-keypress move-up sym up
     19 bind-keypress move-down sym down
     20 bind-keypress move-left text h
     21 bind-keypress move-right text l
     22 bind-keypress move-up text k
     23 bind-keypress move-down text j
     24 bind-keypress focus-active sym return
     25 # FIXME: Test that this works properly once widgets that need
     26 # focus are added - remove-popups should be called if escape
     27 # wasn't handled already by unfocus-active.
     28 bind-keypress unfocus-active sym escape
     29 bind-keypress remove-popups sym escape
     30 bind-keypress set-pressed sym return #flags run-always
     31 bind-keyrelease unset-pressed sym return #flags run-always
     32 # alternative: rawtext instead of text to ignore mapping
     33 
     34 [key-binding:entry]
     35 bind-keypress cursor-to-beginning sym home
     36 bind-keypress cursor-to-end sym end
     37 bind-keypress cursor-left sym left
     38 bind-keypress cursor-right sym right
     39 bind-keypress select-all text a mods ctrl
     40 bind-keypress delete-char-backwards sym backspace
     41 bind-keypress delete-char-forwards sym delete
     42 bind-keypress expand-selection-left sym left mods shift
     43 bind-keypress expand-selection-right sym right mods shift
     44 bind-keypress selection-to-clipboard text c mods ctrl
     45 bind-keypress paste-clipboard text v mods ctrl
     46 bind-keypress switch-selection-side text o mods alt
     47 bind-keypress edit-external text E mods ctrl
     48 
     49 # default mapping (just to silence warnings)
     50 [key-mapping]
     51 language = "English (US)"
     52 
     53 [key-mapping]
     54 language = "German"
     55 map "z" "y"
     56 map "y" "z"
     57 map "Z" "Y"
     58 map "Y" "Z"
     59 map "Ö" ":"
     60 map "_" "?"
     61 map "-" "/"
     62 map "ä" "'"
     63 
     64 [key-mapping]
     65 language = "Urdu (Pakistan)"
     66 map "ج" "j"
     67 map "ک" "k"
     68 map "ح" "h"
     69 map "ل" "l"
     70 map "ن" "n"
     71 map "پ" "p"
     72 
     73 [key-mapping]
     74 language = "Hindi (Bolnagri)"
     75 map "ज" "j"
     76 map "क" "k"
     77 map "ह" "h"
     78 map "ल" "l"
     79 map "न" "n"
     80 map "प" "p"