From d51323a3c1c0c10e5cbd3639642bcc7e9b2b7b23 Mon Sep 17 00:00:00 2001 From: Benjamin VAUDOUR Date: Wed, 13 Apr 2022 09:27:53 +0200 Subject: [PATCH] =?UTF-8?q?Encore=20plus=20de=20bindings=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rc.elv | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/rc.elv b/rc.elv index 913fa75..f99d5eb 100644 --- a/rc.elv +++ b/rc.elv @@ -16,20 +16,22 @@ set @paths = $@paths /home/benjamin/bin /home/benjamin/Go/bin /home/benjamin/per set notify-bg-job-success = $false -set edit:insert:binding[Tab] = { edit:completion:smart-start; edit:navigation:trigger-filter } -set edit:insert:binding[Ctrl-H] = $edit:histlist:start~ -set edit:insert:binding[Ctrl-F] = $edit:move-dot-right~ -set edit:insert:binding[Ctrl-B] = $edit:move-dot-left~ -set edit:insert:binding[Ctrl-E] = $edit:move-dot-eol~ -set edit:insert:binding[Ctrl-A] = $edit:move-dot-sol~ -set edit:insert:binding[Alt-B] = $edit:move-dot-left-word~ -set edit:insert:binding[Alt-F] = $edit:move-dot-right-word~ -set edit:insert:binding[Alt-T] = $edit:transpose-word~ -set edit:insert:binding[Ctrl-T] = $edit:transpose-rune~ -set edit:insert:binding[Ctrl-P] = $edit:history:start~ -set edit:history:binding[Ctrl-P] = $edit:history:up~ -set edit:insert:binding[Ctrl-N] = $edit:history:start~ -set edit:history:binding[Ctrl-N] = $edit:history:down-or-quit~ +set edit:insert:binding[Tab] = { edit:completion:smart-start; edit:navigation:trigger-filter } +set edit:insert:binding[Ctrl-H] = $edit:histlist:start~ +set edit:insert:binding[Ctrl-F] = $edit:move-dot-right~ +set edit:insert:binding[Ctrl-B] = $edit:move-dot-left~ +set edit:insert:binding[Ctrl-E] = $edit:move-dot-eol~ +set edit:insert:binding[Ctrl-A] = $edit:move-dot-sol~ +set edit:insert:binding[Alt-B] = $edit:move-dot-left-word~ +set edit:insert:binding[Alt-F] = $edit:move-dot-right-word~ +set edit:insert:binding[Alt-T] = $edit:transpose-word~ +set edit:insert:binding[Ctrl-T] = $edit:transpose-rune~ +set edit:insert:binding[Ctrl-P] = $edit:history:start~ +set edit:insert:binding[Alt-Delete] = $edit:kill-word-right~ +set edit:insert:binding[Alt-Backspace] = $edit:kill-word-left~ +set edit:history:binding[Ctrl-P] = $edit:history:up~ +set edit:insert:binding[Ctrl-N] = $edit:history:start~ +set edit:history:binding[Ctrl-N] = $edit:history:down-or-quit~ #set edit:prompt = { go-prompt } #set edit:rprompt = { nop }