We can use the FileType
autocommand event to create a customized key mapping for a specific type of file. For example, Spaceb could call different build tools for a Java file compared to a C++ file.
I wonder is there any way to create a customized key mapping for a specific file?