Skip to content

Commit b146028

Browse files
committed
Release v1.4!
See CHANGELOG.md for all changes.
1 parent 619be28 commit b146028

File tree

1 file changed

+45
-2
lines changed

1 file changed

+45
-2
lines changed

CHANGELOG.md

Lines changed: 45 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,50 @@
33
All notable changes to this project will be documented in this file. (Thus, it
44
won't list single bugfixes or improved documentation.)
55

6-
## [Unreleased]
6+
## [1.4] - 2016-11-11
7+
8+
### Added
9+
10+
- Probably the most exciting change: two new flags: `-buffer` and `-buffers`. By
11+
default Grepper recursively searches from the current working directory. Using
12+
`-buffer` will search the current "buffer" and `-buffers` all loaded
13+
"buffers". I put the buffers in quotes, because the grep tools obviously work
14+
on the underlying files, not the buffers itself. So, for best results, save
15+
before searching. Everyone loves demos, so here it is:
16+
[demo](https://raw.githubusercontent.com/mhinz/vim-grepper/master/pictures/grepper-demo2.gif).
17+
- `g:grepper` now gets exposed. That is, after running `:Grepper` for the first
18+
time, `:echo g:grepper` will show you exactly what default entries are used by
19+
the plugin. If you set `g:grepper` in your vimrc already, it will be enriched
20+
by all missing default entries. So, if you want to add a new tool or change
21+
the defaults of an existing tool, have a look at them via `:echo
22+
g:grepper.tools g:grepper.git`.
23+
- New option: `g:grepper.simple_prompt`. If you work in small windows or your
24+
grep tool just takes a lot of options, the prompt quickly becomes too long.
25+
When this option is set, only the name of the grep tool, without any options,
26+
will be shown.
27+
- When using the operator or visual selection to start a search, `--` is now put
28+
in front of the quoted query. This avoids issues when searching for anything
29+
starting with `-`, since it marks the end of options of the grep tool.
30+
- The quickfix/location window always shows the executed command in the
31+
statusline. Even after closing and reopening it! This requires your Vim to be
32+
recent enough to accept a third argument for `:h setqflist()`.
33+
34+
### Changed
35+
36+
- Due to what I believe is a bug in Vim, ripgrep, pt, and ack are forced to run
37+
synchronuously at the moment. See:
38+
[#65](https://github.com/mhinz/vim-grepper/issues/65). Suggestions welcome.
39+
- Default commands got prefixed: `:Ag` -> `:GrepperAg` and so on.
40+
- Handle consecutive spaces in a query. Previously those were replaced by a
41+
single space, because of the way the flag parser for `:Grepper` worked.
42+
- The `:Grepper` command doesn't use `-bar` anymore. This avoids pipe escaping
43+
madness and you can use _exactly_ the same commands you would use in the
44+
shell. This would just work the way you expect it to work:
45+
```
46+
:Grepper -tool ag -query 'foo|bar' | head -n2
47+
```
48+
- I revamped the README to be a much shorter and put all the details in the wiki
49+
instead. Moreover, two new animated GIFs!
750

851
## [1.3] - 2016-09-26
952

@@ -86,7 +129,7 @@ quite some changes.
86129

87130
First release!
88131

89-
[Unreleased]: https://github.com/mhinz/vim-grepper/compare/v1.3...HEAD
132+
[1.4]: https://github.com/mhinz/vim-grepper/compare/v1.3...v1.4
90133
[1.3]: https://github.com/mhinz/vim-grepper/compare/v1.2...v1.3
91134
[1.2]: https://github.com/mhinz/vim-grepper/compare/v1.1...v1.2
92135
[1.1]: https://github.com/mhinz/vim-grepper/compare/v1.0...v1.1

0 commit comments

Comments
 (0)