Skip to content
Commits on Mar 7, 2012
  1. Merge branch 'refine-tests-for-default-rules'

    committed Mar 8, 2012
    * refine-tests-for-default-rules:
      Add a test set name to make failed message useful
      Refactor - Split tests for `` rules
      Refactor - Split tests for "" rules
      Refactor - Split tests for '' rules
      Refactor - Split tests for {} rules
      Refactor - Split tests for [] rules
      Refactor - Split tests for () rules
  2. Merge branch 'refine-rules-to-leave-the-current-block'

    committed Mar 7, 2012
    * refine-rules-to-leave-the-current-block:
      Refine rules to leave `` block
      Refine rules to leave "" block
      Refine rules to leave '' block
      Refine rules to leave {} block
      Refine rules to leave [] block
      Refine rules to leave () block
    
    Close gh-15.
  3. Refine rules to leave `` block

    committed Mar 7, 2012
  4. Refine rules to leave "" block

    committed Mar 7, 2012
  5. Refine rules to leave '' block

    committed Mar 7, 2012
  6. Refine rules to leave {} block

    committed Mar 7, 2012
  7. Refine rules to leave [] block

    committed Mar 7, 2012
  8. Refine rules to leave () block

    committed Mar 7, 2012
  9. Merge branch 'support-command-line-mode'

    committed Mar 7, 2012
    * support-command-line-mode:
      Update smartpunc#map_to_trigger for Command-line mode
      Add s:find_the_most_proper_rule_in_command_line_mode
      Check rule.mode to s:find_the_most_proper_rule_in_insert_mode
      Rename s:find_the_most_proper_rule_in_insert_mode
      Update smartpunc#map_trigger_keys for rule.mode
      Update smartpunc#map_to_trigger to take mode
      Update normalization and priority for rule.mode
      doc: Write specification for Command-line mode
      doc: Add tips for rule.at and the cursor position
    
    Close gh-26.
Commits on Mar 5, 2012
  1. Fix to invoke the initial setup properly

    committed Mar 6, 2012
    Close gh-25.
  2. Add smartpunc#map_trigger_keys

    committed Mar 5, 2012
    Close gh-28.
  3. Remove default rules on "<" and ">"

    committed Mar 5, 2012
    "<" and ">" are usually used as comparison operators, bit shift
    operators, etc.  It is relatively rare to use a pair of "<" and ">".
    Since most usage of Vim is to write source code, the default rules on
    "<" and ">" are not useful in many cases.  Therefore the rules have been
    removed.
  4. Remove default rules on operators

    committed Mar 5, 2012
    So many men, so many minds. The "expected" behavior of operator rules
    depends on users' tastes and 'filetype'. So that it's hard to define
    default rules on operators which are comfortable for most users.
    Therefore default rules on operators have been removed.
    
    Close gh-27.
Commits on Feb 29, 2012
Commits on Feb 24, 2012
  1. Optimize speed with s:insert_or_replace_a_rule

    committed Feb 24, 2012
    * Use binary search to replace/insert new rules.
    * Do not sort s:available_nrules explicitly,
      because s:available_nrules is always sorted before and after
      replacing/inserting.
    * Simplify whole code by removing stuffs for deferred sorting, etc
      which will never be used anymore.
Commits on Feb 23, 2012
  1. Use "hash" values to sort nrules

    committed Feb 24, 2012
Something went wrong with that request. Please try again.