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

Linux

65452 readers
176 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
[–] collapse_already@lemmy.ml 3 points 2 days 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.

[–] mazzilius_marsti@lemmy.world 6 points 2 days ago

Sorry my hands are busy

`C - x 2'

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

C-x C-s

[–] tiny@midwest.social 5 points 2 days 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

[–] CrabAndBroom@lemmy.ml 81 points 4 days 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)
[–] IEatDaFeesh@lemmy.world 3 points 2 days ago

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

[–] omgboom@lemmy.world 4 points 2 days ago (1 children)
[–] Holytimes@sh.itjust.works 1 points 22 hours ago

Nano gang gang all the other editors wish they were as simply cool as us. 😎

[–] bigbangdangler@reddthat.com 16 points 3 days ago (1 children)
[–] MsFlammkuchen@lemmy.blahaj.zone 2 points 3 days ago (2 children)

Been there, done that: forgetting to press ESC

[–] Farnsworth@lemmy.world 1 points 1 day ago

I like to press"Control-c" instead of ESC. It is more convenient to type and mostly does the same thing.

[–] bigbangdangler@reddthat.com 3 points 3 days ago

I pressed it. Just pressed it again. Turns out it doesn't show up on Lemmy. Lol

[–] psion1369@lemmy.world 4 points 2 days ago

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

[–] jjlinux@lemmy.zip 3 points 2 days ago

No, and no. Sorry.

[–] mrbn@lemmy.ca 56 points 4 days ago (2 children)
[–] nymnympseudonym@piefed.social 27 points 4 days ago

vim all day

They will take it from my cold dead hands

Save the Ugandan children

[–] flynnguy@programming.dev 4 points 3 days 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.

[–] alt_xa_23@midwest.social 2 points 2 days ago

Yes, I've used it as my main editor for years now.

[–] gwl@lemmy.blahaj.zone 3 points 2 days ago
[–] SrMono@feddit.org 29 points 4 days ago* (last edited 4 days ago)

Neovim is my goto editor for terminals. Yes.

:wq

[–] Zachariah@lemmy.world 23 points 4 days ago (2 children)
load more comments (2 replies)
[–] dlsolo@lemmy.world 23 points 4 days ago
[–] terminal@lemmy.ml 21 points 4 days ago (1 children)
[–] TheMadCodger@piefed.social 11 points 4 days ago

I started in vim and now moved into evil emacs

[–] Dirk@lemmy.ml 14 points 4 days ago

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

[–] Colonel_Panic_@eviltoast.org 9 points 4 days ago

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

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

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

[–] kaleissin@sopuli.xyz 2 points 2 days ago (1 children)
[–] SwooshBakery624@programming.dev 1 points 2 days ago* (last edited 2 days ago) (1 children)

evi is not mature enough and doesn't have any package repos. There is another fork that I'm not going to mention, because it's developed by a horrible human being.

[–] kaleissin@sopuli.xyz 2 points 2 days ago

Some of us run our own forks. I'm a big fan of software that has stopped changing.

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

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

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

[–] Clutter@sh.itjust.works 9 points 4 days ago* (last edited 4 days 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!

[–] non_burglar@lemmy.world 15 points 4 days ago (2 children)

Didn't end your post with :wq

load more comments (2 replies)
[–] Hesoyam@lemmygrad.ml 2 points 3 days ago

i usually just use nano

[–] Sickday@kbin.earth 15 points 4 days ago (4 children)

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

load more comments (4 replies)
[–] RotatingParts@lemmy.ml 14 points 4 days 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 ...

[–] 00xide@lemmy.ml 9 points 4 days ago (2 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.

load more comments (2 replies)
[–] non_burglar@lemmy.world 12 points 4 days ago
[–] MimicJar@lemmy.world 9 points 4 days 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.

[–] AdamBomb@lemmy.world 10 points 4 days ago (1 children)

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

load more comments (1 replies)
[–] cupcakezealot@piefed.blahaj.zone 10 points 4 days 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"  
[–] JetpackJackson@feddit.org 9 points 4 days ago (3 children)

Nano has syntax highlighting??

[–] Holytimes@sh.itjust.works 1 points 19 hours ago

Always funny how people get surprised that nano actually does things. Its like everyone assumes it's the fiscer price of editors

load more comments (2 replies)
load more comments (1 replies)
[–] notptr@lemmy.cyberia9.org 7 points 4 days 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)
load more comments
view more: next ›