lurch,

I recently worked on a system that had the TERM variable botched and filtered and no nano, just vim. It was all hell. The escape sequences in vim wouldn’t work. I ended up suspendig it with ctrl+z, killing it, then editing the config with fucking ed and sed. That hoster sucks.

db2,

Name and shame.

squaresinger,

Vim can do much more than nano, but for it to work, quite a few specific stars need to align, and if they don’t you are screwed.

Nano on the other had just works. If it exists in your env.

Sanyanov,

Use DE and edit files with graphical editors like a normal human being.

Problem solved.

Sanyanov,

(But also, nano for the win)

josefo,

cries in ssh

Sanyanov,

devilishly smiles in rdp

josefo,

you monster

audiomodder,

I was talking with a sysadmin once who intentionally removed nano and emacs from any system he was granted access to. His explanation was “if they can’t use vim I don’t want them on my machines”

balp,

Imho on any server today all editors should be removed. You edit on your workstation and provision to the server.

negativenull,

There’s a sysadmin at my place who does exactly that. He’s kind of an idiot too.

UnculturedSwine,

As a VIM user, I don’t want you using VIM on my system unless you know how to use it. I don’t want you borking fstab or the passwd file or some other important config because you don’t know how to quit without saving.

azerial,

Lol love this.

MycelialMass,

Shocked

riodoro1,

Wow, I hope he didnt choose their distro for them too.

dream_weasel,

Poor Ubuntu users would be needlessly persecuted!

Siegfried,

OS shaming? That’s low

dream_weasel, (edited )

I wouldn’t shame an Ubuntu user. They have their hands full with their windows dual boot and trying to figure out what an RTFM is.

Mostly they are the nano users in the meme though so they got that going for them, which is nice.

AeroLemming,

“If you can’t install Arch yourself, I don’t want you on my machines.”

dream_weasel,

True fact. It’s one page of directions on the archwiki and the only place you have to deviate is in selecting bootloader and network. Not exactly a 5D rubix cube.

CalicoJack,

If a sysadmin expected me to use vim for every minor config tweak, I wouldn’t want to be on their machines either.

zero_spelled_with_an_ecks,

Sounds like it works then.

linearchaos,
@linearchaos@lemmy.world avatar

Win:win ;)

laurelraven,

I find vim quicker and easier for quick edits too, mostly because I’ve not bothered to learn anything but vim since it’s on everything (except, for some odd reason, the default build of Gentoo)

mcmoor,

I don’t find nano any easier for minor tweaks than vim

onlinepersona,

A vim user finding nano too difficult? Impressive.

0xD,

Once you get the hang of it it’s just so much quicker for small and big tasks.

Check out vim adventures:

vim-adventures.com

Or just install vimtutor and try around. The basics are pretty simple, and the more advanced stuff infinitely helpful.

GBU_28, (edited )

Why? Nano doesn’t need training, and even for config the engineers shouldnt be able to impact production without review. Sysadmin needs to retire

MonkderZweite,

and the more advanced stuff infinitely helpful.

Thanks, no. At that point i use sed, grep or a GUI editor.

agent_flounder,
@agent_flounder@lemmy.world avatar

I usually just don’t give out the root password but what do I know lol

jadedwench,

Brilliant! I don’t entirely disagree with that. I had vim forced on me at my old job, including actual vi on some of the more ancient systems. I got so used to it that I don’t really know how to use nano and definitely not emacs.

I never understood what the big deal was. Write. Quit. If you can’t remember that ‘w’ means write and ‘q’ means quit, I don’t know how else to help. Add in some decent options in your vimrc and it is pretty comfortable. I am in no way some guru who knows every shortcut and fancy command out there, but I like using it and it is the first thing I install on a new system.

I am not one to judge what text editor, OS, phone, car, or computer you like. You do you. If I was a sysadmin that had to deal with people who really shouldn’t be on those systems and that was an easy way to discourage people from screwing with it, then hell yeah.

audiomodder,

What makes you think only people with admin access use a machine? He wouldn’t allow it for anyone, admin or not.

negativenull,

Knowing VIM does not make one a better sys-admin. You can be an idiot, and still know how to drive Vi/Vim. There is FAR FAR FAR more to managing an OS and than that. If you think requiring VIM is enough to keep unknowledgeable people away from servers, you are probably the one who shouldn’t be managing servers.

captain_aggravated,
@captain_aggravated@sh.itjust.works avatar

Here’s the one reason why I decided to learn Vim rather than emacs: You will find Vim installed somewhere on basically any Unix-like system running in the world. It’s the one I can virtually guarantee is there, as part of busybox if nothing else.

laurelraven, (edited )

Except for Gentoo, for some odd reason they’ve never included it in the stage tarball so it always has to be installed manually

Which is even weirder when you realize it is included on the live install iso, so you’ll be using it up until you chroot and all of a sudden find it’s not available anymore

captain_aggravated,
@captain_aggravated@sh.itjust.works avatar

That’s a bit like…at one point during Linux Mint’s installation, it removes gparted. gparted is included in the Live environment, but not in the standard install.

wookiepedia,

EMACS is a great operating system, it only lacks a good editor.

optimal,
@optimal@lemmy.blahaj.zone avatar

Vim lacks anything good, except maybe the keybindings.

PopShark,

They hated him because he spoke the truth

milicent_bystandr,

eVil mode. It’s next on my TODO list to try, so I can go back to Emacs’ fantastic Haskell mode without knackering my left pinkie.

lanolinoil,
@lanolinoil@lemmy.world avatar

just learn a little elisp and remap to control to a sewing machine pedal :P

howardism.org/Technical/…/kinesis-footpedal.html

milicent_bystandr,

Maybe with facial-recognition-mode I can get it to map a grunty squint to ctrl.

lanolinoil, (edited )
@lanolinoil@lemmy.world avatar

I think someone did that with the old Microsoft ir gaming bar thing E: kinect

cows_are_underrated,

Why not eVim?

milicent_bystandr,

Just that I already know Emacs’ Haskell mode is great. If I get back into Haskelling I suppose I should look around options.

lanolinoil, (edited )
@lanolinoil@lemmy.world avatar

I love this

PlexSheep,

In the world of text editors, VIM, specifically NeoVim is the shining light. Standing at the pinnacle of creation at a height that can only be reached by zealous emacs users.

They have a learning curve through. Nano is obviously easier, but it’s also just a basic editor.

:x

optimal,
@optimal@lemmy.blahaj.zone avatar

As an Emacs user, Neovim was like chains. Shackles.

ndupont,

mcedit for life

einlander,

Mcedit is great. It reminds me of the later versions of edit.com on DOS.

ndupont, (edited )

For me it’s like riding a bike, I’ve probably been using Norton Commander since I was 10. DOS 3.3, Windows 2 was just a gimmick.

Gort,

Thought I was going to be the only one.

Presi300, (edited )
@Presi300@lemmy.world avatar

Micro users: am i joke to you

(I use VSCode)

caseyweederman,

I want to use Micro so badly but my fingers only know Nano’s nonsense shortcut keys.
Also I couldn’t figure out how to make it use real tabs instead of a bunch of spaces. Not great for Python scripts.

Buddahriffic,

I’ve never had to worry about tabs vs spaces with Python. Makefile, on the other hand…

lemmesay,
@lemmesay@discuss.tchncs.de avatar
Presi300,
@Presi300@lemmy.world avatar

Ik about vscodium, it doesn’t have all extensions

lemmesay,
@lemmesay@discuss.tchncs.de avatar

you can just download those via Microsoft’s website as vsix and import them to codium. and maybe add an issue/pr in extension’s repo so that it’s available on open-vsix next time. :)

Presi300,
@Presi300@lemmy.world avatar

I’ve actually been trying vscodium for a few days now, and it’s mostly been pretty good, though idk if I’ll bother switching to it just yet…

cyanarchy,

It’s okay, I’m used to being ignored.

Creatortray,

Where’s vscode? Lol

Buddahriffic,

There’s several GB of it sitting in my home directory, which unfortunately my admin limits to several GB, so now my vim search buffer doesn’t update anymore until I delete code’s cache again.

EqMinMax,
@EqMinMax@lemmy.world avatar

vim and emacs are ide like text editors.

hakunawazo,

We need to :q! this war for good.

Deuces,

Those who don’t write history to drive are destined to repeat it.

badbytes,

I’ve been using Vim for years, cause I can’t figure out how to close it.

Curly722,
milicent_bystandr,

You came because it looked exciting…

You stayed because you couldn’t leave.

darvocet,

You open up a new session and reboot. Always works for me.

geekworking,

+1 for nano. I just need to change two parameters in a config file, not join a religion.

skyin7,

Amen!

Damage,

When the holy war comes, you’ll be among the first sacrifices!

nyahlathotep,
@nyahlathotep@sh.itjust.works avatar

Ehh, that’s fine. I’m not too psyched about living in whatever comes afterward.

IWantToFuckSpez,

Wouldn’t the first be Vimulation users? They are the Pretenders.

bingbong,

Blasphemers!

woelkchen,
@woelkchen@lemmy.world avatar

I just need to change two parameters in a config file, not join a religion.

But Nano is a GNU utility what use Ctrl-O for Save.

laurelraven,

No wonder I can never remember how to do anything in nano, at least vi’s commands generally make sense

Kusimulkku,

I recently switched to micro that is similar but with more sane key combos.

Now I just mistakenly use nano combos. Back to nano it is lol

glasgitarrewelt,

Nano is only helpfull because of this nifty little info bar at the bottom… No one can actually remember nano-shortcuts.

GBU_28,

Up down left and right?

I guess ctrlx enter y ? But it has a prompt

cyanarchy,

Consider micro. The shortcuts for editing test are what I expect them to be everywhere else I edit text.

cows_are_underrated,

Nano Shortcuts are shit. Like CTRL+X to save. What the fuck??? Why not use CTRL+S for this?

lemmyingly, (edited )

Ctrl + X is eXit. Ctrl + S is Save without a prompt.

state_electrician,

I had to learn vi because it was installed everywhere and nano didn’t exist yet. I always thought the holy war to be very silly, and even though many treat it as such, there are too many who take it seriously.

shapis, (edited )
@shapis@lemmy.ml avatar

I wish I could just edit text files as sudo with the default gnome text editor instead.

bronxasaur,

Does ’sudo gedit’ not work?

Disclaimer: I use neither gnome nor gedit.

shapis,
@shapis@lemmy.ml avatar

Does ’sudo gedit’ not work?

If my memory doesn’t fail me it used to. But gedit isnt the default text editor anymore. The new one is quite cool and clean.

It doesnt work with sudo though sadly. It’s not the biggest problem tho, just a small annoyance, using the occasional sudo nano to edit files isnt a big deal.

SaltyIceteaMaker,

I heard that it is safer to do sudoedit [file] instead of sudo [editor] [file]. At least it’s like this in vim. Idk about nano and Emacs tho

caseyweederman,

sudo XDG_RUNTIME_DIR=/run/user/1000 DISPLAY=:0 DBUS_SESSION_BUS_ADDRESS=/run/user/1000/bus XAUTHORITY=/home/caseyweederman/.Xauthority gedit

shapis,
@shapis@lemmy.ml avatar

sudo XDG_RUNTIME_DIR=/run/user/1000 DISPLAY=:0 DBUS_SESSION_BUS_ADDRESS=/run/user/1000/bus XAUTHORITY=/home/caseyweederman/.Xauthority gedit

Reported for hacking.

TimeSquirrel, (edited )
@TimeSquirrel@kbin.social avatar

I ONLY EDIT TEXT BY TOGGLING OUT ASCII CODES ON A ROW OF SWITCHES DIRECTLY CONNECTED TO MY PARALLEL PORT\n

ziggurat,

I know your lying, because if you did, you would write a mix of capital and lower case letter, because one of the switches would control that bit

TimeSquirrel, (edited )
@TimeSquirrel@kbin.social avatar

I COULD ONLY AFFORD SIX SWITCHES. BIT 5 HAS A PULLDOWN RESISTOR ON IT\n

bobo,

This guy did it back in the 80s:

archive.org/details/…/2up?view=theater

Veneroso,

Nano, based.

If I use VI or VIM I’m going to have to kill the task because I just tried to exit and uggggghhhh why!?

captain_aggravated,
@captain_aggravated@sh.itjust.works avatar

:q! or :exit or :quit or ZZ…there’s lots of ways to quit Vim.

Jolteon,

None of which are the same methods used by other programs.

lseif,

and why should it be? vim and its bindings are extremely popular. should window managers all use alt+f4 to kill programs, just because its familiar to new users?

Sanyanov,

Yes.

Abnorc,

There’s really no point in criticizing something like vim. It has a history and a following, and no one is forcing you to use it. (Unless someone is, in which case you should be annoyed with them, not vim.)

cyanarchy,

Yes.

konalt,
@konalt@lemmy.world avatar

Should word processors all use Ctrl-C to copy?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linuxmemes@lemmy.world
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 10489856 bytes) in /var/www/kbin/kbin/vendor/symfony/http-kernel/Profiler/FileProfilerStorage.php on line 171

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 4210688 bytes) in /var/www/kbin/kbin/vendor/symfony/error-handler/Resources/views/logs.html.php on line 38