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?

  • placebo@lemmy.zip
    link
    fedilink
    English
    arrow-up
    1
    ·
    4 minutes ago

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

  • 00xide@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    56 minutes 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.

  • utopiah@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    1 hour ago

    Yes. I also use vim here (in this Web textarea where I’m typing this answer) thanks to Tridactyl.

  • Sophienomenal@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 hour ago

    I used to use neovim primarily, but mostly use Kate now, as I’ve switched away from programming for the most part. I’ve had plenty of situations where the only text editor available is vi, and I’m able to get by no problem. I do usually prefer nano over vi if it’s an option, though that may get me crucified lol

  • parzival@lemmy.hkserv.space
    link
    fedilink
    arrow-up
    2
    ·
    2 hours ago

    I use nvim for editing, and started after needing to use vi on minimal servers, etc., and being annoyed at not having muscle memory

  • brianpeiris@lemmy.ca
    link
    fedilink
    English
    arrow-up
    3
    ·
    3 hours ago

    You almost always have nano or pico available, so it’s really unlikely that you’d get stuck with nothing but vim, unless you just didn’t know that nano existed.

  • monovergent@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    2 hours ago

    Wanted to, but lacked the motivation to learn it. Was stuck on one occasion without nano, so I pulled up the vim cheat sheet on my phone.

  • MimicJar@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    3 hours ago

    Yes. I started using it years ago and have been unable to exit ever since.

    But honestly related to your question, I started learning to use vim exactly because when I started to learn and use Linux I was often stuck in situations where that was the only thing available.

  • aarch64@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    2 hours ago

    Yes! With a few plugins, of course. YouCompleteMe and fzf.vim are my favorites by far. I spend a lot of time on embedded Linux devices at work, so it’s pretty convenient to use the same editor on my laptop and on the target device.

  • Peffse@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    2 hours ago

    full vim. It always messes with my muscle memory when vim-tiny is installed as a replacement.