home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / elm23-2.zip / lesselm.rc < prev    next >
Text File  |  1996-08-12  |  3KB  |  84 lines

  1. # key bindings for less
  2. #
  3. # source for less.ini (compile with "lesskey -o lesselm.ini lesselm.rc")
  4. #
  5. # add any env varaibles that conflict in config.sys after "#env"
  6. # this file binds most standard PC keys, some emacs style keys, 
  7. # and some from previous versions of OS/2 or Dos less.
  8. # for rest of the standard less key bindings see lesskey.man.
  9. #
  10. # to use with Elm, use "less -k<path>/lesselm.ini" as the external
  11. # pager in Elm
  12. #
  13. # you need to use a modified version of less 321 or a newer version
  14. # that has this capability builtin
  15. #
  16. #command
  17. \340H   back-line       #up arrow
  18. \340P   forw-line       #down arrow
  19. \340I   back-screen     #page up
  20. \340Q   forw-screen     #page down
  21. \340ì   back-scroll     #control up arrow
  22. \340æ   forw-scroll     #control down arrow
  23. \340;   help            #F1 key
  24. \340G   goto-line       #Home
  25. \340ä   goto-line       #ctrl page up
  26. \340O   goto-end        #End
  27. \340v   goto-end        #ctrl page down
  28. \340^V  undo-hilite     #alt u
  29. \340R   examine         #insert key
  30. \340w   prev-file       #ctrl home
  31. \340u   next-file       #ctrl end
  32. ^s      forw-search     #emacs style keys
  33. ^r      back-search     #emacs style keys
  34. \340^s  back-search *    #emacs like search all     Alt r
  35. \340^_  forw-search @*    #emacs like search all from start    Alt s
  36. \340s   left-scroll
  37. \340t   right-scroll
  38. r       quit    r
  39. |       quit    |
  40. >       quit    >
  41. <       quit    <
  42. C       quit    C
  43. d       quit    d
  44. f       quit    f
  45. h       quit    h
  46. i       quit    i
  47. J       quit    J
  48. j       quit    j
  49. \33[B   quit    j
  50. K       quit    K
  51. k       quit    k
  52. \33[A   quit    k
  53. m       quit    m
  54. n       quit    n
  55. p       quit    p
  56. q       quit    q
  57. s       quit    s
  58. t       quit    t
  59. T       quit    T
  60. v       quit    v
  61. x       quit    x
  62. X       quit    X
  63. #line-edit
  64. \17     back-complete   #control O
  65. \340^O  back-complete   #Shift Tab
  66. \14     expand          #control L
  67. \340M   right           #right arrow
  68. \340K   left            #left arrow
  69. \340t    word-left       #control left arrow
  70. \340s    word-right      #control right arrow
  71. \340R   insert          #Insert key
  72. \340S   delete          #Delete key
  73. \177    word-backspace  #control backspace
  74. \340ô   word-delete     #control delete
  75. \340G   home            #Home key
  76. \340O   end             #End key
  77. \340H   up              #up arrow
  78. \340P   down            #down arrow
  79. ^A      home            #emacs style keys
  80. ^E      end             #emacs style keys
  81. #env
  82. LESS=-MicqS
  83. LESSCHARSET=dos
  84.