Migrate from GitHub to SourceForge with this tool. Check out all of SourceForge's recent improvements.
Close

#62 ":set wrapscan" command please

closed-fixed
nobody
Editing (36)
5
2010-11-07
2010-03-26
Mark B
No

I typically want to turn wrapscan off and on many times during the day, depending on what file I am editing and what I am doing to the file.

Please, it would be so much easier if ":set wrapscan" (:set ws) were implemented, rather than having to go to through all the hassle of navigating to and clicking the "tools -> options -> jvi -> Search -> 'wrapscan' 'ws'" checkbox and clicking "OK"! 5 clicks!

Discussion

  • Ernie Rael

    Ernie Rael - 2010-03-26

    Changing to feature request.

    Should be simple. I'll post a patch in case you want to build it. Next release is for nb6.9

     
  • Ernie Rael

    Ernie Rael - 2010-03-26
    • labels: 101700 --> Editing
     
  • Mark B

    Mark B - 2010-03-26

    Thanks. Can't tell you much much that will help.

     
  • Ernie Rael

    Ernie Rael - 2010-03-26

    Add the following
    new VimOption("wrapscan", "ws", P_OPT, null, Options.wrapScan),
    to
    private static VimOption[] vopts = new VimOption[]{

    if you want to build your own... The file should be Options.java
    (different filename for next release)

     
  • Mark B

    Mark B - 2010-03-26

    I checked out the source from the CVS repository using

    cvs -z3 -d:pserver:anonymous@jvi.cvs.sourceforge.net:/cvsroot/jvi co -P jvi

    There is now a jar file in the build directory, but the name of the jar file is jvi-0.7.1.jar, which is confusing. Is this correct?

     
  • Mark B

    Mark B - 2010-03-26

    Oops. I forgot to say I cd'ed to the build directory and ran "ant all" after the checkout, but then you probably knew that.

     
  • Mark B

    Mark B - 2010-03-26

    Got it. The target I needed was "nbms". Thanks.

     
  • Ernie Rael

    Ernie Rael - 2010-11-06
    • status: open --> open-fixed
     
  • Ernie Rael

    Ernie Rael - 2010-11-07
    • status: open-fixed --> closed-fixed
     
  • Ernie Rael

    Ernie Rael - 2010-11-07

    fixed in 1.3.1.beta1

     

Log in to post a comment.