|
Malcolm XML posted:nano sucks
|
# ? Oct 28, 2020 16:52 |
|
|
# ? May 23, 2024 22:16 |
|
RFC2324 posted:This. If you work on the cli, you should have basic vi skills, even if you use normally use a bad editor instead one time i used a lovely embedded system that had the vi built into busybox somehow configured so there was no undo. i don't know how we did that. i can't even blame anybody else because i had the authority to change it but nope just rolled with it. in my defense that was a bad place to work
|
# ? Oct 28, 2020 16:54 |
|
Phobeste posted:one time i used a lovely embedded system that had the vi built into busybox somehow configured so there was no undo. i don't know how we did that. i can't even blame anybody else because i had the authority to change it but nope just rolled with it. in my defense that was a bad place to work *compiles vi to not be able to save files* this editor sucks!
|
# ? Oct 28, 2020 17:08 |
|
Busybox vi doesn't have undo, presumably for memory usage reasons? Maybe plain vi doesn't have it either and it's a vim function?
|
# ? Oct 28, 2020 17:18 |
|
I have used Linux for over 20 years now. I know 5 things about vi: - a: insert poo poo - wq: quit and save poo poo - q! : quit without saving poo poo - dd: remove an entire line of poo poo - /: search for poo poo That's all you really need. That being said, nano is my editor of choice in the console. It's small, works well, and isn't 12M like vim is.
|
# ? Oct 28, 2020 17:50 |
|
DoomTrainPhD posted:I have used Linux for over 20 years now. I know 5 things about vi: Every version of vi has undo. :e!
|
# ? Oct 28, 2020 17:58 |
|
xtal posted:Someone just mentioned NixOS and it doesn't come with vi. nano has been the default there for maybe ever. i've luckily never worked with anyone who was such an enormous dipshit they ran nixos. that's pretty impressive though, loving up linux so bad it doesn't even have vi
|
# ? Oct 28, 2020 18:01 |
|
DoomTrainPhD posted:I have used Linux for over 20 years now. I know 5 things about vi: i know just enough to do simple things and bail if i get stuck, but every time i tried to actually learn vi/vim i didn't even get 5 minutes in to some tutorial before my eyes glazed over and i went to do something else because it's a waste of time in the 21st century
|
# ? Oct 28, 2020 18:02 |
|
DoomTrainPhD posted:I have used Linux for over 20 years now. I know 5 things about vi: MAH MEGABYTES
|
# ? Oct 28, 2020 18:07 |
|
Nomnom Cookie posted:MAH MEGABYTES I'm an embedded Linux engineer. Edit* Some of the products I am working on use a cell connection where a megabyte of bandwidth can cost upwards of $1 - $2. Now multiply that by 5,000+ devices and 12M is quite a bit! FlapYoJacks fucked around with this message at 18:11 on Oct 28, 2020 |
# ? Oct 28, 2020 18:09 |
|
RFC2324 posted:Every version of vi has undo. I now know 6 things. - e!: Undo all the poo poo FlapYoJacks fucked around with this message at 18:21 on Oct 28, 2020 |
# ? Oct 28, 2020 18:09 |
|
DoomTrainPhD posted:I now know 6 things. Fyi e! Is actually reload from disk. It reverts everything to the last save. \/\/\/ yes, my joke. I just felt bad thinking about someone doing a bunch of work, and using e! Thinking it was just gonna undo the last thing RFC2324 fucked around with this message at 18:20 on Oct 28, 2020 |
# ? Oct 28, 2020 18:16 |
|
RFC2324 posted:Fyi e! Is actually reload from disk. It reverts everything to the last save.
|
# ? Oct 28, 2020 18:18 |
|
DoomTrainPhD posted:I'm an embedded Linux engineer. nope embedded doesn't exist
|
# ? Oct 28, 2020 18:35 |
|
The best vi thing I ever learned is ci. ci" deletes everything between the next set of ", places the cursor there, and switches to insert mode. It works with a lot of common characters, ( [ ' etc. Other than that, only s/// syntax and ranges are useful day-to-day. I don't even use hjkl, like a rube. Also, if you use ed, you wouldn't have to think about those things. ?
|
# ? Oct 28, 2020 18:45 |
|
tbh the first thing I do on a debian-based system is replace vi with vim. Which they should do anyway.
|
# ? Oct 28, 2020 19:36 |
|
spankmeister posted:tbh the first thing I do on a debian-based system is replace vi with vim. Which they should do anyway.
|
# ? Oct 28, 2020 19:38 |
|
Do any of vim's improvements over vi matter to people who use vi once a month at best?
|
# ? Oct 28, 2020 20:27 |
|
NihilCredo posted:Do any of vim's improvements over vi matter to people who use vi once a month at best? yes you can use the arrow keys to navigate
|
# ? Oct 28, 2020 20:34 |
|
You need vim to be able to edit more than one file at a time (edit, rather, without saving and switching between the single open file)
|
# ? Oct 28, 2020 20:35 |
|
Multilevel undo/redo is nice if you're making even slightly complicated changes, as is the loosening of mode strictness, merging lines while editing.
|
# ? Oct 28, 2020 20:36 |
|
do those files really need editing? what do the files think about it?
|
# ? Oct 28, 2020 20:46 |
|
use sshfs and whatever editor you have already setup and configured on your local machine.
|
# ? Oct 28, 2020 20:57 |
|
Nomnom Cookie posted:i've luckily never worked with anyone who was such an enormous dipshit they ran nixos. that's pretty impressive though, loving up linux so bad it doesn't even have vi nixos is a great honeypot for funrollers keeps them away from projects people actually want to use
|
# ? Oct 28, 2020 21:17 |
|
it's okay linux users you can admit that vi/m is bad. we won't take your nerd cards. you are safe
|
# ? Oct 28, 2020 21:21 |
|
Cybernetic Vermin posted:use sshfs and whatever editor you have already setup and configured on your local machine. TRAMP solved this problem better a long time ago
|
# ? Oct 28, 2020 21:35 |
|
Best Bi Geek Squid posted:it's okay linux users you can admit that vi/m is bad. we won't take your nerd cards. you are safe i like geany
|
# ? Oct 28, 2020 21:50 |
|
Best Bi Geek Squid posted:it's okay linux users you can admit that vi/m is bad. we won't take your nerd cards. you are safe it’s not so much that it’s bad, as that it’s a relic of a past age. there’s nothing wrong with learning to ride a horse either. in this analogy nano advocates are saying “horses are hard to ride, we must provide horse-drawn buggies to be friendlier”
|
# ? Oct 28, 2020 21:58 |
|
Nomnom Cookie posted:nope embedded doesn't exist If that were the case, my job would be a whole hell of a lot easier!
|
# ? Oct 28, 2020 22:06 |
|
DoomTrainPhD posted:If that were the case, my job would be a whole hell of a lot easier! the mindset of "constantly logging into embedded machines to manually edit config files" being targeted as a valid and common use case that anyone should give a poo poo about explains a lot about the linux desktop experience
|
# ? Oct 28, 2020 23:53 |
|
Progressive JPEG posted:the mindset of "constantly logging into embedded machines to manually edit config files" being targeted as a valid and common use case that anyone should give a poo poo about explains a lot about the linux desktop experience No. I try to ensure that none of my machines out in the field have editors, let alone a read-write file system. Some clients though I can't control and demand that they have an editor "just in case." Hell, I had one client refuse to let me enable selinux because "it's too hard."
|
# ? Oct 28, 2020 23:58 |
|
DoomTrainPhD posted:No. I try to ensure that none of my machines out in the field have editors, let alone a read-write file system. Some clients though I can't control and demand that they have an editor "just in case." ok thats cool and also , respectively
|
# ? Oct 29, 2020 00:00 |
|
just a couple days ago i saw someone whining about the vim package on debian installing some sound libraries and i'm still salty about it like who gives a gently caress, here's a penny go and buy yourself another gig of disk space
|
# ? Oct 29, 2020 00:06 |
|
DoomTrainPhD posted:No. I try to ensure that none of my machines out in the field have editors, let alone a read-write file system. Some clients though I can't control and demand that they have an editor "just in case." selinux is security theater.
|
# ? Oct 29, 2020 00:40 |
|
Nomnom Cookie posted:it's not 1998 anymore get your phone out and google "help i am use vi what do" and click on any of the results. this criticism of vi hasn't been valid for a looong time No cellphone reception in the data centre how will I fix my HP-Ux box now
|
# ? Oct 29, 2020 00:42 |
|
feedmegin posted:No cellphone reception in the data centre how will I fix my HP-Ux box now Load the ignite tape from the IPL and configure the system with Sam.
|
# ? Oct 29, 2020 00:44 |
|
Sapozhnik posted:selinux is security theater. Sure it is chief. Now go play outside.
|
# ? Oct 29, 2020 00:46 |
|
Progressive JPEG posted:just a couple days ago i saw someone whining about the vim package on debian installing some sound libraries and i'm still salty about it These people rule because it's an instant tell that they will contribute absolutely nothing to any conversation. There was a dude in my college who used gentoo because he could "disable all the crap he didn't need compiled" in his software and would berate those of us who used mainstream distros.
|
# ? Oct 29, 2020 00:49 |
|
DoomTrainPhD posted:Sure it is chief. Now go play outside. Describe a situation where selinux would prevent a security compromise.
|
# ? Oct 29, 2020 00:59 |
|
|
# ? May 23, 2024 22:16 |
|
Progressive JPEG posted:here's a penny go and buy yourself another gig of disk space
|
# ? Oct 29, 2020 00:59 |