Update website info on Vim syntax file #4

This commit is contained in:
Thomas Jensen
2020-01-06 14:38:29 +01:00
parent fd2ed97838
commit 3fe43ad0ef
2 changed files with 14 additions and 5 deletions

View File

@@ -13,9 +13,10 @@ Although *boxes* can be useful when used on the command line, the more frequent
your editor. So, how can *boxes* be tied to your editor?
Example config file entries are featured so far for [Vim](https://www.vim.org/), [Jed](https://www.jedsoft.org/jed/),
[Emacs](https://www.gnu.org/software/emacs/), and [Sublime Text](https://www.sublimetext.com/). If you know how to to
this in other editors, please feel free to add that information to this page via GitHub or just let me know in the
GitHub issues.
[Emacs](https://www.gnu.org/software/emacs/), [Sublime Text](https://www.sublimetext.com/), and
[NotePad++](https://notepad-plus-plus.org/). If you know how to to this in other editors, please feel free to add that
information to this page via GitHub or just let me know in the GitHub issues.
## Integration with Vim
@@ -69,6 +70,14 @@ the start).
autocmd BufEnter .vimrc*,.exrc nmap ,xc !!boxes -d vim-cmt -r<CR>
autocmd BufEnter .vimrc*,.exrc vmap ,xc !boxes -d vim-cmt -r<CR>
**Syntax Highlighting in Vim**
There is a [Vim syntax file](https://raw.githubusercontent.com/{{ site.github }}/master/boxes.vim) for *boxes*
configuration files, which you can install to have the *boxes* config colorized. On Windows, the file must be placed
in the directory *VIM_INSTALL_DIR\vimfiles\syntax*.
Activate by `set syn=boxes`.
<a name="jed">&nbsp;</a>
## Integration with Jed

View File

@@ -39,8 +39,8 @@ The current release is **version {{ site.currentVersion }}**. For older revision
[pull request](https://github.com/{{ site.github }}/pulls){:target="_blank"} on GitHub.
If this seems too complicated, or you are not an IT person, feel free to send email, too.
Emails take much longer to be processed, though.
- A [vim syntax file](https://github.com/{{ site.github }}/issues/4){:target="_blank"} to enable the vim editor to
apply syntax highlighting to *boxes* config files (beta state).
- A [Vim syntax file](https://raw.githubusercontent.com/{{ site.github }}/master/boxes.vim){:target="_blank"} to
enable the Vim editor to apply syntax highlighting to *boxes* config files (beta state).
## Sources