Viewing profile — mklein994
mklein994
HN member- Joined
- Wed, Dec 28, 2016, 8:59 PM UTC
- HN karma
- 93
- Public activity
- 31 items
- HN profile
- View on Hacker News ↗
About mklein994
No profile information was provided.
Recent public activity
-
comment
Comment #46857080
For me, it was how I learned Vim. The awkward keyboard pushed me towards learning more efficient keystrokes, so now I'm very comfortable with Vim. I would learn it on the bus, and …
-
comment
Comment #44339781
It's actually a bit more nuanced: `:x` is like `:wq`, but only writes if changes have been made. `:x!` has the same semantics as `:wq!`.
-
comment
Comment #40802912
> Also, without some sort of indicator, Vim’s modal design is awkward here—it’s very easy to forget which mode you’re in. With `bash`, you can show which mode you're in by putting …
-
comment
Comment #38757500
> [...] but I found it difficult to remember to put `;tput bel` on every command that would be slow [...] What I do in these situations (assuming the job is still in the foreground…
- story
-
comment
Comment #37480055
Cool. I didn't know about "Ctrl+T, Ctrl+Z"; I've always used "Alt+D, Alt+Enter" to duplicate tabs. This other shortcut might come in handy if I want to immediately edit the URL.
-
comment
Comment #36789341
Not as quick as you're asking for, but what I do, after running "git log" to jog my memory of what the commit message was, is this: git commit --fixup=':/message regexp' This will …
-
comment
Comment #34142480
Lead sheets?
-
comment
Comment #33964734
This is incredible. I'm learning so much by just reading the source code and trying it out.
-
comment
Comment #33390603
It's called the Imperative Mood[0]. I like to think of it as though I'm completing this statement: "If you apply this patch, this commit will [Do The Thing™]". Here's a few example…
-
comment
Comment #32798085
Not quite there with the scanning part, but https://supercook.com comes close.
-
comment
Comment #32057321
Cascadia Mono/Code, depending if I feel like having ligatures: https://github.com/microsoft/cascadia-code It has the option to enable cursive italics, which is disabled by default.…
-
comment
Comment #31653150
Another alternative is OpenWeatherMap: https://openweathermap.org/api/one-call-3 It's not quite a drop-in replacement, but it's pretty close. They have a free plan for 1,000 calls/…
-
comment
Comment #31604724
Seems similar to twoslash: https://shikijs.github.io/twoslash/ https://github.com/shikijs/twoslash
-
comment
Comment #31141546
https://fraidyc.at/ It's a browser extension, and it's been very pleasant to use. I came across it on a previous Show HN post: https://news.ycombinator.com/item?id=22545878 Now if …
-
comment
Comment #30066585
> git stash‘s new --staged mode makes it easy to stash away what you already have in the staging area, and nothing else. Sweet! I've been wanting this feature for a while. See also…
-
comment
Comment #26624595
Neat. I'll add this to my toolbox. Somewhat unrelated: I discovered some time ago that the column command (from util-linux) can print trees of hierarchical data (up to 2 levels dee…
-
comment
Comment #26289700
Huh, learn something new everyday. Thanks!
-
comment
Comment #26288466
The docs for this is in `:help v_CTRL-A`. It should actually say VISUAL BLOCK mode. This is where you use `CTRL-v` to select a block of text. You can read more in `:help blockwise-…
-
comment
Comment #25272916
I recently discovered the `-brief` flag to ip(1). It shows a summary table for the address and link commands that can be easier to read than the default output.
-
comment
Comment #25045772
Enter git rerere: https://git-scm.com/docs/git-rerere This will "REuse REcorded REsolutions" of conflicted merges. Once enabled, it will record how a merge conflict was resolved, a…
-
comment
Comment #24869196
Is this like an iOS alternative to Termux? How does it compare? https://termux.com
-
comment
Comment #24764965
> I need to apply justify|align|content|items in the browser to make it do what I want. I can't for the life of me remember what they do. I found the Flexbox Zombies course to be h…
-
comment
Comment #24020978
I found that changing my keybinding to start alacritty with this environment variable set seems to work: WINIT_X11_SCALE_FACTOR=1.0 alacritty https://github.com/alacritty/alacritty…
-
comment
Comment #23971277
git diff --color-moved This makes git diff highlight reindented or moved lines differently. I use it to get diffs similar to when you pass -w, but with a bit more context. It takes…