This project adds DASM syntax higlight support to the vim editor.
(Upto date with dcpu v1.7)
Install from a Zipball
This is the quickest way to get things running.
Extract the archive into
unzip -od ~/.vim vim-dasm-HASH.zip
These steps are also used to update the plugin.
Install with Pathogen
Since this plugin has rolling versions based on git commits, using pathogen and
git is the preferred way to install. The plugin ends up contained in its own
directory and updates are just a
git pull away.
Install tpope's pathogen into
~/.vim/autoload/and add this line to your
To get the all the features of this plugin, make sure you also have a
filetype plugin indent online in there.
Create and change into
$ mkdir ~/.vim/bundle $ cd ~/.vim/bundle
Make a clone of the
$ git clone https://github.com/pksunkara/vim-dasm.git
$ cd ~/.vim/bundle/vim-dasm
Pull in the latest changes:
$ git pull
Tune Vim for DASM
Changing these core settings can make vim more DASM friendly.
To get standard two-space indentation in DASM files, add this line to
au BufNewFile,BufReadPost *.dasm,*.dasm16 setl shiftwidth=2 expandtab