Comments (8)
This is less.vim functionality to mimic the help screen of less.
Do you think I should just disable it or add an option to disable it?
from vimpager.
I see why it's there now. People used to vi will never expect that h
would bring up a help screen, but people used to less may freak out and try things like that. Then again, since vimpager does not come with your OS and you have to go out of your way to install it, that kind of weeds out people that expect h
to do the same thing it does in less.
I do think we should rebind it, but at the very least I think an option to disable it would work. Anyone frustrated enough will come to the docs and see that they may disable it.
from vimpager.
I unmapped the 'h' binding in 1.8.4, now the cursor moves left on 'h' and right on 'l' when on a line.
To make this actually useful, I think what we need is a no-line-wrap mode where 'h' and 'l' would scroll left and right.
What do you think?
from vimpager.
Yeah I like that idea. I've found by hitting the v
key I actually end up in a mode with normal vim navigation bindings (IE hjkl move the cursor instead of the page). Not sure if that is considered a feature or not, but I like it because from there I can copy/paste is if in vim itself. What vimpager does by default is much more useful as a pager replacement of course, I just like being able to essentially switch between these modes.
from vimpager.
Hm, I'm not quite sure but I think I am also affected by this. Since I'm using a different keyboard layout - bone(2) I usually remap hjkl
as follows:
no h j
no j h
no l k
no k l
However, this (still) doesn' work for h
, it's still moving the cursor to the left, even if I unmap h
before binding it to j
.
Is there any other way to achieve this?
from vimpager.
Fixed in master.
from vimpager.
Thanks a lot! I hope this won't cause confusion with those people who expect h
to activate help. But as it's called vimpager
and not lesspager
I think that this should be ok for most people!
from vimpager.
I'm closing this, since it was added (a long time ago :-D)
from vimpager.
Related Issues (20)
- plays very poorly with python helptext HOT 1
- system clipboard is clobbered HOT 10
- folding support
- Issues with vimcat as a preprocessor HOT 6
- search gets stuck (must move cursor manually for 'n' to work) HOT 3
- Disable specific mapping HOT 2
- Failed in make install-deb HOT 1
- vimcat hangs without any output
- Ctrl+F creates an empty file
- Inconsistent behavior of `d` key when scrolling
- "Option not supported" when paging the contents of Kitty buffer HOT 5
- vimpager breaks with vim 9 HOT 16
- "git diff" freezes under zsh on macOS 13.0.x HOT 1
- Weird behaviour when scrolling horizontal in "git diff" HOT 1
- Vimcat syntax highlighting doesn't seem to work with Lua coloschemes
- Feature Request: Please add a flag to force syntax highlighting. HOT 1
- unicode characters at end of line defect in vimcat
- Add new flag for specifying language
- Error after following installation instruction: can't execute /usr/local/bin/vimpager: No such file or directory HOT 3
- vimcat hangs instead of outputting a file content HOT 2
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 vimpager.