this post was submitted on 20 May 2026
105 points (96.5% liked)

Linux

65863 readers
440 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?

top 50 comments
sorted by: hot top controversial new old
[–] PragmaticOne@lemmy.world 1 points 3 days ago

Yes I do all the time. But there are occasions where I have to use Vi as there's no Vim.

[–] CrabAndBroom@lemmy.ml 67 points 4 weeks ago (2 children)

I've been using Vim for 20 years.

I only opened it once and I haven't been able to close it yet

load more comments (2 replies)
[–] mrbn@lemmy.ca 44 points 4 weeks ago (2 children)
[–] nymnympseudonym@piefed.social 23 points 4 weeks ago

vim all day

They will take it from my cold dead hands

Save the Ugandan children

load more comments (1 replies)
[–] SrMono@feddit.org 25 points 4 weeks ago* (last edited 4 weeks ago)

Neovim is my goto editor for terminals. Yes.

:wq

[–] Zachariah@lemmy.world 20 points 4 weeks ago (2 children)
load more comments (2 replies)
[–] dlsolo@lemmy.world 19 points 4 weeks ago
[–] terminal@lemmy.ml 18 points 4 weeks ago (1 children)
[–] TheMadCodger@piefed.social 10 points 4 weeks ago

I started in vim and now moved into evil emacs

[–] bigbangdangler@reddthat.com 16 points 4 weeks ago (3 children)
load more comments (3 replies)
[–] non_burglar@lemmy.world 14 points 4 weeks ago (2 children)

Didn't end your post with :wq

load more comments (1 replies)
[–] Sickday@kbin.earth 12 points 4 weeks ago (2 children)

I use it where it's available and helix isn't

[–] onlinepersona@programming.dev 6 points 4 weeks ago* (last edited 4 weeks ago) (1 children)

Helix is just user friendly vim, honestly. Vim barely has any help and helix is batteries included. Ever since discovering it, vim feels like a downgrade.

[–] Sickday@kbin.earth 7 points 4 weeks ago (1 children)

It's just way easier to get helix to a usable state for the languages I write in than it is with vim. I don't have to go plugin hunting or vetting random github repos; all the support mostly comes shipped with the editor. Throw some lines in TOML file and you're good, vs downloading a plugin manager, downloading plugins, configuring those plugins and hoping you got everything right and the plugin repo's README isn't 10 years out of date.

vim feels like a downgrade.

100%

load more comments (1 replies)
[–] BartyDeCanter@piefed.social 4 points 4 weeks ago

Same. Every machine I have control of I install Helix. For the rest, I remember just enough vi to do what I need and get out.

[–] RotatingParts@lemmy.ml 11 points 4 weeks ago

Old school Emacs user here. The keyboard shortcuts are so ingrained in my head I don't know if I would ever be able to switch to another editor. Old dog ...

[–] SwooshBakery624@programming.dev 10 points 4 weeks ago* (last edited 4 weeks ago) (4 children)

Vim is slop-coded now, unfortunately. I use evil Emacs.

load more comments (4 replies)
[–] Dirk@lemmy.ml 10 points 4 weeks ago

No, I use Neovim. But this I use 100% of the time.

[–] non_burglar@lemmy.world 10 points 4 weeks ago
[–] cupcakezealot@piefed.blahaj.zone 9 points 4 weeks ago (2 children)

i mean vim is fine and all and i can get around it fine but nano superiority

# ── behaviour ────────────────────────────────────────────────  
set autoindent  
set atblanks  
set casesensitive  
set constantshow  
set cutfromcursor  
set historylog  
set indicator  
set linenumbers  
set minibar  
set mouse  
set nohelp  
set positionlog  
set smarthome  
set softwrap  
set speller "aspell -x -c"  
# set suspend  
# NOTE: Removed in nano 7.x; CTRL+Z suspend is now always enabled by default.  
# Kept here for reference in case of older nano versions.  
set tabsize 2  
set tabstospaces  
set zap  

# ── backups ────────────────────────────────────────────────  
set backup  
set backupdir "~/.cache/nano/backups/"  

# ── syntax highlighting ───────────────────────────────────────  
include "/usr/share/nano/*.nanorc"  
[–] Clutter@sh.itjust.works 9 points 4 weeks ago* (last edited 4 weeks 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!

[–] AdamBomb@lemmy.world 8 points 4 weeks ago (1 children)

Yes! Neovim for coding, Vim for non-code editing

load more comments (1 replies)
[–] Colonel_Panic_@eviltoast.org 8 points 4 weeks ago

Yes, won't quit, can't quit, seriously, help.

[–] 00xide@lemmy.ml 8 points 4 weeks ago (1 children)

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.

[–] mik3dd0@lemmy.ml 5 points 4 weeks ago (1 children)

Damn, that's quite the detailed setup.

load more comments (1 replies)
[–] utopiah@lemmy.ml 7 points 4 weeks ago (2 children)

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

load more comments (2 replies)
[–] azimir@lemmy.ml 7 points 4 weeks ago

Started on vi, stayed in whatever has vi/vim bindings available.

The more I can stay on home row keys the better editing text is.

[–] MimicJar@lemmy.world 7 points 4 weeks 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.

[–] notptr@lemmy.cyberia9.org 7 points 4 weeks ago (1 children)

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.

load more comments (1 replies)
[–] brianpeiris@lemmy.ca 6 points 4 weeks 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.

[–] Cyber@feddit.uk 5 points 4 weeks ago* (last edited 4 weeks ago)

nano for most editing

vimdiff for comparing files (Ie .pacnew files)

[–] mazzilius_marsti@lemmy.world 5 points 3 weeks ago

Sorry my hands are busy

`C - x 2'

C -x C-f ~/.emacs.d/init.el

C-x C-s

[–] Slashme@lemmy.world 5 points 4 weeks 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.

[–] BartyDeCanter@piefed.social 5 points 4 weeks ago* (last edited 4 weeks ago)

In college, my advisor/boss was basically the emacs guy, so I picked up enough to do some basic text editing but didn’t go further because I didn’t feel like spending hours reading man pages.

Later I worked at a place where a shared computer only had vi, so same story. I learned about a half dozen commands and left it with that.

Then I went though a series of other editors and IDEs at different jobs, Notepad++, StyledEdit, CodeWarrior, CodeComposer, some weird proprietary Netbeans based thing, VS Code, etc. I still used vi for minor config editing on the occasional remote machine.

Then I got a job where I would be doing a ton of work on headless remotes, so I decided to get serious about learning something purely terminal based. I tried a couple of things, but ended up with Helix because:

  1. it runs pretty great on my 15 year old laptop
  2. the vi commands I remembered worked
  3. it has actual command discoverability out of the box
  4. I didn’t have to install 153 plugins and write a 2834 line config file to make it useful

Now I’m all helix all the time and really enjoying it.

[–] dantel@programming.dev 5 points 4 weeks 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.

[–] TheCynicalSaint@lemmy.ml 5 points 4 weeks ago

Nano for low-level system crap (config, scripting, etc) and Obsidian/Typora/Insert WYSIWYG editor here for major writing. I'll utilize LibreOffice if I need something done in a Windows-compliant way.

[–] kaleissin@sopuli.xyz 5 points 4 weeks ago

Yes, yes, and have been in a situation where the only editor available was nvi (not vim). ed(1) rocks when on slow connections to low-specced boxen, btw.

[–] jbrains@sh.itjust.works 5 points 4 weeks ago

I can still speak vim, but I drive helix daily.

[–] witness_me@lemmy.ml 5 points 4 weeks 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).

[–] slazer2au@lemmy.world 4 points 4 weeks ago (1 children)

I switch between Nano and Vi depending on what machine I am on and if I remember if Nano is installed.

load more comments (1 replies)
[–] audaxdreik@pawb.social 4 points 4 weeks 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 4 weeks 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.

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

load more comments
view more: next ›