Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
lelele
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
121.
▲
by
lelele
14y ago
I see your point. One day I'm going to write a guide to choosing your editor, or your trusty tools, for that matter. There are further advantages in choosing an open-source established editor. It all boils down to a trade-off. As long as yo
122.
▲
by
lelele
14y ago
> Now vimscript doesn't do threading or evented io or thousands of other things - it isn't meant to do any of those. Neither does Emacs Lisp. But whilst Emacs Lisp started as a simplification of a battle-tested general-purpose language,
123.
▲
by
lelele
14y ago
The problem with application-specific extension languages is that they may start underpowered and ad-hoc, whilst general purpose languages have already proved their worth and done so in several domains. Vim designers tried to reinvent the w
124.
▲
by
lelele
14y ago
Reworded: "How not putting yourself into your customer's shoes while you are testing your software will cost you dearly."
125.
▲
by
lelele
14y ago
> Vimscript is not a general purpose programming language, but does the job of extending vim fine. If you have the chance to choose to invest time in learning either a language to extend your editor or a general purpose language which y
126.
▲
by
lelele
14y ago
"It’s too bad Sublime Text isn’t open source." Bad bad bad, if you are investing time in mastering a tool which could disappear tomorrow, or take a direction you don't like. This is one of the strongest reasons I chose GNU Emacs as my edit
127.
▲
by
lelele
14y ago
"Keyboard shortcuts can be changed in lots of editors and OS's." Yes, but you can't change the editing model as easily, e.g. converting a modeless editor in a modal one just by changing a few shortcuts. My take is that there are two camps:
128.
▲
by
lelele
14y ago
> Main stream editors work differently... > Change forward word is in a mainstream editor: [Shift]+[Ctrl]+[Right] I stand corrected. > Change line: Home, [Shift]+[End] Here there is a translation at work: the editor lacks an ato
129.
▲
by
lelele
14y ago
Not much, actually, besides : which was unshifted. But we shouldn't overlook people who try to use Vi(m) on keyboards other than the US one. For instance, on the Italian layout, / and ? are both shifted, and on different keys, thus causing
130.
▲
by
lelele
14y ago
> There is at least one study that talks about this. I couldn't find any. Could anyone provide some pointers, please? > I'm talking about modal editing. Obviously I'm not against context. When scientific proof lacks, appropriate ana
131.
▲
by
lelele
14y ago
Yes, but the set of brilliant people is larger than the set of brilliant people using the best tool in each area. We don't live in a perfect world, and brilliant people make trade-offs. Unless you know what kind of trade-offs they made, you
132.
▲
by
lelele
14y ago
You've proved my point. In your words Vi-style editing is "natural", "easy" and "fast". Vi-style is better than Emacs-style because the latter "do hurt my wrists", thus discarding the only worthy contender. The only reason you are using ano
133.
▲
by
lelele
14y ago
Mmmmm... Modality a mistake? Seemingly, it depends on whom you ask. People have been using it for millennia in their languages (many words change meaning according to their context, context being the "mode"). Musicians have been using it pr
134.
▲
by
lelele
14y ago
Well, there is Vim and there is the Vi-editing style. My understanding was we were talking about the latter. In such case, I admit I couldn't think of a proficient Vi-clone user switching to any other editing model.
135.
▲
by
lelele
14y ago
I agree that there are some trade-off, but other editors have their trade-offs as well. IMO, Vim's trade-offs are acceptable. Actually, / for search is traditional beyond Unix: Opera and Firefox understand it. And ? (which is Shift + /) sea
136.
▲
by
lelele
14y ago
“Since when has buying a flight ticket meant giving your airline permission to start hunting for information about you on the Internet?” What a joke. If your information is over the Internet, e.g. it's public, what privacy are you talking a
137.
▲
by
lelele
14y ago
But how can you decide whether a product is a good trade-off when you don't know what the best is? I think that leaving the decision to trustworthy experts is the most viable solution. EDIT: Actually, your best long term investment could be
138.
▲
by
lelele
14y ago
Actually, this is almost the scenario for which Vim's father was designed.
139.
▲
by
lelele
14y ago
Brilliant people don't need to be brilliant in everything. You can use lesser tools and still accomplish a lot.
140.
▲
by
lelele
14y ago
For me, it's about the interface. In descending order: intuitive, consistent, modular, comfortable, portable. Intuitive: most commands resemble natural language, without awkward or arbitrary mappings. For instance: - w: (forward) word; - cw
141.
▲
by
lelele
14y ago
What annoys me about the arrow keys is that I can't reach them without looking, and they also change position on different keyboards (standard keyboards vs laptop keyboards, for example). Having to look to the keyboard distracts me.
142.
▲
by
lelele
14y ago
Non-Vim users are novices that are just "not there yet", when it comes to text-editing. The Vim way is the most simple and effective way to edit text by means of a keyboard. Like Lisp and the Dvorak keyboard, it's alien, but it's actually
143.
▲
by
lelele
14y ago
Mainstream editors get close to Vim only if you use Vim as it were a mainstream editor. Yes, on a mainstream editor you can use Ctrl+Shift+Arrow to select words - which already requires you to move your hands way more than Vim would - but -
144.
▲
by
lelele
14y ago
If possible, start with a Vim plugin for your editing environment.
145.
▲
by
lelele
14y ago
Firefox. I don't use Debian's Iceweasel.
146.
▲
by
lelele
14y ago
The worst thing about Firefox updates is that... they didn't work for me. On my Debian box, I had to manually download and install each new version. That, and Firefox crashing several times a day without giving me a clue about what happene
147.
▲
by
lelele
15y ago
"If your software matters, you will write it in C++ " If you don't know any better. Then please let me know what you are working on so that I can eat in your plate.
148.
▲
by
lelele
15y ago
Yep. Even if Firefox is a crash party, I stick with it.
149.
▲
by
lelele
15y ago
Aren't you concerned about unpredictable memory requirements?
150.
▲
by
lelele
15y ago
> Isn't that rather an argument for Java or Perl? No, because then you'd have to stand either Java or Perl. If you are looking for a language to learn beyond a quick hack, then the language matters more than its libraries. I know Perl
More ›