Comments (1)
Taking some notes here in prep for when I actually get to coding on this next.
If anyone else has the time and energy feel free to make a PR of this change, otherwise it is likely to not be added until summer.
Input handling code for the Help and help overlay:
https://github.com/sidju/hired/blob/master/src/hui/doc_print.rs#L49
Commands to add (inspired by man pages for less
and more
):
- u, scroll up (by half a screen height in
less
, 11 lines inmore
) - d, scroll down (by the same amount as
u
) - s, alias to enter
- b, alias to page up
- f and z, alias to page down
- r, R or ctrl+L, noop without closing help (aka. redraw)
- g or home, go to line 1
- G or end, go to last line
from hired.
Related Issues (20)
- Search replace removes empty lines HOT 1
- Add commands for creating and updating view box HOT 3
- Create proper UI HOT 1
- Write a decent readme
- Implement 'g' HOT 1
- Check that no flags are given to commands not taking flags
- Add variant basic editing commands
- Look over 's' handling of $ HOT 3
- Consistent moving behaviour HOT 1
- Add macro command
- Add variant advanced editing commands
- Rewrite printing for better terminal support and looks HOT 3
- BUG: a line starting with . in input mode will block exiting input mode HOT 2
- Nix package? HOT 2
- Improve color handling HOT 2
- Fix proper attributions for the theme and syntax definitions
- Fix firing twice per key event on Windows (and kitty?) HOT 1
- Note quirky colour behaviour around 16-color white and black
- Paste doesn't include newlines HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hired.