Recent submissions

Comment · 13 years ago
A simpler and safer version of this would be something where you spin your phone and catch it right-side-up. Scoring could be done by counting the number of times this was done successfully in a row without catching it the wrong way or dropping it, or double-triple spins etc. I do this for fun all the time. So far, no drops on concrete.
Comment · 13 years ago
man ssh

ssh -L/R

What are you doing on this website if you can't do that?

Comment · 13 years ago
I think that statement was more concerned with censorship than privacy.
Comment · 13 years ago
Or, in the timeless words of Robert Oppenheimer: "I am become Death, destroyer of worlds."

meaningless, irrelevant words.

Comment · 13 years ago
Whew, glad we're past downvoting based on trivial programming language choices.
Comment · 13 years ago
this article is about nothing.
Comment · 13 years ago
This is basically what I was doing except with redis instead of netcat. I was happy to see copy-pipe in v1.8.
Comment · 13 years ago
This is also what I do.
Comment · 13 years ago
As opposed to having trailing whitespace and mixed tab/space whitespace polluting your diffs? Configure your diff viewer to ignore whitespace.
Comment · 13 years ago
'copy-pipe' mode command to copy selection and pipe the selection to a command.

This is exactly the functionality I was looking for back when it didn't exist. It wasn't immediately obvious how to use this, but here's how:

bind-key -t vi-copy 'y' copy-pipe "redis-cli -x set status"

set-option -g status-right '#(redis-cli --raw get status)'

And now I have a message I just copied to redis in my tmux status bar. I'm planning on doing this with clipboard text next.

Comment · 13 years ago
I have a pretty good vim setup with pathogen / git submodules: https://github.com/chris-ritsen/dotfiles For now, I have different branches setup for different systems. The build process is usually the same, install git / mercurial, python, ruby, then build vim, build commant-t.
Comment · 13 years ago
I use control keys for a lot of my movement. <c-f>/<c-b>, <c-u>/<c-d>, <c-e>/<c-y>, <c-n>/<c-p> (remap your ctrlp plugin to leader p. This is vim.) And yeah, I have caps lock remapped to control. Setting virtualedit=all will also force you to think in terms of text objects by allowing the cursor to move everywhere. No longer can you simply press j/k and have it go to the end of the next shorter line.
Comment · 13 years ago
I might as well answer seeing as I found this out yesterday. Go to the profile options then the keys tab. Then there is an option for left/right option key acting as normal meta or +esc. While meta sounds correct for this, esc+ was recommended and works.
Comment · 13 years ago
What I want is an OS-level autocorrect like vim's abbreviations. I'm getting used to not having to care about making typos because they get fixed automatically.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton