Hacker Newsnew | past | comments | ask | show | jobs | submit | brazzledazzle's commentslogin

The main reason is that Vim is better, right?


Amen to that. Although I think I feel like I am participating in a war I don't want to be part of.

But this has been a line in my shell config since I was teenager.

  export EDITOR=vim VISUAL=vim  # Viva vim, death to emacs


OK, since we're wasting our time on the Pointless Editor War, I shall confess I know exactly one thing about Vim, the command `:q!'. That's all I've ever needed to know.


<shift> z z

Much quicker exit ;)


It’s one third of what you’ll ever need to use Vim:

  i
  <Esc>:w
  :q


You can use :wq to do both at the same time.


Yes, but that adds one more command.

You can also do ZZ instead of :x, if you're playing keystroke golf.


Vim added :x though it doesn't exist in Vim


doesn't exist in vi


It's been reduced to q in lazyvim, at least at the intro screen.


Technoreligious wars are emotional / black-and-white / stupid thinking / herd mentality, a priori. There is more than one way and one tool in the toolbox. You might not "like" every thing, but other things exist, function, and accomplish work.


Sorry, I intended this comment more as a joke than a reality. Although I really like vim and don't like emacs.


”Using vi is not a sin, it’s a penance” - you know who


Emacs has evil mode. Does that make vim a morally superior choice?


No. It means Emacs, the morally superior one, has a mode that makes it evil - by definition morally inferior. :D


This is so cool. Seeing the word splitbrain definitely gave me a moment of dreaded recollection though, not gonna lie. Not a fun place to be when you're dealing with databases and clusters.


Perhaps this says more about you than the author. At the very least not imaginative enough to picture someone being genuine. Or perhaps this just isn’t the right sort of thing to discuss on hn?


I’ve seen this happen when the people move in and aren’t technically in the city they thought they were. They were right on the border IIRC. Ride-share apps and Google had no clue until I entered the city adjacent to the one they thought they lived in. They somehow still got packages. I guess the zip, street and number combo were enough.


That or right click.


PowerShell seems to work fine calling a nix executable, unless I'm missing something:

> ls -t *.js | head -n 10 | foreach { echo $_ ; Get-ChildItem $_ | fl Name, Length } product_original.js

Name : product_original.js Length : 3353

gulpfile.js

Name : gulpfile.js Length : 382


Would you be able to provide an example? I'm not doubting your experience, just incredibly curious since I had the opposite experience.


Sure thing :

$env::Path (the semicolon? so Path is not quoted here? But when I assign a value it's quoted?)

Dir -r | %($_.Name.ToLower) ( what is this? statement dreamed by utterly deranged)

They took us for absolute fools


I mean you don't need to use the convenience aliases, or use even use it exactly that way. Here's it without any aliases:

Get-ChildItem -Recurse | ForEach-Object { $PSItem.Name.ToLower() }

This might be a better mix of both worlds:

gci -r | foreach { $PSItem.Name.ToLower() }


It got those from this comment and transposed the descriptions: https://news.ycombinator.com/item?id=41347438


I had a coworker insist on using ddg for privacy reasons and he was a bit smug about it even though meetings where he was presenting while searching the web always started with a ddg search and ended with him sighing and giving up by using !g to switch to google. I think, even in it's less than ideal state, people still underestimate how much time google's tailored search can save you when you train it to figure out you want to see development/technical documentation.


I've frequently found better results by using the !g when searching for technical docs and other programming-related stuff.

But for more everyday, non-programming things, I've frequently found the regular DDG results (from Bing) actually better and less filled with SEO crap than Google's.


Often when searching with google I stick !g in front of my query without thinking, and only realize when it shows up in the search bar after the page loads.


I'm curious, what kind of presentations involve searching the web on the spot?


As if to answer my own question, I just came out of a call which involved me sharing my screen while I searched the web for info on the memory consumption of classes in dotnet. I take it back!


The kind with no agenda


I may be recalling incorrectly but I seem to remember it having some storage deduplication benefits on the backend.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: