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

Breaks remapped j and k keys #2

Open
mpfusion opened this issue Feb 7, 2013 · 3 comments
Open

Breaks remapped j and k keys #2

mpfusion opened this issue Feb 7, 2013 · 3 comments
Assignees

Comments

@mpfusion
Copy link

mpfusion commented Feb 7, 2013

To work on lines wider than the screen in a sane way I have remapped j and k as follows

nnoremap j gj
nnoremap k gk
nnoremap gj j
nnoremap gk k

This plugin however breaks these mappings when wrap is set. To reproduce insert some long lines into a buffer and add the remappings shown above. Without loading the plugin press j, it moves to the next visual line. Then load the plugin and press j, it moves the cursor to the next physical line.

@teranex
Copy link
Owner

teranex commented Feb 8, 2013

You are right, those mapping are broken by the plugin. I'll see if I can add some options to fix this.

@mpfusion
Copy link
Author

Any progress on this?

@ghost ghost assigned teranex Nov 11, 2013
@gyermolenko
Copy link

up

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

3 participants