Home Download Buy Blog Forum Support

[SOLVED] Move to EOL with Word Wrap

[SOLVED] Move to EOL with Word Wrap

Postby C0D312 on Mon Dec 19, 2011 9:27 pm

I have a keybinding that's set to move to EOL. I have word-wrap turned on. When I press my keybinding, my cursor goes to the end of the physical line instead of wrapping around to the end of the line of text.
Last edited by C0D312 on Tue Dec 20, 2011 4:06 am, edited 1 time in total.
C0D312
 
Posts: 1063
Joined: Sun Jul 10, 2011 3:23 am

Re: Bug: Move to EOL with Word Wrap

Postby jps on Tue Dec 20, 2011 12:48 am

What's your key binding?
jps
Site Admin
 
Posts: 3071
Joined: Wed Mar 19, 2008 12:33 pm

Re: Bug: Move to EOL with Word Wrap

Postby C0D312 on Tue Dec 20, 2011 2:06 am

Code: Select all
  {
    "args": {
      "extend": false,
      "to": "eol"
    },
    "command": "move_to",
    "context": [],
    "keys": [
      "ctrl+quote"
    ]
  }
C0D312
 
Posts: 1063
Joined: Sun Jul 10, 2011 3:23 am

Re: Bug: Move to EOL with Word Wrap

Postby jps on Tue Dec 20, 2011 3:55 am

If you want to advance to the newline character, rather than the end of the line on screen, you can use "hardeol" instead of "eol".
jps
Site Admin
 
Posts: 3071
Joined: Wed Mar 19, 2008 12:33 pm

Re: Bug: Move to EOL with Word Wrap

Postby C0D312 on Tue Dec 20, 2011 4:05 am

Awesome, thanks. That's my mistake.
C0D312
 
Posts: 1063
Joined: Sun Jul 10, 2011 3:23 am


Return to Technical Support

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 21 guests