Click on the package to download.
| selx.tar.gz |
18/03/2026 |
2026-03-18 |
8.1 |
Richard Bentley-Green |
- It was found that errors can be generated as the function selx#SelXSave() iterates through the tabs to save the session; autocommands can be triggered which can throw up errors. Addressed the problem by disabling autocommands as this loop runs. The odd thing is that SelX iterates through the tabs in several other places in the code seemingly without errors being generated, so it could be related to the state vim is in when the session is being saved? As a precaution, disabled autocmds in all other cases where it iterates through the tabs
- Changed some 'normal! gt` commnds to 'tabnext' (not sure why I was using the former)
- Changes to this README file - changed example code for implementing status bar display. Added a 'quick start' section
- Added `g:SelxlistFree` option
- Modified selx#SetShowSelX() to accept a flag to force a redraw of the status bar. This is used in several places as I found that on some istallations, reg status bar redraw is not as timely as I would like it to be
|
| selx.tar.gz |
08/10/2025 |
2025-10-09 |
7.0 |
Richard Bentley-Green |
Reworked a number of functions that iterate through the displayed windows. This was primarily because it was found that the original method used was potentially problematic. See README for full details |
| selx.tar.gz |
03/09/2025 |
2025-09-08 |
7.0 |
Richard Bentley-Green |
Improved docs formatting to better match ':help help-writing' |
| selx.tar.gz |
25/06/2025 |
2025-06-25 |
7.0 |
Richard Bentley-Green |
- Reworked the key-to-highlight-colour specification to allow 'compound' keys to be defined (eg, <C-x>)
THIS IS A BREAKING CHANGE if you have set g:SelxExtKeyMap in previous installations
(g:SelxExtKeyMap has been replaced with g:SelxKeyMap and the format is different, but the conversion is easy - see the README)
- Updated documentation |
| selx.tar.gz |
15/04/2023 |
2023-04-24 |
7.0 |
Richard Bentley-Green |
Added new commands and mappings to allow highlights to be set and controlled across all tabs |
| selx.tar.gz |
14/01/2023 |
2023-01-15 |
7.0 |
Richard Bentley-Green |
I discovered that defining the dummy version of selx#Statusline() - see change on 26/04/2020 above - actually has the effect of bringing-in and parsing the SelX autoload code! I think this is a bug in vim but is (apparently) expected behaviour. So I have now removed this dummy function and replaced it with the function g:SelxStatusline(). Using this wrapper function will ensure that the autoload code is not brought in/parsed unnecessarily. The README has been updated to reflect the change when using this for the vim buffer status bar
|
| selx.tar.gz |
02/08/2022 |
2022-08-15 |
7.0 |
Richard Bentley-Green |
- The search index (used by (`<M-n`/`<Leader>n` and `<M-N>`/`<Leader>N`) now operates per-tab (the auto-selection index has always done)
- The auto-selection index, and the search index are now transposed to a new tab opened with the `tt` mapping
- Added facility to (optionally) copy the auto-selection index and the search index between tabs (via the 'SelXPaseteAll` command)
- Added g:SelxPasteNextIdx and g:SelxPasteSearchIdx options to support (switching on/off) this functionality
- The usage map and output from the `SelXList` function now displays which highlight (if any) is the target of the search operations (`<M-n`/`<Leader>n` and `<M-N>`/`<Leader>N`)
- Added new command; `<M->>'/`<Leader>>` to set search to last defined highlight (per tab) - surprisingly useful!
- The auto-selection index, and the search index are now saved to the session (if the appropriate config is set up, of course)
- Added `g:SelxStripDecor` option to allow the output of some commands/mappings to produce cleaner output
- Some of the command line output showing the highlight colours did not include the highlight attributes. This has now been added
|
| selx.tar.gz |
02/05/2022 |
2022-05-03 |
7.0 |
Richard Bentley-Green |
- Added g:SelxDispMapNextCol option to allow further possibilities with configuring the highlight usage map
|
| selx.tar.gz |
29/04/2022 |
2022-04-30 |
7.0 |
Richard Bentley-Green |
- Expanded the maximum number of highlight colours from 9 to 99
- Added g:SelxExtKeyMap to support additional colours (> 10)
- Added g:SelxDispMapMarks option to allow small reduction in map size
|
| selx.tar.gz |
24/04/2022 |
2022-04-27 |
7.0 |
Richard Bentley-Green |
- Corrected a minor but annoying bug whereby if a 'normal' vim highlight was active (displayed) and a 'SelX' highlight was created in visual selection mode, the 'SelX' highlight would be created ok, but the original 'normal' highlight would get re-assigned to the same as the 'SelX' highlight. The correction means that the 'normal' highlight is left as-is now
- Improved the `<leader><leader>n` mapping so that it now visually selects the next located text. This makes repeated use of this mapping much more usable
- Corrected some comparisons which should be case-sensitive but may not be in some vim configurations
|
| selx.tar.gz |
15/06/21 |
2021-06-15 |
7.0 |
Richard Bentley-Green |
- Oops! Fixed incorrect command-line feedback/reporting of case toggle mapping
'<Leader>cH' (the actual operation is/was correct)
|
| selx.tar.gz |
04/06/21 |
2021-06-04 |
7.0 |
Richard Bentley-Green |
- Added commands to copy and paste highlight config between tabs
- Improved feedback text on command line for some commands/mappings |
| selx.tar.gz |
01/03/21 |
2021-03-02 |
7.0 |
Richard Bentley-Green |
- README/help text improvements
- Changed the characters displayed in the Unicode version of the 'whole word' and 'case-insensitive' markers to something a bit more subtle (smaller)
|
| selx.tar.gz |
27/02/21 |
2021-02-28 |
7.0 |
Richard Bentley-Green |
- Some minor improvements to this README and documentation
- Added support for case selection/toggling, inc new mappings toggling case-sensitivity, both default and per-selection - see the new mappings <Leader>C and <Leader>cH
- Highlight Selection Map now shows markers to indicate word/arbitrary selection and case-sensitivity for each highlight - see README for details
|
| selx.tar.gz |
24/11/20 |
2020-11-25 |
7.0 |
Richard Bentley-Green |
- Improved feedback for 'full word/arbitrary' selection toggle operation
- Added search success/failure feedback; printed to command line
- Minor comment corrections
|
| selx.tar.gz |
27/10/2020 |
2020-11-21 |
7.0 |
Richard Bentley-Green |
- Modified visual selection version of '*' so that it does not immediately jump to next occurrence; ie - works like the 'normal' version
- Modified list of suggested highlight colours
|
| selx.tar.gz |
01/05/20 |
2020-05-01 |
7.0 |
Richard Bentley-Green |
Added :SelXList command to print details of active selections/highlights |
| selx.tar.gz |
27/04/20 |
2020-04-28 |
7.0 |
Richard Bentley-Green |
Added 'default' to setting StatusMsg colour. Without this, colour override would be hit-and-miss
Removed a stray mapping for '*' from autoload/selx.vim - oops!
|
| selx.tar.gz |
26/04/20 |
2020-04-27 |
7.0 |
Richard Bentley-Green |
Documentation improvements.
Minor functional changes - nothing serious, but worth having
See version information at bottom of README for full details |
| selx.tar.gz |
25/04/20 |
2020-04-25 |
7.0 |
Richard Bentley-Green |
Documentation improvements. Improved control over mappings. Corrected one use of 'normal' to 'normal!' |