Menu

:w <ENTER> <ENTER> to save

2012-05-13
2015-01-15
  • Thomas Luff

    Thomas Luff - 2012-05-13

    First off, many thanks to the author. This is an amazing plugin and has improved my productivity when working with large, multifile projects.

    I just have one little gripe which I'm sure is easy to fix but couldn't figure it out within the settings. To save a file I must type `:w <ENTER> <ENTER>`. This is because `:w` shows the autosuggestion dropdown with `:write` suggested, Enter to select it, then Enter to execute it.

    Does anyone know a way to fix this so that `:w <ENTER>` wil save it correctly.

    Thanks

    -hipyhop

     
  • Ernie Rael

    Ernie Rael - 2012-05-14

    The reason the 2nd <ENTER> is needed is that ":write" has an optional argument, note the "…" in the autosuggestion dropdown.

    In Menu>Tools>Options>jVi>Platform notice: ":" command completion auto popup.
    Uncheck this and then ':w <ENTER>' works. Use Ctrl-<space> or Ctrl-D to bring up the completion list.

     
  • Thomas Luff

    Thomas Luff - 2012-05-29

    Ah that works great.

    Thanks

     
  • Shadow Creeper

    Shadow Creeper - 2015-01-14

    This is still a bug. There are "optional" arguments in generic vi and vim too but only 1 <enter> press is required there.</enter>

     
  • Ernie Rael

    Ernie Rael - 2015-01-15

    ShadowCreeper,

    Did you turn off

    ":" command completion auto popup

    as described above?

     

Log in to post a comment.

MongoDB Logo MongoDB