I am trying to map f11 to a command inside vim with a line in .vimrc, for example:
map <F11> :exe '!ctags -R --python-kinds=-i -f ./tags ' . shellescape(system('python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()"'))<CR>
But if you press F11, it will simply increase the volume. Is it possible to reassign keys that are OS-wide in OSX?
I don't want to reuse the more commonly used key here, because tag regeneration takes some time.
source
share