asm
vimのファイルタイププラグイン(実は)を作りたいです。インターネットでしばらく検索したところ、 〜/ .vim/ftpluginフォルダーにasm.vimを追加する必要があることがわかりました 。そこで、その新しいファイルasm.vimをそのフォルダーに追加し、次のコードを記述しました。
map <F7> oTest<CR><Esc>
a very simple vim script, only output the Test
string in the next line. but i failed, when i opened an xxx.asm file and pressed <F7>
button, nothing happened. Anything wrong with the code? any help appreciated!