Do you use vim as your default text editor? If you do not, have you ever been in a situation you could do nothing but use vim?

  • audaxdreik@pawb.social
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 hours ago

    Nah, I’m another nano guy. You can set up syntax highlighting for it you know?

    It’s not that any one is better than the other, it’s up to your use cases. I’ve learned vim a few times in my life already (and mostly just know the hjkl bindings from playing tons of terminal roguelikes) but it always decays because I don’t put the knowledge to use. Because it just doesn’t fit my use case.

    I write small scripts, some Python and stuff and I’ll usually use PyCharm to debug that these days. So nano is relegated to the small tasks like config editing or quick, in place fixes to scripts.

  • Clutter@sh.itjust.works
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    3 hours ago

    I’m a freelance linux it nerd. I figured I better get used to vim/nvim because every company I visited had different tooling available but their servers ALWAYS had vim.

    Now I have a nice .vim setup I can easily copy/paste and work easily and fast. I’ve become quite adept in the years following that decision.

    Plus, as a freelance dude using vim quickly and flying through code bases makes it really seem like I know what I’m doing / hacker type … I don’t. And I’m no hacker… But the customer is happy soooo :-)

    P.s. I’m currently trying out the Zed editor with vim bindings. They are emaculate!

  • juipeltje@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    1 hour ago

    I started using emacs a while back. Before that i was using helix. If i need to make a quick edit in the tty i still find myself going back to nano. I’ve never been in a situation where i could only use vim. If i ever am though, i would know my way around.

  • folaht@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    3 hours ago

    Do you use vim as your default text editor?

    Not just text editor, but also IDE via rocks.nvim.
    Ever since I wanted to edit some file that had like 2000 lines and I just wanted to quickly go to line 1164.
    Nano wasn’t cut out for that and I hadn’t heard of emacs.
    But I use a Typematrix dvorak keyboard, so I had to rearrange all the command.
    Now I’m stuck with it.

    If you do not, have you ever been in a situation you could do nothing but use vim?

    Yeah, whenever I type git commit -m "message goes here"
    Also, I wanted to program on a server, so I ssh’d into it and decided that vim was the way to go as an IDE.

  • dantel@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    3 hours ago

    Yes I do and to my delight I’ ve yet to encounter a situation where I can’t use the editor I prefer anyway. Joy.

  • Slashme@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    4 hours ago

    Yes, started using vi when I started using a Unix login at university. That was in about 1994 or so. When I started using Linux it was definitely vim.

    I’ve tried using evil-mode and vim keybindings in other editors. I somehow keep coming back to vim, though.

  • fozid@feddit.uk
    link
    fedilink
    arrow-up
    5
    arrow-down
    1
    ·
    5 hours ago

    I have never been on a machine where I can’t install and use nano. I can use vi / vim / nvim, but I don’t have muscle memory. I have tried to convert away from nano, but it’s just too easy and what I have been used to over nearly 2 decades on Linux. I have nvim installed with a few plugins and a bit of a custom config, but anytime I need to do something important or complex I jump into nano. If I remember and am not in a rush I’ll jump into nvim to try and practice.

  • notptr@lemmy.cyberia9.org
    link
    fedilink
    arrow-up
    6
    ·
    6 hours ago

    I use to use vim but I discovered org mode so I use emacs.

    Recently I been doing programming on plan 9 so I been using acme.

  • AHemlocksLie@lemmy.zip
    link
    fedilink
    arrow-up
    3
    ·
    6 hours ago

    I prefer NeoVim, but now I’m trying out Guile Scheme, and the best Lisp support is in Emacs from what I understand, so I’m currently attempting to stop using Vim commands in Emacs.

  • Feathercrown@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    4 hours ago

    I’ve had to use vim once or twice. It’s… fine. Not really my thing. I’m a nano guy (or, ideally, VS Code).

  • 00xide@lemmy.ml
    link
    fedilink
    arrow-up
    7
    ·
    7 hours ago

    For much, not for all.

    System and user files are pretty close to one another in NixOS, so I use it for both. Sudoedit is set to vim, but I have a kitty and neovim (technically it’s nnot nvim, it’s nvf so I can config it in Nix instead of Lua) environment that tiles quite nicely and uses nonconflicting keymaps.

    I use mod+hjkl for navigating my window manager, too, which has led to an interesting situation. Hyprland just migrated to Lua from Hyprscript, and Neovim uses a lot of Lua for inbuilt commands and stuff, so you’d think I’d be thrilled to write them both in the same language. Instead I just sigh at the greener grass because I already configured them both in Nix.

    I do use Obsidian (with Vim binds, and monospace source mode as default for everything except tables) for my markdown viewer / primary notekeeping cloud sync, and Kate for previewing media that needs to be formatted right as a .doc or .pdf.

    Some Obsidian notes are handled with Vim, actually. I have a script that sets up a new Zettelkasten note with automatic tags and opens it in Neovim, because I find it faster than Obsidian when I have a single thought and need to write it before it’s forgotten. Thanks ADHD. I write Zettelkasten like little scripts of code - unique, atomic, referencing and importing each other, with a unique version history, and Vim’s great at that.

  • placebo@lemmy.zip
    link
    fedilink
    English
    arrow-up
    3
    ·
    6 hours ago

    Neovim for any text editing including code, but this thread tempted me to try helix.