From 4fc1ab779dd23416af08f4124d5f72c2c0629e56 Mon Sep 17 00:00:00 2001 From: Felipe Morales Date: Mon, 18 May 2015 23:17:39 -0300 Subject: runtime: Include vim-tutor-mode vim-tutor-mode provides a mechanism to write and read interactive tutorials in vim. It's aim is to replace the venerable vimtutor with a more modern system. The plugin's development is maintained at https://github.com/fmoralesc /vim-tutor-mode Closes #2351. --- runtime/syntax/vimnormal.vim | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 runtime/syntax/vimnormal.vim (limited to 'runtime/syntax/vimnormal.vim') diff --git a/runtime/syntax/vimnormal.vim b/runtime/syntax/vimnormal.vim new file mode 100644 index 0000000000..df672c5236 --- /dev/null +++ b/runtime/syntax/vimnormal.vim @@ -0,0 +1,16 @@ +syn match normalOp /[dcrypoaxv!"#%&.-\/:<>=?@ABCDGHIJKLMNOPQRSUVWXYZgmqstz~iu]/ nextgroup=normalMod +syn match normalMod /m\@BW\[\]`bstweE{}ftFT;,$]/ +syn match normalCount /[0-9]/ +syn region normalSearch start=/[/?]\@<=./ end=/.\@=/ contains=normalKey keepend +syn region normalChange start=/\([cr][wWbBeE()\[\]{}pst]\)\@<=./ end=/.\@=/ contains=normalKey keepend +syn match normalCharSearch /\c[ftr]\@<=\w/ +syn match normalMark /\(f\@'\@!/ + +hi! link normalOp Operator +hi! link normalMod PreProc +hi! link normalObject Structure +hi! link normalCount Number +hi! link normalMark Identifier +hi! link normalKey Special -- cgit