Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added the --man subcommand #82

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

mkatychev
Copy link

  • I found it easier to print the :help drawing to a stdout/vim buffer when learning the keybindings
  • having a dedicated cheatsheet was easier than constantly typing :help and panning around (zoom multiplier was around than 2.0)
  • apologies for naive implementation I am not familiar with the Parser object, there's likely a better way to implement this
  • added :h shorthand alias (same as vim)

@mkatychev
Copy link
Author

I have 4 failing test cases:

failures:

---- autocomplete::test::test_autocomplete_file stdout ----
thread 'autocomplete::test::test_autocomplete_file' panicked at 'assertion failed: `(left == right)`
  left: `Some(("five.png", 7..14))`,
 right: `Some(("four.png", 7..14))`', src/autocomplete.rs:242:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

---- cmd::test::test_command_line_change_dir stdout ----
thread 'cmd::test::test_command_line_change_dir' panicked at 'assertion failed: `(left == right)`
  left: `":e four.png"`,
 right: `":e five.png"`', src/cmd.rs:1188:9

---- cmd::test::test_command_line_cd stdout ----
thread 'cmd::test::test_command_line_cd' panicked at 'assertion failed: `(left == right)`
  left: `":cd assets/1"`,
 right: `":cd assets/2"`', src/cmd.rs:1209:9

---- cmd::test::test_command_line stdout ----
thread 'cmd::test::test_command_line' panicked at 'assertion failed: `(left == right)`
  left: `":e assets/four.png"`,
 right: `":e assets/five.png"`', src/cmd.rs:1123:9


failures:
    autocomplete::test::test_autocomplete_file
    cmd::test::test_command_line
    cmd::test::test_command_line_cd
    cmd::test::test_command_line_change_dir

test result: FAILED. 22 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out

Checked master HEAD and those same 4 are failing, 🤷.

@cloudhead
Copy link
Owner

Thanks for this! It's a good idea, I will give it a review as soon as I have time.

I have 4 failing test cases:

That's weird, but looks like CI is passing, so it must be something on your end 🤔 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants