aboutsummaryrefslogtreecommitdiff
path: root/runtime/syntax/vimnormal.vim
diff options
context:
space:
mode:
authorFelipe Morales <hel.sheep@gmail.com>2015-05-18 23:17:39 -0300
committerFelipe Morales <hel.sheep@gmail.com>2015-08-15 15:25:30 -0300
commit4fc1ab779dd23416af08f4124d5f72c2c0629e56 (patch)
tree0b15779fa560e3018b1ede7a7116c8e9e587d4ed /runtime/syntax/vimnormal.vim
parent27f0e74542d1dd078caff57e423b33f6ca219856 (diff)
downloadrneovim-4fc1ab779dd23416af08f4124d5f72c2c0629e56.tar.gz
rneovim-4fc1ab779dd23416af08f4124d5f72c2c0629e56.tar.bz2
rneovim-4fc1ab779dd23416af08f4124d5f72c2c0629e56.zip
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.
Diffstat (limited to 'runtime/syntax/vimnormal.vim')
-rw-r--r--runtime/syntax/vimnormal.vim16
1 files changed, 16 insertions, 0 deletions
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\@<![ia]/
+syn match normalObject /["'()<>BW\[\]`bstweE{}ftFT;,$]/
+syn match normalCount /[0-9]/
+syn region normalSearch start=/[/?]\@<=./ end=/.<CR>\@=/ contains=normalKey keepend
+syn region normalChange start=/\([cr][wWbBeE()\[\]{}pst]\)\@<=./ end=/.\@=/ contains=normalKey keepend
+syn match normalCharSearch /\c[ftr]\@<=\w/
+syn match normalMark /\(f\@<!m\)\@<=[a-zA-Z0-9]/
+syn match normalKey /<'\@!.\{-}>'\@!/
+
+hi! link normalOp Operator
+hi! link normalMod PreProc
+hi! link normalObject Structure
+hi! link normalCount Number
+hi! link normalMark Identifier
+hi! link normalKey Special