this post was submitted on 20 May 2026
115 points (96.7% liked)

Linux

65696 readers
89 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
[–] CrabAndBroom@lemmy.ml 82 points 3 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 56 points 3 weeks ago (2 children)
[–] nymnympseudonym@piefed.social 28 points 3 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 29 points 3 weeks ago* (last edited 3 weeks ago)

Neovim is my goto editor for terminals. Yes.

:wq

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

I started in vim and now moved into evil emacs

[–] bigbangdangler@reddthat.com 19 points 3 weeks ago (3 children)
load more comments (3 replies)
[–] Sickday@kbin.earth 16 points 3 weeks ago (2 children)

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

[–] onlinepersona@programming.dev 7 points 3 weeks ago* (last edited 3 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 3 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%

[–] onlinepersona@programming.dev 5 points 3 weeks ago

The process you described is definitely what I went though with vim and neovim. After about a decade of vim I still couldn't get proper language support and an IDE like experience going. When language servers and the debugging protocol came along, it was worse to find the right plugin and configure that correctly.

Helix simplified my decade long struggle with vim in a single weekend. It still isn't a TUI IDE but it's such an upgrade, I'll take it.

load more comments (1 replies)
[–] non_burglar@lemmy.world 16 points 3 weeks ago (2 children)

Didn't end your post with :wq

load more comments (1 replies)
[–] Dirk@lemmy.ml 14 points 3 weeks ago

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

[–] RotatingParts@lemmy.ml 14 points 3 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 ...

[–] non_burglar@lemmy.world 12 points 3 weeks ago
[–] Colonel_Panic_@eviltoast.org 10 points 3 weeks ago

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

[–] cupcakezealot@piefed.blahaj.zone 10 points 3 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"  
[–] 00xide@lemmy.ml 10 points 3 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 3 weeks ago (1 children)

Damn, that's quite the detailed setup.

load more comments (1 replies)
[–] AdamBomb@lemmy.world 10 points 3 weeks ago (1 children)

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

load more comments (1 replies)
[–] SwooshBakery624@programming.dev 10 points 3 weeks ago* (last edited 3 weeks ago) (4 children)

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

load more comments (4 replies)
[–] Clutter@sh.itjust.works 9 points 3 weeks ago* (last edited 3 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!

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

[–] azimir@lemmy.ml 7 points 3 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.

[–] utopiah@lemmy.ml 7 points 3 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)
[–] mazzilius_marsti@lemmy.world 7 points 2 weeks ago

Sorry my hands are busy

`C - x 2'

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

C-x C-s

[–] notptr@lemmy.cyberia9.org 7 points 3 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)
[–] Unusable3151@lemmy.ml 6 points 3 weeks ago (1 children)

neovim at home, Zed with vim bindings at work because I'm stuck with a locked-down Windows machine.

load more comments (1 replies)
[–] placebo@lemmy.zip 6 points 3 weeks ago

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

[–] kibiz0r@midwest.social 6 points 3 weeks ago

VSCode/Codium with vim mode. Regular vim if I’m stuck in text land.

I haven’t tried neovim. Supposedly that could handle everything I need out of vscode, but it’s easier to not be an odd one out at work.

[–] brianpeiris@lemmy.ca 6 points 3 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.

[–] BartyDeCanter@piefed.social 5 points 3 weeks ago* (last edited 3 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.

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

I do not use it as my default text editor but I use it practically every working day. Plenty of times it's the only thing I have available to me. Pretty often vi is all I have to work with

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

[–] nous@programming.dev 5 points 3 weeks ago (3 children)

No. But only because I switched to helix. I have used vim for a lone time before that. Only having vim on a system is fine. Far worse is only having vi. Which is almost like vim but missing a lot of useful things.

load more comments (3 replies)
[–] witness_me@lemmy.ml 5 points 3 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).

[–] kaleissin@sopuli.xyz 5 points 3 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 3 weeks ago

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

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

nano for most editing vimdiff for comparing files (Ie .pacnew files)

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

[–] slazer2au@lemmy.world 5 points 3 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)
load more comments
view more: next ›