From 4fc3203b356042f67c02d2a3f85c47c1f6c44712 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Thu, 3 Jan 2013 06:20:07 +0000 Subject: [PATCH] Keypad-enter hacking for zile and less. --- dot/lesskey | 8 ++++++++ dot/zile | 1 + setup | 2 +- 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 dot/lesskey 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 -- 2.11.0