Skip to content
  • Marwan Tanager's avatar
    Make jumping with ^o and ^i more compatible with Vim · 5b7fc5de
    Marwan Tanager authored and Sebastian Ramacher's avatar Sebastian Ramacher committed
    
    
        - Allow the user to always start with the very last (or first) jump on the
          jumplist when pressing ^o (or ^i), while the jumplist iterator is
          pointing to the last (or first) jump, and the document is not currently
          at the position of this pointed-to jump. This is instead of jumping
          directly to the previous/next jump, and skipping the last/first one.
    
        - Don't jump to the current jump pointed to by the jumplist iterator, if
          there is no more next jumps, and the jump direction is FORWARD.
    
        - Don't jump to the current jump pointed to by the jumplist iterator, if
          there is no more previous jumps, and the jump direction is BACKWARD.
    
    Signed-off-by: default avatarSebastian Ramacher <sebastian+dev@ramacher.at>
    5b7fc5de