From daf94e14d404060537317c5d925e8732ff4f8f44 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Tue, 29 Mar 2016 15:24:58 +0200 Subject: Document more keybindings Fixes #2866. --- doc_src/index.hdr.in | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'doc_src') diff --git a/doc_src/index.hdr.in b/doc_src/index.hdr.in index ff2d5ab3..ca307539 100644 --- a/doc_src/index.hdr.in +++ b/doc_src/index.hdr.in @@ -909,7 +909,7 @@ Similar to bash, fish has Emacs and Vi editing modes. The default editing mode i \subsection emacs-mode Emacs mode commands -- @key{Tab} completes the current token. +- @key{Tab} completes the current token. @key{Shift, Tab} completes the current token and starts the pager's search mode. - @key{Home} or @key{Control,A} moves the cursor to the beginning of the line. @@ -935,7 +935,7 @@ Similar to bash, fish has Emacs and Vi editing modes. The default editing mode i - @key{Control,L} clears and repaints the screen. -- @key{Control,W} moves the previous word to the killring. +- @key{Control,W} moves the previous path component (everything up to the previous "/") to the killring. - @key{Alt,D} moves the next word to the killring. @@ -951,6 +951,11 @@ Similar to bash, fish has Emacs and Vi editing modes. The default editing mode i - @key{Alt,H} (or @key{F1}) shows the manual page for the current command, if one exists. +- @key{Control, t} transposes the last two characters + +- @key{Alt,t} transposes the last two words + + You can change these key bindings using the bind builtin command. -- cgit v1.2.3