On Fri, Jul 05, 2013 at 17:12:03 +0100, Nicholas Marriott wrote: > The EOL tracking seems to be a bit broken at the moment but I don't > think this is right either, it should work like emacs - when you go to > the end of a line, that column becomes sticky. So with: > > xx > abcdef > abc > > If you go to the second line and then press C-e to move to th end, then > press up, the cursor should be on the d. If you press up again it should > be at the end of the first line, but then pressing down again should > move it back to the d. > > At the moment tmux seems to do something completely weird but pretty > sure I intended it to work like emacs...
This seems different than Vim. In Vim, the '$' motion sets the current column to a logical column meaning "the end of the line" which is used when moving between lines. Just being on the end of the line doesn't set this state. The intended behavior (using vi bindings): Initial (X is cursor location): aXc defghi jklm Command sequence "$jj": abX defghX jklX Command sequence "ljj" or "ejj": abX deXghi jkXm Is this another vi/emacs difference? --Ben ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users