Is it possible to set hotkey for specific file types in vim.
For example, if I am editing a .java file, I'd like vim to run javac .java when I press 5.
Is this possible?
hotkeyshtmlkeymapvim
Is it possible to set hotkey for specific file types in vim.
For example, if I am editing a .java file, I'd like vim to run javac .java when I press 5.
Is this possible?
Best Answer
~/.vimrc
More info about key mapping and external commands.