Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nkouevda
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
nkouevda
3y ago
fyi _ is a built-in motion; that plugin defines a couple others: il and al, which are specifically characterwise (vs. _ can be either that or linewise) gq is a linewise operation anyway, so gq_, gqil, and gqal all have the same effect
2.
▲
by
nkouevda
11y ago
> Triple-clicking in Terminal.app will select from the previous \n to the next \n (i.e. it will select multiple lines if the lines are wrapped), while triple-clicking in iTerm2 will select only that line. In iTerm2, toggle "Triple-c
3.
▲
by
nkouevda
11y ago
> When you start typing a command-line in Fish that matches a previously-typed command, it automatically shows the rest of the line as an available completion, and pressing ^F or the right arrow will complete it for you. ^R is more power
4.
▲
by
nkouevda
12y ago
Note that -C is in each direction, not total; -C20 is equivalent to -A20 -B20.
5.
▲
by
nkouevda
12y ago
You can also use the following options to see and edit all expansions before running a command: shopt -s histverify histreedit
6.
▲
by
nkouevda
12y ago
:w:w would accomplish that.