From: Mark Wooding Date: Thu, 3 Jan 2013 06:20:07 +0000 (+0000) Subject: Keypad-enter hacking for zile and less. X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/profile/commitdiff_plain/4fc3203b356042f67c02d2a3f85c47c1f6c44712 Keypad-enter hacking for zile and less. --- diff --git a/dot/lesskey b/dot/lesskey new file mode 100644 index 0000000..fb77d61 --- /dev/null +++ b/dot/lesskey @@ -0,0 +1,8 @@ +### -*-conf-*- +### `less' key bindings + +#command +\kx back-screen +\eOM forw-line + +#line-edit diff --git a/dot/zile b/dot/zile index 97c90d9..cf2d8c7 100644 --- a/dot/zile +++ b/dot/zile @@ -9,5 +9,6 @@ ;; Key bindings. (global-set-key "\M-\LEFT" 'backward-word) (global-set-key "\M-\RIGHT" 'forward-word) +(global-set-key "\M-OM" 'newline) (global-set-key "\F4" 'call-last-kbd-macro) (global-set-key "\C-x/" 'auto-fill-mode) diff --git a/setup b/setup index 82898ef..d1393df 100755 --- a/setup +++ b/setup @@ -133,7 +133,7 @@ fi dotfiles=" bash_profile bash_logout bashrc inputrc bash_completion emacs emacs-calc vm gnus.el ercrc.el - vimrc mg zile + vimrc mg zile lesskey ditz-config mailrc signature cgrc tigrc