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

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

      It’s hard to hate nano, but IMHO there also isn’t anything to like in particular either. It’s basically a TUI notepad. It’s there, it lets people edit files… and that’s pretty much all there is to it.

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

        You can use nano without having to read anything about nano. That might be the only thing that is better about it than vim, but it’s a damn important thing.

        • nautilus@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          69
          ·
          1 year ago

          I have zero patience when trying to make small adjustments to files, which is what my command line text editor should be for. Nano just has everything at the bottom in case you forget (I do, frequently) so the workflow is ridiculously streamlined for me

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

                  yy to copy, dd to cut, p to paste. Need to move 5 lines at once? No problem, move to the first line and use d5d, and p to paste it. Vim gets a bad rap for being confusing, but it’s so fast to move text around once you get the hang of it.

      • Alien Nathan Edward@lemm.ee
        link
        fedilink
        arrow-up
        36
        ·
        1 year ago

        it’s basically a TUI notepad. It’s there, it does one job and that’s all there is to it

        That’s what the people who like it like about it.

    • marduk@lemmy.sdf.org
      link
      fedilink
      arrow-up
      52
      ·
      edit-2
      1 year ago

      I like nano because it has worked any time I needed it. I don’t dislike nano because I’m not good enough at Linux to have ever run into its limitations

      • uzay@infosec.pub
        link
        fedilink
        arrow-up
        8
        ·
        1 year ago

        It just makes a lot of stuff way easier once you know how to use it. Switching out a word for another: two button-presses, duplicating a line: three presses, deleting 500 consecutive lines: five presses

            • nickwitha_k (he/him)@lemmy.sdf.org
              link
              fedilink
              arrow-up
              1
              ·
              edit-2
              1 year ago

              How do we work this? Do we alternate between trying to ruin people’s lives with elisp and chasing the perfect .vimrc or lua - config? Maybe grab some bytes from /dev/urandom and send them to the editor whose first letter comes up first? What about holidays?

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

          But you can do all that with nano and it is straight forward and you don’t need to memorize any key combinations. I mean, I get it and no judgement here. I just use nano because it’s easy and quick.

          • r1veRRR@feddit.de
            link
            fedilink
            arrow-up
            1
            ·
            1 year ago

            You can also copy paste by manually copying text by hand, would call that a valid alternative to Ctrl-C/V?

        • nautilus@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          6
          ·
          1 year ago

          I’ll level with you: I’m kind of a moron.

          If my command line text editor has its own bespoke integrated command line, then science has gone too far and we need to stop lmao

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

          I’m struggling to see the connection here. I guess I don’t need to fiddle with the mechanical pencil, it breaks very quickly? I don’t want to go through changing those little sticks? Graphite pencil only needs to be sharpened? So, you’re supporting using Nano? I’m a little confused

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

            Yet many people prefer mechanical pencils. Are you against choice? What is there to get or “need”?

      • r1veRRR@feddit.de
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        I don’t understand the need for Ctrl-C/V, when manually copying the text exists. I know it’s snarky, but that’s the level of difference we’re talking about here. Or imagine, to delete a line, someone Right Arrows 50 times, then backspaces 50 times, instead of using the shortcut.

      • bioemerl@kbin.social
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        Vim really is an IDE, not a text editor. It’s usable as an editor but overkill.

        Nano serves a difference purpose. It’s like telling someone on a bike that a mustang is better.

        • Kogasa@programming.dev
          link
          fedilink
          arrow-up
          3
          ·
          1 year ago

          Vim is absolutely not an IDE. It has no integrations with any language. It’s just a powerful text editor. You can add language plugins and configure it to be an IDE.

          • Bo7a@lemmy.ca
            link
            fedilink
            arrow-up
            0
            ·
            1 year ago

            No offense intended here - But why is this being upvoted?

            vim absolutely is an IDE if that is how you want to use it. Syntax highlighting, linter, language specific autocomplete, integrated sed/regex. And much, much more.

            • Kogasa@programming.dev
              link
              fedilink
              arrow-up
              0
              ·
              1 year ago

              Syntax highlighting, linting, and language specific autocomplete are features supported by plugins and scripts. Plain, simple vim is a powerful extensible text editor. The extensibility makes it easy to turn into an IDE.

                • Kogasa@programming.dev
                  link
                  fedilink
                  arrow-up
                  0
                  ·
                  1 year ago

                  Yeah, there is a generic syntax highlighting scheme. I had forgotten because it’s not very good for some languages, I’d replaced it with a LSP-based implementation years ago.

    • locuester@lemmy.zip
      link
      fedilink
      English
      arrow-up
      27
      ·
      1 year ago

      nano gang checking in.

      However, I’ve been forced over time to remember “:wq” to get unstuck should vim randomly appear.

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

      i’ve only ever used nano in the early stages of a gentoo install, when it’s too early to install vim and import my dot files 😈

    • XEAL@lemm.ee
      link
      fedilink
      arrow-up
      5
      arrow-down
      2
      ·
      1 year ago

      Here!

      I hate terminal-based text editors

      Nano seems quite user/idiot friendly

      • Troz@sh.itjust.works
        link
        fedilink
        arrow-up
        2
        ·
        3 months ago

        I made that switch a few months ago just so I could cut, copy and paste without having to lookup how to do it. it’s been great.

  • psud@aussie.zone
    link
    fedilink
    arrow-up
    88
    arrow-down
    4
    ·
    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

  • rtxn@lemmy.world
    link
    fedilink
    English
    arrow-up
    86
    arrow-down
    9
    ·
    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.

    • doeknius_gloek@feddit.de
      link
      fedilink
      arrow-up
      49
      ·
      1 year ago

      Also not a fan about the closed source thing, but I like about Obsidian that it’s all just markdown. If I ever need to ditch it, I can keep and use my existing files as they are.

      Would this also be possible with Zettlr or Logseq?

      • sanpo@sopuli.xyz
        link
        fedilink
        arrow-up
        13
        ·
        1 year ago

        Exactly, that and the mobile app. Having simple markdown files and ability to sync them with Syncthing are just too good.

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

        I don’t know about Zettlr, but last I looked at Logseq it worked off markdown files similar to Obsidian.

        That said, I felt Logseq wasn’t quite ready for prime time when I was doing my research a year or so ago. So I went with Obsidian and have been very happy with it.

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

        Been using Logseq for six months, and yes. It’s all just .md and media files referenced by relative links.

        This was an important factor the choice to use it. Having used several note taking applications / systems, getting your data ‘out’ in a painless fashion is the #1 concern.

    • Jorgelino@lemmy.mlOP
      link
      fedilink
      arrow-up
      25
      ·
      1 year ago

      Thanks for the suggestions, I’m actually checking a couple new editors out as i’m looking for an alternative to OneNote. Just started messing with this one, but i’m not sure if i’ll settle for it yet.

    • DotSlashExecute@feddit.uk
      link
      fedilink
      English
      arrow-up
      7
      ·
      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!

      • Tunawithshoes@lemmy.blahaj.zone
        link
        fedilink
        arrow-up
        5
        ·
        1 year ago

        Firstly Joplin is great note taking app and if that is all you want you really should go for it. I used it for years and was really happy.

        But Obsidian is far more than just a note app. It like a Wikipedia page, you can add links within the text of your notes to another note. But they are also bi-directional, meaning you can see the incoming and outgoing links.

        Making easy to use the related notes instead of just link to it. Sometimes you did not even think this note could use that note information and it shows you can connect them.

        Not only that Dataview lets you live index and query your data. Letting me build a template and query that data dynamics.

    • Einar@lemm.ee
      link
      fedilink
      arrow-up
      7
      ·
      edit-2
      1 year ago

      Logseq has an Android app. Zettlr doesn’t.

      Edit: I tested Logseq. It has the basic functionality down, so for many it might be great. For me, though, it doesn’t come close to what is possible with the plugins of Obsidian. So for now I’ll stick with Obsidian.

      • stifle867@programming.dev
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        The Android app is horrible btw. If I had to guess it’s just a desktop web page scaled down and packaged in an app.

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

      I tumbled across Zettlr when I was looking at maybe replacing Zim for my homebrew TTRPG games at the table. I use DokuWiki online. I ran my Star Wars game through it. Pretty impressive.

    • airbussy@lemmy.one
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      Zettlr is a great program, but to recommend it while bashing Obsidians table editing seems interesting. I’ve never used Obsidian so I can’t say how good their implementation is, but I know I’ve struggled alot with the Zettlr tables…

    • lost@feddit.de
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      I would in theory prefer FOSS. But what is the situation with plugins and themes? Can I use obsidian plugins with any of those? If not, I’m probably not gonna switch.

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

      There’s a table edit plug in that makes it easy. The gripe I have with it is not being able to right-justify numbers (or maybe I haven’t looked close enough)

    • Evilschnuff@feddit.de
      link
      fedilink
      arrow-up
      2
      arrow-down
      1
      ·
      1 year ago

      Would love to but I’m not going to pay a subscription for sync (one time would be ok), or have my data on a random aws instance. And last time I checked there is no plugin for your own self defined sync storage like Nextcloud. Once there is, I’m having a go.

  • psycho_driver@lemmy.world
    link
    fedilink
    arrow-up
    75
    ·
    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 :\

    • gornius@lemmy.world
      link
      fedilink
      arrow-up
      20
      arrow-down
      1
      ·
      1 year ago

      Honestly, if you work in a shell a lot, learning vim is a great investment. You’re gonna fly through files editing them faster than with any IDE.

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

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

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

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

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

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

      • flubba86@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        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.

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

      I’m with you on that. VIM is a good example of a tool that the deepness of the tool makes it aggravating to use for the 90% of simple use cases.

      Unless you use VIM enough for the shortcuts to be second nature it is faster to install Nano, make the changes, and remove Nano than it is to use VIM.

    • BestBouclettes@jlai.lu
      link
      fedilink
      arrow-up
      13
      ·
      1 year ago

      If you feel like it definitely give it another go. Vim (or neovim) is just insanely good once you’ve developed the muscle memory for the keybinds.
      It takes a bit of time and practice but it’s actually fairly user friendly once you understand how it works. (c for change, y for yank, p for paste, e for end, b for beginning etc.)

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

        I was a nano person for the longest time, was planning to try out vim but never did, until i saw a coworker using it and he explained a little about the vim “language” actually worked and how much you could do with it

        With some encouragement from him and a week or two of reduced productivity i was able to do everything just as fast in vim as in nano, and it only got better from there, now i find any other editor slow and tiresome in comparison

      • pimeys@lemmy.nauk.io
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        If you want something that is quite a nice editor too but doesn’t require hundreds of lines of configuration, try helix. It also has nice help menus so it’s fast to learn. I’ve used vim since the 90’s and Emacs for many years, but nowadays I kinda just like hx how it just works with zero configuration for any programming language I need to work with.

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

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

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

      one of my favorite things about helix is how easily you can check the keybinds for certain actions - just space-? and then you can see a list of every command available (by description) and their keybinds, if they have one

    • eeleech@lemm.ee
      link
      fedilink
      arrow-up
      13
      arrow-down
      2
      ·
      1 year ago

      Having the commands listed at the bottom by default is one thing i personally dislike about nano, because they take up space while being useless to someone knowing the commands (or at least knowing how to open the help in, which is what you can do in vim to achieve the cheat sheet). The alternative that vim uses, is to show the commands when starting the editor without opening a file.

    • CatLikeLemming@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      1
      ·
      5 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.

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

    There’s a few different ways to write that command in vim, does it accept all of them?