Skip to content
Snippets Groups Projects
  1. Mar 26, 2014
  2. Mar 25, 2014
  3. Mar 20, 2014
  4. Mar 17, 2014
  5. Mar 13, 2014
  6. Mar 10, 2014
  7. Mar 09, 2014
  8. Mar 08, 2014
    • Yunchi Luo's avatar
      [vim] Fix :registers unit tests · 809fe262
      Yunchi Luo authored
      809fe262
    • Travis Heppe's avatar
      [vim] Refactor macro handling · 96b8519b
      Travis Heppe authored
      Use CreateInsertModeChanges to make a copy of the latest
      insert mode changes in pushInsertModeChanges so that the
      latest insert mode changes can safely be modified without
      bashing previously recorded macros.
      
      Fix the :register command and add unit tests. Add a fakeOpenNotification for matching the notification text.
      96b8519b
  9. Mar 05, 2014
  10. Mar 04, 2014
    • Ng Zhi An's avatar
      [vim] Add :nunmap and a simple test · 0271023f
      Ng Zhi An authored
      In Vim, defaults keymap cannot be unmapped. They must be explicityly
      set to <NOP>. In this case we allow that because
      user defined maps are stored in the same map as the defaults.
      0271023f
  11. Mar 03, 2014
  12. Feb 27, 2014
  13. Feb 25, 2014
  14. Feb 20, 2014
  15. Feb 17, 2014
    • Travis Heppe's avatar
      [vim] More escaping fixes · 1976d036
      Travis Heppe authored
      1) Fix a bug whereby multiple '\'es in the replace part of a search and replace
      string were getting collapsed into a single one.
      2) Split flipEscaping into two specialized functions -- one for the regex part,
      and one for the replace part.
      1976d036
  16. Feb 14, 2014
  17. Feb 07, 2014
    • Travis Heppe's avatar
      [vim] Add flipEscaping · 712f28ce
      Travis Heppe authored
      ... so that '|' can be used as an OR in regular expressions or as a literal
      character, depending on whether it was escaped or not.
      
      1) fix the escaping of '(' and ')' in search expressions.
      2) get the correct placement of the '\' in characters that need to introduce escaping.
      3) change the capture unit test to expect that '(' and ')' should be escaped, as does real vim.
      712f28ce
    • Travis Heppe's avatar
      [vim] Make unescaping for strings a bit cleaner and more general. · 773b84ba
      Travis Heppe authored
      adds escaping for '|' to bridge a difference between javascript and
      vim regex flavors.
      
      take the escaping a little lower level so that it affects '/' searches
      as well, not just '%s/<regex>/<replacement>' searches.
      773b84ba
    • Yunchi Luo's avatar
      [vim] Add multi-line support to testEdit() · 53ae9a06
      Yunchi Luo authored
      53ae9a06
  18. Feb 06, 2014
    • Curtis Gagliardi's avatar
      [vim] Make text objects work with },), and ]. · 0c359691
      Curtis Gagliardi authored
      Previously commands like da<object> only worked with the opening side of the
      pair, so you could do da{ but not da}.
      
      I also removed some duplication of calls to selectCompanionObject (at the cost
      of switching from map lookup to an if-else chain).
      0c359691
  19. Jan 23, 2014
  20. Jan 20, 2014
    • Travis Heppe's avatar
      [vim keymap] Fix to moveTillCharacter · 087d37cb
      Travis Heppe authored
      Return null from moveTillCharacter if nothing is found, so that if a
      deletion operation is active but no match was found, nothing gets
      deleted. Add a unit test for moveTillCharacter.
      087d37cb
  21. Jan 16, 2014
  22. Dec 27, 2013
  23. Dec 26, 2013
  24. Nov 28, 2013
  25. Oct 17, 2013
  26. Oct 07, 2013
    • wenli's avatar
      [vim keymap] Fix yanking the last line. · b6ff3b98
      wenli authored
      When the last line in an editor has no newline char at the end, yanking it
      line-wise should append one. So the last char will not be dropped when
      pasting it.
      b6ff3b98
  27. Jul 25, 2013
  28. Jul 02, 2013
  29. Jun 21, 2013
Loading