pgn.vim : Provides syntax highlighting for .pgn (chess) files
| script karma |
Rating 43/22,
Downloaded by 1485 |
Comments, bugs, improvements
|
Vim wiki
|
| created by |
| Charles Ford |
| |
| script type |
| syntax |
| |
| description |
| PGN, or Portable Game Notation, is the standard format for recording chess games. All chess software that I've used can read .pgn files, most can write .pgn files. I like to edit the files in Vim, but I couldn't find a syntax file for .pgn. So I wrote this one. It's quite simple, and the first syntax file I've ever written for Vim, so it may not be complete. But it does make it easier to read / edit the games. |
| |
| install details |
Put the file in your $VIMRUNTIME/syntax/ directory.
Then in your $VIMRUNTIME/filetype.vim file, add this line:
au BufNewFile,BufRead *.pgn setf pgn |
| |
script versions (upload new version)
Click on the package to download.
ip used for rating: 216.73.216.14
|