]> arthur.barton.de Git - ax-zsh.git/commitdiff
10_keyboard: Add C-x,C-p shortcut for "push-line"
authorAlexander Barton <alex@barton.de>
Tue, 13 Feb 2018 14:23:19 +0000 (15:23 +0100)
committerAlexander Barton <alex@barton.de>
Tue, 13 Feb 2018 14:23:19 +0000 (15:23 +0100)
core/10_keyboard/10_keyboard.zshrc

index 0e529de127aaa7d78edb80928e8ab22ceb1a1b0d..e301df3558115e9e0cc99a7700a3e4e90ae96bc4 100644 (file)
@@ -19,3 +19,6 @@ after-first-word() {
 }
 zle -N after-first-word
 bindkey "\C-x1" after-first-word
+
+# Push back current line.
+bindkey '\C-x\C-p' push-line