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

Add zl, zL, zh, zH to scroll horizontally #31

Closed
gerardroche opened this issue Apr 6, 2017 · 2 comments
Closed

Add zl, zL, zh, zH to scroll horizontally #31

gerardroche opened this issue Apr 6, 2017 · 2 comments

Comments

@gerardroche
Copy link
Contributor

Issue by trkoch
Monday Feb 10, 2014 at 22:47 GMT
Originally opened as guillermooo/Vintageous#467


http://vimdoc.sourceforge.net/htmldoc/scroll.html#zl

@gerardroche
Copy link
Contributor Author

Comment by trkoch
Tuesday Feb 11, 2014 at 10:36 GMT


As a workaround, I installed Horizontal and mapped the scroll_width command to zL and zH:

// Horizontal scrolling
{ "keys": ["z", "L"], "command": "scroll_width", "args": {"amount": 30}, "context": [{"key": "setting.command_mode"}]},
{ "keys": ["z", "H"], "command": "scroll_width", "args": {"amount": -30}, "context": [{"key": "setting.command_mode"}]},

Perhaps this is another case of a Vintageous plugin?

@gerardroche
Copy link
Contributor Author

Comment by trkoch
Wednesday Feb 12, 2014 at 17:32 GMT


Unfortunately this breaks zz and other actions beginning with the z key.

@gerardroche gerardroche added this to the 2.0.0 milestone Jan 13, 2019
@gerardroche gerardroche modified the milestones: 2.0.0, 1.10.0 Feb 24, 2019
gerardroche added a commit that referenced this issue Feb 25, 2019
* develop:
  Add :sort; close #445
  Refactor test
  Refactor utils
  Refactor gx
  Fix #446 ex commands
  Fix #446 ex commands
  Refactor ex commands
  vi[ and vi] should not select otherwise empty target lines; close #444
  Add gf edit file under cursor; close #71
  Add zl, zL, zh, zH to scroll horizontally; close #31
  :s/{search}/{replacement}/c can now be cancelled; close #442
  Refactor window actions
  Add ex completion tests
  Fix ex fs completions
  Doc: Fix typo
  Refactor plugin.is_enabled state dependency
  Refactor ex completions (Pass 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant