Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • M maximum-awesome
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 26
    • Issues 26
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 9
    • Merge requests 9
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Square
  • maximum-awesome
  • Merge requests
  • !107

Fix the slowness experienced with ,a & ,t.

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Brian Donovan requested to merge fix-leader-a-t into master Oct 10, 2013
  • Overview 3
  • Commits 1
  • Pipelines 0
  • Changes 1

@matthewtodd @rudle @strongriley

tl;dr: this speeds up ,a and ,t by removing conflicting mappings.

The Align plugin comes with AlignMaps which adds a bunch of mappings for special kinds of alignments. I never use these and I don't know if anyone else does. This wouldn't be a problem except that many of them begin with ,a or ,t, which forces vim to wait to make sure you really meant ,a and ,t when you type them before running the associated command. This makes those commands appear to be slow. My solution is to run AlignMapsClean if the plugin has been loaded when vim starts up. This has the effect of removing the AlignMaps plugin from the Align plugin so that the next time you start vim the commands will be fast. First-time users would see slowness with ,a and ,t the first time they launch vim using maximum-awesome.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: fix-leader-a-t