this post was submitted on 20 May 2026
117 points (96.8% liked)

Linux

67137 readers
1185 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 7 years ago
MODERATORS
 

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?

(page 2) 50 comments
sorted by: hot top controversial new old
[–] witness_me@lemmy.ml 5 points 3 months ago

Yes. I use vim as much as possible. When I don’t use vim, I use its keybindings in Firefox, IntelliJ, VSCode and even in eMacs (spacemacs with evil mode).

[–] tiny@midwest.social 5 points 3 months ago

Yes I love using neovim it feels better having an editor, agent, and cli in separate terminal tabs instead of having one program for all three

[–] Trent@lemmy.ml 4 points 3 months ago

Helix for really quick edits, emacs for pretty much anything else. I do use tridactyl in firefox though, does that count? 😁

[–] audaxdreik@pawb.social 4 points 3 months ago (1 children)

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.

[–] jenesaisquoi@feddit.org 4 points 3 months ago

It’s not that any one is better than the other, it’s up to your use cases.

This is correct. For example, if the use case is editing a text file, then vim is better.

[–] omgboom@lemmy.world 4 points 3 months ago (1 children)
load more comments (1 replies)
[–] AHemlocksLie@lemmy.zip 4 points 3 months 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.

[–] schnurrito@discuss.tchncs.de 4 points 3 months ago

On the terminal yes.

On GUIs I generally use an IDE or VSCodium with vim keybindings.

[–] DataCrime@lemmy.dbzer0.com 4 points 3 months ago

I only use vim when it’s the only option… so like 99.9% of the time 😞

[–] fozid@feddit.uk 4 points 3 months 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.

[–] psion1369@lemmy.world 4 points 3 months ago

I have a vim setup with plenty of plugins that honestly, I don't know if I need anymore.

[–] AstroLightz@lemmy.world 4 points 3 months ago (1 children)

For quick edits in the terminal? Sure.

As my main IDE? No way. I'm too used to GUI IDEs like VSCodium and PyCharm.

I just find it easier to navigate with a mouse. With just keyboard, I find I overshoot the block of code I'm looking for, whereas scroll wheel gives me more control.

load more comments (1 replies)
[–] flynnguy@programming.dev 4 points 3 months ago

I used to use vim pretty exclusively, I've since switched to neovim. There have been a few cases where vim/nvim weren't available but regular vi was and I've used it to edit text files. I imagine there were other editors but I'm so accustom to how vi/vim/neovim does things that I can't imagine using anything else. Sometimes someone will try and convince me to use a new editor and I'll try it but generally end up switching back to nvim. Even vi compatibility mode doesn't really help because I use a bunch of plugins.

[–] tea@lemmy.today 4 points 3 months ago

Been using micro.

[–] ScoffingLizard@lemmy.dbzer0.com 4 points 3 months ago

I've been in a situation where I could do nothing but use vi until I installed vim. Then could only use vim or vi. I've also had to use GVimPortable on Windows because of shitty corporate computers don't have bash or vim (or didn't back in the day.)

It's not hard. Just grab a cheat sheet. There is an Android app cheat sheet for Linux commands with Vim. You'll be fine.

[–] Peffse@lemmy.world 4 points 3 months ago

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

[–] jenesaisquoi@feddit.org 4 points 3 months ago* (last edited 3 months ago) (1 children)

Yes. But mostly IdeaVim in JetBrains IDEs though.

For those that haven't yet learned vim: the real power is that the commands can be combined to form a mini-language. Commands can also be recorded in macros and replayed. This is what makes it so awesome. But to really make use of this you have to properly learn it, only knowing i and x isn't enough.

[–] Obin@feddit.org 4 points 3 months ago* (last edited 3 months ago) (1 children)

Also note that modal editing isn't for everyone. I'm happy to learn hotkeys, I even got far enough to build musclememory for vim's normal mode. What never went away though was my confusion about what mode the editor is in. I would constantly input text in normal mode and input commands in insert mode, leading to costly mistakes that tore down any speed advantage vim would have given me. I really tried, but never built muscle memory for this kind of context switching[^1], maybe it's an ADHD thing.

These days I'm on Emacs with an always improving custom command scheme of non-modal but context sensitive commands that do similar things in all major and minor modes.

[^1]: Same situation with tmux which is almost a requirement for the typical vim workflow, and adds another layer of mode switching on top. On Emacs window management is included and so are remote shells/editing, so no need for the tmux<->editor context switch.

load more comments (1 replies)
[–] thingsiplay@lemmy.ml 4 points 3 months ago

Do you use vim as your default text editor?

I used Vim for a few years before switching to Neovim. So, yes?

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

This question is not relevant to me, based on the prior question and answer, as I use it as my default text editor. But allow me to give a somewhat relevant answer. When I installed my operating system from scratch, I had to do text edits without Vim or Neovim being installed. It felt like I could do nothing without Vim, but managed it somehow. I had to use Nano!

[–] IEatDaFeesh@lemmy.world 3 points 3 months ago

Fuck no. There are better things to invest your brain power in.

[–] collapse_already@lemmy.ml 3 points 3 months ago

VI and vim have been my editors of choice for thirty plus years at this point. I also use set -o vi in bash.

[–] cerement@slrpnk.net 3 points 3 months ago

I’ve had a couple systems that started with nothing more than vi, but rather more that started with nano (don’t think I’ve come across any that started with vim) – that being said, I’ll tolerate vi long enough to get micro installed

[–] jjlinux@lemmy.zip 3 points 3 months ago

No, and no. Sorry.

[–] parzival@lemmy.hkserv.space 3 points 3 months 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

[–] Filetternavn@lemmy.blahaj.zone 3 points 3 months ago (1 children)

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

load more comments (1 replies)
[–] gwl@lemmy.blahaj.zone 3 points 3 months ago
[–] aarch64@programming.dev 3 points 3 months 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.

[–] scottmeme@sh.itjust.works 3 points 3 months ago

Yes, has been for 8 years

[–] nom_nom@lemmy.ml 2 points 3 months ago

VSCode with vim bindings for coding, neovim for configs, etc.

Wish I could switch fully to neovim but can’t be bothered to spend the time to configure it to my liking

[–] kayzeekayzee@lemmy.blahaj.zone 2 points 3 months ago
[–] Luminous5481@anarchist.nexus 2 points 3 months ago

in general I love myself and feel good, so no I don't use it.

[–] folaht@lemmy.ml 2 points 3 months ago* (last edited 2 months ago) (3 children)

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 and I enjoy 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.

load more comments (3 replies)
[–] juipeltje@lemmy.world 2 points 3 months ago (3 children)

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.

load more comments (3 replies)
load more comments
view more: ‹ prev next ›