114

Changing from a distro that defaults to nano to another that defaults to vim... What to do other than installing nano and changing visudo?

top 50 comments
sorted by: hot top controversial new old
[-] 00xide@lemmy.ml 1 points 13 hours ago

neovim through nvf on NixOS. I'm not even a power user, I just had a shit mouse in college and didn't want to use it and now I'm hundreds of lines of Lua too deep to go back. This is my life now.

[-] CodeAssembler@lemmy.ml 2 points 23 hours ago

Mostly Neovim and Nano. Tried out ed in the UNIX4 tape that got recovered, was strange but fun to see where sed, grep and other commands got their name from.

GUI is still good old Sublime Text, but I almost completely switched to terminal based editors, I guess because of the nice work flow.

[-] SystemQ@lemmy.world 1 points 21 hours ago

Neovim + LazyVim

[-] Obnomus@lemmy.ml 2 points 1 day ago

Neovim for terminal but often I use kate for gui because I still don't find vim commands more efficient

[-] dreamy@quokk.au 1 points 22 hours ago

vis. Only used it for editing configs and stuff though, not programming.

[-] Ithral@lemmy.blahaj.zone 1 points 22 hours ago

Micro is pretty nice, has limited mouse support in the TUI line numbers highlighting. That or Neovim customized

[-] dessalines@lemmy.ml 2 points 1 day ago

Was staunchly team vim for 15 years, but now I'm on helix. As another user stated below, its like if vim were re-designed today, and without needing any addons to be a code-aware editor.

[-] fruitycoder@sh.itjust.works 1 points 23 hours ago

Vim unless I can neovim.

Being able to change configs on headless systems was my gateway, now I just prefer it

[-] p4rzivalrp2@piefed.social 1 points 1 day ago

Used to use micro but just switched to neovim, I'm finding it great, esp with the file manager built in

[-] eldavi@lemmy.ml 1 points 23 hours ago* (last edited 23 hours ago)

do you use neovim over vim for any particular reason?

i ask because i'm a vim user and wondering if should update but wondering if the x windows overhead is worth it.

[-] p4rzivalrp2@piefed.social 1 points 14 hours ago

I just assumed it was probably better in some way, idk the difference but didn't want to run into smth and need to switch

[-] spacetff@lemmy.ml 4 points 1 day ago

nano, vi, geany, kate...

I prefer nano - simple to use & always available. I manage remote systems often from my mobile using termius: config file editing, writing simple scripts for some analysis/automation tasks and recording task notes and status. Using a tablet I might use vi but generally prefer nano.

[-] quantumvoid0@programming.dev 1 points 1 day ago

vim forever (i think)

[-] abra_k@lemmy.blahaj.zone 4 points 1 day ago

Helix: Barely needs a config. But they are also pretty close to done with a plug-in system for the stuff that isn't implemented by default :D

[-] GardenData61371@lemmy.world 4 points 1 day ago

Nano. It's the easiest to use

[-] Nibodhika@lemmy.world 4 points 1 day ago

When I first started using Linux I used Kate, I know, I know, not command line, but I didn't needed a command line editor for my own computer. Eventually I started using nano for quick edits and that became my default CLI editor for a while. I don't remember what I used as an IDE back then, but maybe it was Eclipse, although I think it was mostly just Kate.

Eventually I decided to learn either VI or Emacs, and a friend who used Emacs pushed me to that side. I ended up switching everything to emacs, CLI, IDE, I even learnt org-mode and had tables and presentations in it.

Eventually my pinky started to hurt too much, so I switched to Pycharm for python, and kept emacs for C++, text edits and org-mode. I ended up slowly switching emacs everywhere and reverted to nano.

Some years back I decided to properly learn vim. I have been using nvim for a few years, and while it's not the everything tool that emacs was for me, it's still pretty darn useful. I also haven't become a movement ninja and oftentimes I go wwwwww to get where I want to be. But still, there are some very nice shortcuts that I use a lot like Change Inside/Around or Delete X lines. Macros are cool, and sometimes feel magical, but other times they don't work like I expected and I can't figure out why. I don't see myself changing to something else, the ubiquity of vim shortcuts in other programs makes it very convenient when I have to use something else.

[-] IrritableOcelot@beehaw.org 4 points 1 day ago* (last edited 1 day ago)

My first experience with *nix was a professor leading me into a server room though two biometric locks and setting up the config files for a compute cluster faster than I would have been able to open the files.

He was using Vim, and though it took me a while to learn, the sheer speed with which he was able to get us out of that unbelievably noisy server room sold me for life.

Well, I use vim for text edits and nvim+extensions for an IDE. As close to a vim purist as is reasonable. But frankly, it's the first one you learn to use well.

[-] TheGreenWizard@lemmy.zip 4 points 1 day ago

Nano 4 life

[-] osanna@lemmy.vg 2 points 1 day ago* (last edited 1 day ago)

When I ran a trivia bot on irc back in the day, I used to use sed to edit question files. But mostly use nano now. I don’t do anything all day and COULD learn vim/emacs/something else. But I cbf

[-] 9488fcea02a9@sh.itjust.works 4 points 1 day ago* (last edited 1 day ago)

Been using linux full time for 10 years. I do almost all of my system admin stuff in the terminal (my desktop, laptop, home server with a few containers). But i cant for the life of me figure out vim (like i know how, but it just doesnt click for me or feel natural)... i tried a bunch of times and will keep trying... but until then, its (shamefully) nano for me

[-] boredsquirrel@slrpnk.net 3 points 1 day ago
[-] Hadriscus@jlai.lu 4 points 1 day ago

and what ?? don't leave me hanging

[-] boredsquirrel@slrpnk.net 2 points 15 hours ago* (last edited 15 hours ago)

Profit

(A single & is used to detach the process. Though QT apps keep logging)

[-] sunbeam60@feddit.uk 5 points 1 day ago

My first computer was an Amstrad 664, with a green screen. I’m old. And I’ve been around Vim and EMacs from time to time and I love the console but for the love of god, since GUIs became the normal way to interact with computers, I just install micro now and have the same hotkeys across all the modes of interaction.

Speed of typing really isn’t the defining productivity measure for code.

Now I use VS Code in a GUI and micro on the console and that provides a reasonably consistent way of interacting with text.

[-] Penguincoder@beehaw.org 10 points 1 day ago

vim, mainly cause I haven't figured out how to quit yet.

[-] tehn00bi@lemmy.world 17 points 2 days ago

NANO I just need simple, and tell an me how to save and exit without abstract key codes.

[-] sudoer777@lemmy.ml 2 points 1 day ago
[-] despaircode@lemmy.ml 1 points 1 day ago
[-] verdigris@lemmy.ml 3 points 1 day ago

Team vim, but I've been using Helix instead for a year or two -- it's like if Neovim and Kakoune had a baby.

[-] Jentu@lemmy.ml 4 points 1 day ago

I have been learning vim specifically because of VimWiki. It’s always fun getting a few words into writing a document before realizing I wasn’t in Insert mode, then I have to figure out what I messed up.

[-] mathemachristian@lemmy.ml 18 points 2 days ago
load more comments (2 replies)
[-] Valarie@lemmygrad.ml 2 points 1 day ago

Nano because It happens to be what I learned first and I don't get enough of a chance to use my computer anymore to even try anything else

[-] bradboimler@lemmy.world 2 points 1 day ago

Emacs → Vim → Neovim → Helix

[-] jjlinux@lemmy.zip 4 points 1 day ago

Micro, for muscle memory for keyboard shortcuts from when I was a mostly GUI user.

[-] Levi@lemmy.ca 68 points 2 days ago

Team Vim. Because I learned the vim basics once 20 years ago and never bothered to learn after that. :D

load more comments (3 replies)
[-] nullify3112@lemmy.world 5 points 1 day ago

I am a noob. My server is a MacMini running Ubuntu server because it was easy to install. I have a website, Jellyfin and nexcloud.

I don’t have the brain cells to understand VIM.

In the CLI, I use nano, always. In the GUI, I use Sublime text because the colors are very pretty.

[-] BradleyUffner@lemmy.world 19 points 2 days ago* (last edited 2 days ago)

Nano, because it's the only one I can remember how to quit from without power cycling the computer.

[-] Cyber@feddit.uk 9 points 2 days ago

Top Tip: open another terminal and kill the task from there

( /s )

load more comments (1 replies)
[-] fratermus@piefed.social 4 points 1 day ago

vi, since it's ubiquitous.

[-] dparticiple@sh.itjust.works 43 points 2 days ago* (last edited 2 days ago)

At the risk of restarting the Editor wars (https://en.wikipedia.org/wiki/Editor_war) from days of yore, I find it interesting that emacs wasn't even in your list of contenders. I hear it mentioned less frequently these days, so perhaps it's going by the wayside?

For the record, I'm a vi/vim user! I had the privilege of being taught to use it by an RFC-writing greybeard decades ago, and have used it without thinking ever since.

For those who find themselves on a machine with only vi/vim, or want to learn, here's a quick primer when editing a file (usually done by typing "vi foo.txt" in a shell) --

:q! ...Force quit vi (:q also works -- gentler!)

:wq! ...Save file and quit vi

i (then type characters) ...insert text at current position

A (then type characters) ...Insert at end of current line

G ...go to first character of last line in the file

/foo ...search for first occurrence of "foo" in the file (hit / again to find additional instances)

x ...Delete character under cursor

:56 ...Go to line 56

yy ...Copy the line the cursor is currently on into the buffer

p ... Paste the buffer

r (then type character) ...Replace character under cursor

u ...undo (hit multiple times to undo prior actions)

When done with a command like this, hit Esc to go back into normal mode.

Second nature after a bit of practice! I used to work with a guy who insisted on using ed. That was... odd.

[-] JustEnoughDucks@slrpnk.net 1 points 1 day ago* (last edited 1 day ago)

Been using it (not often beyond basics for home server container administration) for years but I always get confused with searching vs search and replace vs global search

/ (n for next instances)

:%s//

:g//p (grep was named after this one IIRC, Global Regular Expression Print)

And often I just use :%s to search and highlight all instances and don't press enter because I forget the others and I often have to search and replace for docker comppse snippets.

load more comments (7 replies)
[-] HamsterRage@lemmy.ca 6 points 2 days ago
load more comments (2 replies)
[-] mholiv@lemmy.world 5 points 2 days ago

Big fan of Helix. Best part is that it dose not need any plugins to be a modern editor. Just configure any LSPs you want and it all just works including things like fuzzy finding, multiple cursors, file browsing etc.

load more comments
view more: next ›
this post was submitted on 02 May 2026
114 points (96.0% liked)

Linux

65052 readers
867 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