<commit_before>## PSearch.vim

**v0.2**


### Overview

This plugin shows a preview of all the lines where your search
pattern matches in the currently opened buffers. 

![Screenshot](/extra/screenshot.png "A view of the plugin at work")  

Execute the `:PSearch` command and type something. You'll see a preview 
of all the lines where the pattern you gave matches in the currently 
opened buffers.

Below there is list of all the mappings you can use to interact with the window:

* `UP`, `CTRL+K`: move up in the list.
* `DOWN`, `CTRL+J`: move down in the list.
* `CTRL+B`: move to the bottom of the list.
* `CTRL+T`: move to the top of the list.
* `LEFT`, `RIGHT`: move across previews of matches in other buffers.
* `RETURN`, `CTRL+G`: go to the selected match.
* `ESC`, `CTRL+C`: close the matches list.

You are allowed to use any pattern that would work with the `/` and
`?` vim commands. Note that you have to write the pattern as the `nomagic`
option would be set.


## Requirements

* Vim 7.2+
* Vim compiled with python 2.6+


## Installation

Extract the content of the folder into the `$HOME/.vim` directory or use your favourite
plugin manager.



## Commands

### PSearch

Opens the preview window. Type something and the window will update
automatically with all the search matches for the current file.

### PSearchw

As the `PSearch` command but uses the word under cursor for the search.
(Equal to the vim `*` mapping)


## Settings

### g:pse_max_height

With this setting you can set the maximum height for the window opened with 
the `PSearch` command.

default: 15


### g:pse_prompt

With this setting you can customize the look of the prompt used by the
`PSearch` command.

default: ' ❯ '


## Changelog

### v0.2

* Searches are now performed to all buffers. 
* Fix issues with some input characters and colors

### v0.1

* First release
<commit_msg>Fix changelog<commit_after>## PSearch.vim

**v0.2**


### Overview

This plugin shows a preview of all the lines where your search
pattern matches in the currently opened buffers. 

![Screenshot](/extra/screenshot.png "A view of the plugin at work")  

Execute the `:PSearch` command and type something. You'll see a preview 
of all the lines where the pattern you gave matches in the currently 
opened buffers.

Below there is list of all the mappings you can use to interact with the window:

* `UP`, `CTRL+K`: move up in the list.
* `DOWN`, `CTRL+J`: move down in the list.
* `CTRL+B`: move to the bottom of the list.
* `CTRL+T`: move to the top of the list.
* `LEFT`, `RIGHT`: move across previews of matches in other buffers.
* `RETURN`, `CTRL+G`: go to the selected match.
* `ESC`, `CTRL+C`: close the matches list.

You are allowed to use any pattern that would work with the `/` and
`?` vim commands. Note that you have to write the pattern as the `nomagic`
option would be set.


## Requirements

* Vim 7.2+
* Vim compiled with python 2.6+


## Installation

Extract the content of the folder into the `$HOME/.vim` directory or use your favourite
plugin manager.



## Commands

### PSearch

Opens the preview window. Type something and the window will update
automatically with all the search matches for the current file.

### PSearchw

As the `PSearch` command but uses the word under cursor for the search.
(Equal to the vim `*` mapping)


## Settings

### g:pse_max_height

With this setting you can set the maximum height for the window opened with 
the `PSearch` command.

default: 15


### g:pse_prompt

With this setting you can customize the look of the prompt used by the
`PSearch` command.

default: ' ❯ '


## Changelog

### v0.2

* Searches are now performed in all buffers. 
* Fix issues with some input characters.

### v0.1

* First release

{'fraction_non_alphanumeric': 0.08947649572649573, 'fraction_numerical': 0.00641025641025641, 'mean_word_length': 3.832258064516129, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1929496', 'n_tokens_mistral': 1177, 'n_tokens_neox': 1114, 'n_words': 565}