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

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

    Tricky question, but I think I have a solution:

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

  • rtxn@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    I don’t mean to be all “BuT iT’s cLOseD SoURce” but you should give Logseq or Zettlr a try. They’re similar WYSIWYG markdown editors, but also FOSS. Zettlr also has vim keys.

    Plus Obsidian is horrible at editing tables.

    • DotSlashExecute@feddit.uk
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Coming here to recommend Joplin, been using it for years and it’s a great note app, markdown + external editing supported, open source, CLI & GUI clients, encrypted… Does everything right!

  • psud@aussie.zone
    link
    fedilink
    arrow-up
    1
    ·
    1 year 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

  • flop_leash_973@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    1 year 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.

    • CatLikeLemming@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      1
      ·
      10 months ago

      Really, I’d just recommend using nano then. It’s installed basically anywhere you can find vim and works perfectly fine as a text editor! To use vim effectively it has a learning curve no matter what, so it’s not necessarily meant for everyone.

    • jayemar@lemm.ee
      link
      fedilink
      arrow-up
      0
      ·
      1 year 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.

  • psycho_driver@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    I mean, it’s true.

    I’ve been using linux pretty exclusively at home for almost 25 years now. Program. Script. Work in the shell a lot, and the other day I had to use vim and it took me a while to remember the basic commands. I’m a nano guy :\

    • DaTingGoBrrr@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      I also started off using nano. Have you tried Micro? It’s like nano on steroids and with good keybindings

      • pascal@lemm.ee
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        Nano, Pico and Micro? is this editor trying to !compensate for something?

      • flubba86@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        +1 for micro. I install it on every server I administer, and alias it to nano. If you’re a nano user and haven’t tried micro, I highly recommend it. It’s like nano, but built this century, it feels fast and modern.

      • dan@upvote.au
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

        At some point Nano added Ctrl+S for save. That’s all I needed. Its syntax highlighting is decent too.