A simple, sensible build of the suckless.org Simple Terminal project.
A PKGBUILD is included for anyone in an Arch-based environment who wants to manage their installation via pacman. Anyone else can build directly from the src directory using make/make clean install
Resize font: Control + up/K
, Control-down/J
Reset font: Control-home
Copy: alt-c
Paste: alt-v
Keeps xorg clipboard and primary selections the same, regardless of whether copied by mouse selection or the clipcopy command. Note that this only affects selections made within st, other windows managed by X will still copy to the clipboard and primary selections independently
Adds a vim-like text selection mode that does not require the use of the mouse.
Enter mode: alt-esc
Move cursor left/down/up/right: h, j, k, l
Move cursor to the middle of the line/column/screen: !, _, *
Move cursor to the beginning/end of the line: Backspace, $
Move cursor to the beginning/end of the column: PgUp, PgDown
Move cursor to the top/bottom left corner of the screen: Home, End
Activate input mode and search up/down: /, ?
Repeat last search, up/down: n, N
Toggle move/selection mode: s
Toggle regular/rectangular selection type: t
Quit keyboard_select, keeping the highlight of the selection: Return
Quit keyboard_select: Escape
Allows scrolling upwards to view previous output. Diff with st.h amended with correct context to apply patch
Scroll one line: alt-up/k
, alt-down/j
Scroll one page: shift-PageUp
, shift-PageDown
Allows scrolling upwards using shift + mousewheel
Allows colors and terminal attributes to be set dynamically via an .Xresources or .Xdefaults file
Applies background opacity to st windows. Defined by opacity
in .Xresources file. Defaults to 0.9
Swap between .Xresources-defined opacity and 1.0 (opaque) with shift-F5
Allows access to scrollback buffer. Copy functions require adding st-copyout
to your $PATH
Follow a url in scrollback buffer: alt-l
Copy a url to X clipboard: alt-y
Copy output of a previous command: alt-o
- keyboard_select mode entry keybinding (removed diff with config.def.h)
- st-scrollback keybindings (removed diff with config.def.h)
- ResourcePref array
- Added mkeys array and set mshortcuts array to XK_NO_MOD
- A more sensible default colorscheme
- various remapped controls