• [^] # Re: Et pendant ce temps dans le petit monde de Emacs...

    Posté par . En réponse à la dépêche Yzis, un nouveau clone de vi. Évalué à 1.

    :help emacs-keys
    *emacs-keys*
    For Emacs-style editing on the command-line: >
    " start of line
    :cnoremap <C-A> <Home>
    " back one character
    :cnoremap <C-B> <Left>
    " delete character under cursor
    :cnoremap <C-D> <Del>
    " end of line
    :cnoremap <C-E> <End>
    " forward one character
    :cnoremap <C-F> <Right>
    " recall newer command-line
    :cnoremap <C-N> <Down>
    " recall previous (older) command-line
    :cnoremap <C-P> <Up>
    " back one word
    :cnoremap <C-B> <S-Left>
    " forward one word
    :cnoremap <C-F> <S-Right>