sites

public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log | Files | Refs

commit 4a377f0fdcf61d6ce654c77380bdfce4465ba9bc
parent dbb2ca08735ba41927d70247fe6e60ea1b2a994b
Author: Julius Huelsmann <juliusHuelsmann@gmail.com>
Date:   Sun, 17 Nov 2019 22:28:00 +0100

[st][patch][vimBrowse+alphaFocusHighlight] change vim page respecting the wiki rules as done in f80732a4dda1ea989a6a29650af0d3e41f35b866 for the alphaFocusHighlight patch, that is: vimBrowse: stick to non-capital letters for patch name, reorder links s.th. the patch hostet on suckless comes first, (try to) provide size for the gif. Also add small screenshot for the alpha patch that is hosted on suckless.org.

Diffstat:
Ast.suckless.org/patches/alphafocushighlight/alphaFocus.gif | 0
Mst.suckless.org/patches/alphafocushighlight/index.md | 9++++++++-
Dst.suckless.org/patches/vimBrowse/index.md | 114-------------------------------------------------------------------------------
Ast.suckless.org/patches/vimbrowse/index.md | 121+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Rst.suckless.org/patches/vimBrowse/st-vimBrowse-20191107-2b8333f.diff -> st.suckless.org/patches/vimbrowse/st-vimBrowse-20191107-2b8333f.diff | 0
5 files changed, 129 insertions(+), 115 deletions(-)

diff --git a/st.suckless.org/patches/alphafocushighlight/alphaFocus.gif b/st.suckless.org/patches/alphafocushighlight/alphaFocus.gif Binary files differ. diff --git a/st.suckless.org/patches/alphafocushighlight/index.md b/st.suckless.org/patches/alphafocushighlight/index.md @@ -3,7 +3,6 @@ Alpha Focus Highlight Patch Description ----------- - This patch allows the user to specify two distinct opacity values; one for the focused- and one for unfocused windows' background. This enables the user to spot the focused window at a glance. @@ -13,6 +12,14 @@ The *Alpha Highlight Focus Patch* patch is based on the which is already applied in the patch file below. Most of the work has been performed by the original authors of the Alpha Patch. +Screenshot +---------- +![Screenshot](alphaFocus.gif) + +Contributions + Bug Reports +--------------------------- +* [Issues](https://github.com/juliusHuelsmann/st/issues?q=is%3Aopen+is%3Aissue+label%3AalphaFocusHighlight) + Notes Alpha Patch ----------------- diff --git a/st.suckless.org/patches/vimBrowse/index.md b/st.suckless.org/patches/vimBrowse/index.md @@ -1,114 +0,0 @@ -Vim Browse -========== - -![Screenshot](https://user-images.githubusercontent.com/9212314/68340852-7d6d9380-00e7-11ea-9705-51ed098eba2a.gif) - - -Description ------------ - -This patch offers the possibility to move through the terminal history, search for strings and use -VIM-like motions, operations and quantifiers. - - -Default Behavior: ------------------ -The default behavior listed below can be adapted: - -**Enter Vim Browse Mode**: -* `Alt`+`c` - -**Operations in Vim Browse Mode**: -* Enter Visual Mode: `V` / `v` -* Enter Yank Mode: `Y` - -**Motions in Vim Browse Mode**: -* Basic motions: `j`, `k,` `h`, `l`, `H`, `M`, `L`, `0`, `$` like in VIM -* Word Move operators: `w`, `W`, `e`, `E`, `b`, `B` similar to VIM -* Search Operators: `/`, `?`, `n`, `N` for forward / backward search -* Jump to the cursor position prior to entering Vim Browse Mode: `G` -* Repeat last command string: `.` -* in Visual Mode `v`: use `t` to toggle block selection mode - -**Custom Commands**: -Custom arrangements of the aforementioned commands can be defined in the configuration file: - -The shortcut - -` -struct NormalModeShortcuts normalModeShortcuts [] = { - { 'C', "/Cheese\n" }, -} -` - -searches for the next occurrence of Cheese when the letter C is pressed. -Usecases are for instance to jump between executed commands or to last error in a compile error -output. - -No sanity checks are performed wrt. the custom shortcuts; the program does not check if the command -is circular. Hence the (useless) shortcut - -` -struct NormalModeShortcuts normalModeShortcuts [] = { - { 'C', "C" }, -} -` - -triggers an infinite loop as soon 'C' is typed in normal mode, because `C` is contained -in the shortcut as control character. - -**Search Mode** -In search mode, the cursor jumps to the next occurrence of the search string, shifts the screen -if necessary and highlights all occurrences of the search string that are currently visible on -screen. - -All motions -- including the search mode -- are currently circular, (hence if no search result is -found, the search is continued at the top or bottom of the history, depending on the search -direction). - -Notes ------ -* Currently based on the [Scrollback patch](https://st.suckless.org/patches/scrollback/), - this dependency will be removed (see __Bugs__ section). -* The patch is applied both to a non-patched version and to a patched version of st - and can be tried out [here](https://github.com/juliusHuelsmann/st) (browse the available branches - for finding the different versions of the patch). Contributions are welcome. - -Bugs ------ -* The following two 'Bugs' will be resolved by removing the dependency on the Scrollback patch - which is currently work in progress: - * Normal mode overrides the output at the cursor position if the current command is still - running and outputs text while not in alternate screen mode (not vim / htop etc) - * in Alternate Screen mode, the current position is reset on repaint (e.g. htop). - - -Download --------- -**Most Recent**: -* [st-vimBrowse-20191107-2b8333f.diff (Github)](https://github.com/juliusHuelsmann/st/releases/download/patchesV1/st-vimBrowse-20191107-2b8333f.diff) - -**All versions**: -* [st-vimBrowse-20191107-2b8333f.diff (Github)](https://github.com/juliusHuelsmann/st/releases/download/patchesV1/st-vimBrowse-20191107-2b8333f.diff) -* [st-vimBrowse-20191107-2b8333f.diff (attached)](st-vimBrowse-20191107-2b8333f.diff ) - -Authors of the [Scrollback patch](https://st.suckless.org/patches/scrollback/) ------------------------------------------------------------------------------- -* Jochen Sprickerhof - <st@jochen.sprickerhof.de> -* M Farkas-Dyck - <strake888@gmail.com> -* Ivan Tham - <pickfire@riseup.net> (mouse scrolling) -* Ori Bernstein - <ori@eigenstate.org> (fix memory bug) -* Matthias Schoth - <mschoth@gmail.com> (auto altscreen scrolling) -* Laslo Hunhold - <dev@frign.de> (unscrambling, git port) -* Paride Legovini - <pl@ninthfloor.org> (don't require the Shift modifier - when using the auto altscreen scrolling) -* Lorenzo Bracco - <devtry@riseup.net> (update base patch, use static - variable for config) -* Kamil Kleban - <funmaker95@gmail.com> (fix altscreen detection) -* Avi Halachmi - <avihpit@yahoo.com> (mouse + altscreen rewrite after `a2c479c`) -* Jacob Prosser - <geriatricjacob@cumallover.me> - - -Authors of the Vim-Browse Patch --------------------------------- -* Julius Hülsmann - <juliusHuelsmann [at] gmail [dot] com> diff --git a/st.suckless.org/patches/vimbrowse/index.md b/st.suckless.org/patches/vimbrowse/index.md @@ -0,0 +1,121 @@ +Vim Browse +========== + +Description +----------- +This patch offers the possibility to move through the terminal history, search for strings and use +VIM-like motions, operations and quantifiers. + + +Default Behavior: +----------------- +The default behavior listed below can be adapted: + +**Enter Vim Browse Mode**: +* `Alt`+`c` + +**Operations in Vim Browse Mode**: +* Enter Visual Mode: `V` / `v` +* Enter Yank Mode: `Y` + +**Motions in Vim Browse Mode**: +* Basic motions: `j`, `k,` `h`, `l`, `H`, `M`, `L`, `0`, `$` like in VIM +* Word Move operators: `w`, `W`, `e`, `E`, `b`, `B` similar to VIM +* Search Operators: `/`, `?`, `n`, `N` for forward / backward search +* Jump to the cursor position prior to entering Vim Browse Mode: `G` +* Repeat last command string: `.` +* in Visual Mode `v`: use `t` to toggle block selection mode + +**Custom Commands**: +Custom arrangements of the aforementioned commands can be defined in the configuration file: + +The shortcut + +` +struct NormalModeShortcuts normalModeShortcuts [] = { + { 'C', "/Cheese\n" }, +} +` + +searches for the next occurrence of Cheese when the letter C is pressed. +Usecases are for instance to jump between executed commands or to last error in a compile error +output. + +No sanity checks are performed wrt. the custom shortcuts; the program does not check if the command +is circular. Hence the (useless) shortcut + +` +struct NormalModeShortcuts normalModeShortcuts [] = { + { 'C', "C" }, +} +` + +triggers an infinite loop as soon 'C' is typed in normal mode, because `C` is contained +in the shortcut as control character. + +**Search Mode** +In search mode, the cursor jumps to the next occurrence of the search string, shifts the screen +if necessary and highlights all occurrences of the search string that are currently visible on +screen. + +All motions -- including the search mode -- are currently circular, (hence if no search result is +found, the search is continued at the top or bottom of the history, depending on the search +direction). + +Screenshot +---------- +![Screenshot](https://user-images.githubusercontent.com/9212314/68340852-7d6d9380-00e7-11ea-9705-51ed098eba2a.gif =250x) + +Contributions + Bug Reports +--------------------------- +* [Issues](https://github.com/juliusHuelsmann/st/issues?q=is%3Aissue+is%3Aopen+label%3AvimBrowse) + + +Notes +----- +* Currently based on the [Scrollback patch](https://st.suckless.org/patches/scrollback/), + this dependency will be removed (see __Bugs__ section). +* The patch is applied both to a non-patched version and to a patched version of st + and can be tried out [here](https://github.com/juliusHuelsmann/st) (browse the available branches + for finding the different versions of the patch). Contributions are welcome. + +Bugs +----- +* The following two 'Bugs' will be resolved by removing the dependency on the Scrollback patch + which is currently work in progress: + * Normal mode overrides the output at the cursor position if the current command is still + running and outputs text while not in alternate screen mode (not vim / htop etc) + * in Alternate Screen mode, the current position is reset on repaint (e.g. htop). + + +Download +-------- + +**All versions**: +* [st-vimBrowse-20191107-2b8333f.diff (attached)](st-vimBrowse-20191107-2b8333f.diff ) +* [st-vimBrowse-20191107-2b8333f.diff (Github)](https://github.com/juliusHuelsmann/st/releases/download/patchesV1/st-vimBrowse-20191107-2b8333f.diff) + +**Most Recent**: +* [st-vimBrowse-20191107-2b8333f.diff (Github)](https://github.com/juliusHuelsmann/st/releases/download/patchesV1/st-vimBrowse-20191107-2b8333f.diff) + + +Authors of the [Scrollback patch](https://st.suckless.org/patches/scrollback/) +------------------------------------------------------------------------------ +* Jochen Sprickerhof - <st@jochen.sprickerhof.de> +* M Farkas-Dyck - <strake888@gmail.com> +* Ivan Tham - <pickfire@riseup.net> (mouse scrolling) +* Ori Bernstein - <ori@eigenstate.org> (fix memory bug) +* Matthias Schoth - <mschoth@gmail.com> (auto altscreen scrolling) +* Laslo Hunhold - <dev@frign.de> (unscrambling, git port) +* Paride Legovini - <pl@ninthfloor.org> (don't require the Shift modifier + when using the auto altscreen scrolling) +* Lorenzo Bracco - <devtry@riseup.net> (update base patch, use static + variable for config) +* Kamil Kleban - <funmaker95@gmail.com> (fix altscreen detection) +* Avi Halachmi - <avihpit@yahoo.com> (mouse + altscreen rewrite after `a2c479c`) +* Jacob Prosser - <geriatricjacob@cumallover.me> + + +Authors of the Vim-Browse Patch +-------------------------------- +* Julius Hülsmann - <juliusHuelsmann [at] gmail [dot] com> diff --git a/st.suckless.org/patches/vimBrowse/st-vimBrowse-20191107-2b8333f.diff b/st.suckless.org/patches/vimbrowse/st-vimBrowse-20191107-2b8333f.diff