I’m trying out Obsidian for taking notes, and this made me laugh.

  • psud@aussie.zone
    link
    fedilink
    arrow-up
    1
    ·
    11 months ago

    If anyone needs the command: :q!

    If you want the computer to ask if you’re sure: :q

    If you want to save: :wq

  • homura1650@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    10 months ago

    Tricky question, but I think I have a solution:

    :!readlink /proc/$PPID/fd/* | grep “$(dirname %)/.$(basename %).sw” | xargs -I{} rm “{}” ; kill -9 $PPID

  • flop_leash_973@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    11 months ago

    A lot of my personal dislike for VIM would be done away with if it just had a helpful common keys cheat sheet (basic cursor navigation, edit mode, exit with and without saving, etc) at the bottom of the editor window like Nano does.

    • jayemar@lemm.ee
      link
      fedilink
      arrow-up
      0
      ·
      11 months ago

      I understand where you’re coming from, but as a frequent user of vim I’d much rather have the additional line of text.