Commits

Ches Martin  committed f4c9745

vim: unneeded autocommand group

  • Participants
  • Parent commits 27abc43

Comments (0)

Files changed (1)

 " http://stackoverflow.com/questions/3519532/mapping-function-keys-in-vim
 " http://stackoverflow.com/questions/9950944/binding-special-keys-as-vim-shortcuts
 if has('mac') && ($TERM == 'xterm-256color' || $TERM == 'screen-256color')
-  if has('autocmd')
-    augroup TermYakShaving
-      autocmd!
-      map <Esc>OP <F1>
-      map <Esc>OQ <F2>
-      map <Esc>OR <F3>
-      map <Esc>OS <F4>
-      map <Esc>[16~ <F5>
-      map <Esc>[17~ <F6>
-      map <Esc>[18~ <F7>
-      map <Esc>[19~ <F8>
-      map <Esc>[20~ <F9>
-      map <Esc>[21~ <F10>
-      map <Esc>[23~ <F11>
-      map <Esc>[24~ <F12>
-    augroup END
-  endif
+  map <Esc>OP <F1>
+  map <Esc>OQ <F2>
+  map <Esc>OR <F3>
+  map <Esc>OS <F4>
+  map <Esc>[16~ <F5>
+  map <Esc>[17~ <F6>
+  map <Esc>[18~ <F7>
+  map <Esc>[19~ <F8>
+  map <Esc>[20~ <F9>
+  map <Esc>[21~ <F10>
+  map <Esc>[23~ <F11>
+  map <Esc>[24~ <F12>
 endif
 "}}}