• NostraDavid
    link
    fedilink
    English
    arrow-up
    2
    ·
    11 days ago

    There’s also !!, which is handy when you type a command that requires sudo, you can just do sudo !! to repeat the last command with sudo prefixed.

    Also, if you know emacs shortcuts (ctrl-a, ctrl-e, ctrl-l, etc), you know bash shortcuts, and the other way around - you can also replace those with vim shortcuts, but I don’t like that. It breaks my brain, even though I like vim.