File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,3 +11,19 @@ if (&t_Co == 256 || has('gui_running'))
1111 colorscheme desert
1212 endif
1313endif
14+
15+ " Disambiguate ,a & ,t from the Align plugin, making them fast again.
16+ "
17+ " This section is here to prevent AlignMaps from adding a bunch of mappings
18+ " that interfere with the very-common ,a and ,t mappings. This will get run
19+ " at every startup to remove the AlignMaps for the *next* vim startup.
20+ "
21+ " If you do want the AlignMaps mappings, remove this section, remove
22+ " ~/.vim/bundle/Align, and re-run rake in maximum-awesome.
23+ function! s:RemoveConflictingAlignMaps()
24+ if exists("g:loaded_AlignMapsPlugin")
25+ AlignMapsClean
26+ endif
27+ endfunction
28+ command! -nargs=0 RemoveConflictingAlignMaps call s:RemoveConflictingAlignMaps()
29+ silent! autocmd VimEnter * RemoveConflictingAlignMaps
You can’t perform that action at this time.
0 commit comments