# Readline cheat sheet for prompt mode

**URL:** <https://discuss.kakoune.com/t/readline-cheat-sheet-for-prompt-mode/72>\
**Category:** Resources\
**Created:** [September 26, 2018, 5:24pm UTC](https://discuss.kakoune.com/t/readline-cheat-sheet-for-prompt-mode/72 "2018-09-26T17:24:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Delapouite](https://discuss.kakoune.com/user_avatar/discuss.kakoune.com/delapouite/32/10_2.png) [@Delapouite](https://discuss.kakoune.com/u/Delapouite)\
**Post date:** [September 26, 2018, 5:24pm UTC](https://discuss.kakoune.com/t/readline-cheat-sheet-for-prompt-mode/72/1 "2018-09-26T17:24:46Z")

</div>

Earlier this month, Kakoune finally implemented most of readline shortcuts in the prompt:

> <https://github.com/mawww/kakoune/commit/4b7e77ae000083ad0eb2400e03738ebe7453db14>
>
> In the end, no better solution materialized so far, and custom
> Kakoune line edit…ing bindings are hard to remember. Using well
> known readline bindings seems just more convenient.
> 
> Closes #800, although it does not contain all the binding proposed
> by it (I might accept a few additional ones, such as \<c-w\>, but not
> too much, I still see that as a hack pending a nicer solution).

These mappings can feel pretty foreign in comparison of the ones in normal mode, because of their emacs legacy.

I’m not really proficient while editing long commands in the shell because for whatever reason deep in my brain, I keep confusing/forgetting these keyboard shortcuts. So I often rely on this small cheat sheet. Maybe this visual recap can help you as well:

> **[Clément Chastagnol ~ Moving efficiently in the CLI](https://clementc.github.io/blog/2018/01/25/moving_cli/)**
>
> A cheatsheet for moving efficiently in the CLI!

 ![](https://discuss.kakoune.com/uploads/default/original/1X/f458d8dbc5a45a7e520267b9cf9f066e1d9d4cba.png)

Does anyone have useful mnemonics to remember them?

---

<div class="post-metadata">

**Author:** ![TeddyDD](https://discuss.kakoune.com/user_avatar/discuss.kakoune.com/teddydd/32/21_2.png) [@TeddyDD](https://discuss.kakoune.com/u/TeddyDD)\
**Post date:** [September 26, 2018, 6:20pm UTC](https://discuss.kakoune.com/t/readline-cheat-sheet-for-prompt-mode/72/2 "2018-09-26T18:20:00Z")

</div>

I know basic Emacs shortcuts but honestly this feels like step backwards. I  
liked old Kakoune, they were consistent with rest of the design. If learning  
new keybindings would be hard we’d still be using Vim.
