Skip to content

Commit

Permalink
version 0.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
lotabout committed Mar 19, 2019
1 parent e2d9a98 commit c3f0fd8
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 10 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Change Log

## 0.6.2: 2019-03-19

Feature:
- Support `--header-lines`
- Support `--layout`
- Update the latest fzf.vim

## 0.6.1: 2019-03-17

Fix:
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "skim"
version = "0.6.1"
version = "0.6.2"
authors = ["Zhang Jinzhou <[email protected]>"]
description = "Fuzzy Finder in rust!"
documentation = "https://github.com/lotabout/skim"
Expand Down
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -397,19 +397,23 @@ First, add skim into your `Cargo.toml`:

```toml
[dependencies]
skim = "0.6.1"
skim = "0.6.2"
```

Then try to run this simple example:

```rust
extern crate skim;
use skim::{Skim, SkimOptions};
use skim::{Skim, SkimOptionsBuilder};
use std::default::Default;
use std::io::Cursor;

pub fn main() {
let options: SkimOptions = SkimOptions::default().height("50%").multi(true);
let options = SkimOptionsBuilder::default()
.height(Some("50%"))
.multi(true)
.build()
.unwrap();

let input = "aaaaa\nbbbb\nccc".to_string();

Expand Down
2 changes: 1 addition & 1 deletion install
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

set -u

version="0.6.1"
version="0.6.2"

cd "$(dirname "${BASH_SOURCE[0]}")"
skim_base="$(pwd)"
Expand Down
4 changes: 2 additions & 2 deletions shell/skim.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH skim 1 "2018/11/19" "0.6.1" "https://github.com/lotabout/skim"
.TH skim 1 "2018/11/19" "0.6.2" "https://github.com/lotabout/skim"
.hy
.RS
.PP
Expand Down Expand Up @@ -672,7 +672,7 @@ First, add skim into your \f[C]Cargo.toml\f[R]:
.nf
\f[C]
[dependencies]
skim = \[dq]0.6.1\[dq]
skim = \[dq]0.6.2\[dq]
\f[R]
.fi
.PP
Expand Down
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Usage: sk [options]
--no-hscroll Disable horizontal scroll
Layout
--reverse Reverse orientation
--layout=LAYOUT Choose layout: [default|reverse|reverse-list]
--height=HEIGHT Height of skim's window (--height 40%)
--no-height Disable height feature
--min-height=HEIGHT Minimum height when --height is given by percent
Expand All @@ -56,6 +56,7 @@ Usage: sk [options]
--tabstop=SPACES Number of spaces for a tab character (default: 8)
--inline-info Display info next to query
--header=STR Display STR next to info
--header-lines=N The first N lines of the input are treated as header
Preview
--preview=COMMAND command to preview current highlighted line ({})
Expand Down Expand Up @@ -88,7 +89,6 @@ Usage: sk [options]
--filepath-word
--jump-labels=CHARS
--border
--header-lines=N
--no-bold
--history=FILE
--history-size=N
Expand Down

0 comments on commit c3f0fd8

Please sign in to comment.