[[http://www.vim.org/ | VIM]] is a really powerful Unix Text Editor.
In my mind, it It is really adapted in order to edit the most suitable editor for cross developping CPC projects on UNIX. The aim of this page is to give some informations in order to be really get started and efficiently productive with this tool. <br>
= VIM usage =
= VIM configuration =(to be written later)
= VIM configuration =
== Z80 syntax highlight file ==
Here is my Z80 highlight file. I don't rembember where I found the original, but I adapted it to the [[SjasmPlus]] syntax and meta-instructions.
Put this file at ~/.vim/syntax/z80.vim
Here is my Z80 highlight file. I don't rembember where I found the original, but I adapted him in order to be adapted to the [[SJASMPlus]] syntax.
<pre>syn case ignore
" vim: ts=8
</pre> == Z80 files detection ==This file allows vim to detect *.z80 and *.src files when created or opened and automatically select the syntax file described in the above section.Put this file at ~/.vim/ftdetect/z80.vim <pre>au BufRead,BufNewFile *.z80 set filetype=z80au BufRead,BufNewFile *.src set filetype=z80</pre>
[[Category:CrossDev]]