Skip to content

Commit

Permalink
Added <> to readme and beautified a little
Browse files Browse the repository at this point in the history
  • Loading branch information
tigrawap committed May 7, 2017
1 parent 2bbe5b4 commit 3259828
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
19 changes: 14 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,24 +23,33 @@ Keep in mind however they might be some commits behind master branch.

### Key Bindings:

- `/` - forward search
- `?` - backsearch
- `n` - next match
- `N` - previous match
##### Search/Filters
- `/` - Forward search
- `?` - Backsearch
- `n` - Next match
- `N` - Previous match
- `CTRL + /` - Switch between `CaseSensitive` search and `RegEx`
- `&` - Filter: intersect
- `-` - Filter: exclude
- `+` - Filter: union
- `=` - Remove all filters
- `U` - Removes last filter
- `C` - Stands for "Context", switches off/on all filters, helpful to get context of current line (which is the first line, at the top of the screen)
- `W` - Wrap/Unwrap lines

##### Navigation
- `f`, `PageDown`, `Space` - Page Down
- `b`, `PageUp` - Page Up
- `g`, `Home` - Go to first line
- `G`, `End` - Go to last line
- `Arrow down`, `j` - Move one line down
- `Arrow up`, `k` - Move one line up
- `Arrow left`, `Arrow right` - Scroll horizontally
- `<`, `>` - Precise horizontal scrolling, 1 character a time

This comment has been minimized.

Copy link
@tigrawap

tigrawap May 7, 2017

Author Owner

CC @koreno


##### Misc
- `K` - Keep N first characters(usually containing timestamp) when navigating horizontally
Up/Down arrows during K-mode will adjust N of kept chars
- `W` - Wrap/Unwrap lines
- `q` - quit

### Search Modes
Expand Down
2 changes: 1 addition & 1 deletion term.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ type viewer struct {
type action uint

const (
NO_ACTION action = iota
NO_ACTION action = iota
ACTION_QUIT
ACTION_RESET_FOCUS
)
Expand Down

0 comments on commit 3259828

Please sign in to comment.