Lurker News

Comments (280) 72 threads

Earlier comments
shafin_2 replies#
Easiest way to learn vim is to force yourself to use vim
noarchy1 reply#
The only time I use vim is when I am forced to use it.
bdamm#
Then you will never learn vim. Which is fine, not everyone needs to be a vim ninja.
Vaslo#
In the same vein, we learned excel shortcuts by unplugging the mouse
Syzygies#
I liked the first exercise, then I had to use the mouse to dismiss my success dialog! I thought the whole point of vim was ...

(That's up there with Haskell package management depending on "global variables" in a fixed settings file.)

xalava1 reply#
I know that vim is particularly enjoyed. The site looks nice and I wish you the best luck with this.

But for beginners, I now recommend micro as a console text editor (https://github.com/zyedidia/micro). It's a one line install with all the shortcuts and display that have become a standard across editors.

patrec2 replies#
Does anyone know who had the bright idea to replace vi with nano as the standard text editor and why this became some sort of standard?

I really don't get it. Vi is unintuitive and unfamiliar to unix newebies, but at some point every even half-competent person on unix could use it enough to at least do simple config file changes. Plus, if you took time to learn it properly, you actually knew a quite capable editor. And the beginner unfriendliness could presumably have been mostly fixed, without much cost to existing expert users. For example by defaulting to some helpful status message how look at help and insert text (and have cursor keys and Ctrl-S etc. work as "expected" in insert mode). Or maybe a message "press Ctrl-D to enter newbie mode" that experienced vimers could just ignore but would provide CUA style keybindings and modeless editing to everyone else.
Instead now everyone has to deal with a new (and for proficient users really quite worthless) editor with its own set of completely bizarre keybindings (not emacs, not readline, not vi, not CUA), but none of the upsides that come with emacs or vi's idiosyncracies. Ctrl-O to save? WTF? Literally the only advantage over vi is that it displays some instructions at the bottom, albeit not in a form any real newbie would understand at all.
Nano (and by extension this) feel like the worst of all possible worlds -- what am I missing?

easton#
The logic I always thought was that if you are working at the console on a server and dealing with the default $EDITOR, you most likely are doing some kind of emergency maintenance. In this scenario, you want to throw the most gentle/easy-to-use editor at the user to ensure they don't accidentally overwrite a file or something else because they've been trying to bring prod back up all night and can't see straight.

If you use the box for more than 5 minutes a year, you'll probably change it to vim or whatever you prefer anyway.

xalava#
I've just realized that nano was initially released in 1999! Apparently, they just copied pico key bindings, that was used as an extremely light editor.

For the rest, there is to me a cultural divide between a sysadmin/dev culture with abstract interfaces, specific key bindings and options, configuration files, ... and the thousands of people with various backgrounds that are learning tech today, including the console, just to do something using computers.
Micro is probably the best of both worlds. Try editing an admin file as a user and save.

elliotec4 replies#
I'm bothered by this because Vim is free, with only a hopeful plea for a donation to a charity for helping Uganda as the "payment."

It feels a tad unethical to be charging for a slightly more fancy, maybe kinda gamified, vimtutor. Like, just make a vim plugin that does this in vim and let that be your community donation.
But I suppose business is business eh.

umvi#
I'm not bothered by it. I've thought about making a SaaS where I basically just host pre-compiled FOSS packages for esoteric cpu architectures. So that way if you have a embedded linux system, you can quickly grab a precompiled `tshark` for example without figuring out how to build it yourself. Sure, it would be better as a free service, but I'm not super motivated to do that in my highly limited spare time. I would be super motivated if I were compensated for my effort with cash, however.

Making something paid vs. free can be the difference between it existing and not existing. I'd rather have this exist and be a paid app than not exist and be free.

ivanhoe#
yeah, but again nothing stops you (or me, or anyone else reading this) to do it for free... except we will not, as we're busy earning money in other ways, so I don't think any of us can really claim a moral high ground here - and tutoring people for money is certainly much better than not tutoring them at all...
thotsBgone#
It's not "unethical" to charge money for a product that you made from scratch. People on this website really like that word, "unethical". Makes me wonder if they even know what it means. "Unethical: something you don't like."?
CoffeePython#
I don’t agree with the viewpoint but the revenue here has helped me sponsor one of my favorite open source projects FastAPI at $250/mo.

There’s value in providing teaching on something that is free. I’ve bought learning tools/apps for many different programming related topics and loved the value they provided.

Load more comments