Skip to content

Commit

Permalink
added image and added numbers to jump list
Browse files Browse the repository at this point in the history
  • Loading branch information
blank2121 committed Nov 6, 2023
1 parent 20c0ebf commit 021d228
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A [Zellij](https://zellij.dev) plugin for navigating your motions from pane-to-p

Inspired by the jump list commonly in editors like vim, nvim, emacs.

![usage](add a link here to and image)
![usage](./img/working-example.png)

## Usage

Expand Down
Binary file added img/working-example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,9 @@ impl ZellijPlugin for State {
// tui listing out jump list
for (idx, x) in self.jump_list.iter().enumerate() {
if (idx as i32) != self.select_focus-1 {
println!("{}", x)
println!("{}. {}", idx+1, x)
} else {
println!("{}", color_bold(RED, &x.to_string()))
println!("{}. {}", idx+1, color_bold(RED, &x.to_string()))
}
}
}
Expand Down

0 comments on commit 021d228

Please sign in to comment.