copy output of command with alt-o

This commit is contained in:
Luke Smith
2019-05-08 11:26:11 -04:00
parent 140c6b0a3f
commit 84d49f527d
5 changed files with 44 additions and 21 deletions

View File

@@ -1,32 +1,33 @@
# Luke's build of st - the simple (suckless) terminal
The [suckless terminal (st)](https://st.suckless.org/) with some additional features:
The [suckless terminal (st)](https://st.suckless.org/) with some additional features that make it literally the best terminal emulator ever:
## Unique features (using dmenu)
+ *follow urls* by pressing `alt-l`
+ *copy urls* in the same way with `alt-y`
+ *copy the output of commands* with `alt-o`
## Bindings for
+ *scrollback* with `alt-↑/↓` or `alt-pageup/down` or `shift` while scrolling the mouse
+ OR *vim-bindings*: scroll up/down in history with `alt-k` and `alt-j`. Faster with `alt-u`/`alt-d`.
+ *zoom/change font size*: same bindings as above, but holding down shift as well. `alt-home` returns to default
+ *copy text* with `alt-c`, *paste* is `alt-v` or `shift-insert`
## Pretty stuff
+ Compatibility with `Xresources` and `pywal` for dynamic colors. The `Xdefaults` file shows a usage example.
+ Default [gruvbox](https://github.com/morhetz/gruvbox) colors otherwise.
+ Transparency/alpha, which is also adjustable from `~/.Xresources`.
+ Transparency/alpha, which is also adjustable from your `Xresources`.
+ Default font is system "mono" at 16pt, meaning the font will match your system font.
+ Very useful keybinds including:
+ Copy is alt-c, paste is alt-v or alt-p pastes from primary selection
+ Alt-l feeds all urls on screen to dmenu, so they user can choose and
follow one (requires dmenu installed).
+ Alt-y does the same as above, but copies the url with xclip.
+ Zoom in/out or increase font size with Alt+Shift+k/j or u/d for larger intervals.
+ Hold alt and press either ↑/↓ or the vim keys k/j to move up/down in the terminal.
+ Shift+Mouse wheel do the same.
+ Alt-u and Alt-d scroll back/forward in history a page at a time.
+ Alt-PageUp and Alt-PageDown will do the same.
## Other st patches
+ Vertcenter
+ Scrollback
+ updated to latest version 0.8.2
The following additional bindings were added before I forked this:
+ Scroll through history -- Shift+PageUp/PageDown or Shift+Mouse wheel
+ Increase/decrease font size -- Shift+Alt+PageUp/PageDown
+ Return to default font size -- Alt+Home
+ Paste -- Shift+Insert
## Installation for newbs
```
@@ -56,8 +57,7 @@ For example, you can define your desired fonts, transparency or colors:
...
```
The `alpha` value (for transparency) goes from `0` (transparent) to `1`
(opaque).
The `alpha` value (for transparency) goes from `0` (transparent) to `1` (opaque).
### Colors