Skip to content

Different hotkeys inside inspect buffer #3262

@lucasemmoreira

Description

@lucasemmoreira

Taking the liberty here get off the script to appreciate this awesome package! kudos to everyone involved!

Is your feature request related to a problem? Please describe.

Most certainly I would not put as a problem, only a suggestion. But I think it would be interesting to have the npbf keys to navigate the inspect buffer. Something similar to how it goes in magit.

Describe the solution you'd like

Like I stated before, pressing n would go to the next line, p to the previous one and so on. I also think it would be interesting to have these keys in "smart" way, meaning that if I press n it would go to the next value of the map and not necessarily to the next line. In other words, pressing n could have a behavior like TAB, and p could be like shift TAB.

Describe alternatives you've considered

If this is an interesting feature, probably a more simple approach would be to have n and p to behave like C-n and C-p.

I might be out my league here, but minor mode would be interesting? As far as I understand, it would be easier to have other different hotkeys. For example to take a variable to the repl more easily.

Additional context

This is a mere suggestion to have a similar workflow with other packages (just magit comes to mind now) out of the box. Not sure if it is inside the proposition of cider and it is actually valuable or if it would unnecessarily bloat the package.

;; Connected to nREPL server - nrepl://localhost:40561
;; CIDER 1.5.0 (Strasbourg), nREPL 1.0.0
;; Clojure 1.10.1, Java 11.0.15

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions