" vimslides -- presenation helper inside Vim " Copyright (C) 2015-2016 Sergey Matveev " " This program is free software: you can redistribute it and/or modify " it under the terms of the GNU General Public License as published by " the Free Software Foundation, either version 3 of the License, or " any later version. " " This program is distributed in the hope that it will be useful, " but WITHOUT ANY WARRANTY; without even the implied warranty of " MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the " GNU General Public License for more details. " " You should have received a copy of the GNU General Public License " along with this program. If not, see . syntax on set encoding=utf-8 set nocompatible setlocal nocursorline setlocal colorcolumn=0 setlocal norelativenumber setlocal laststatus=0 setlocal scrolloff=2 setlocal conceallevel=2 setlocal shiftwidth=4 setlocal foldmethod=indent setlocal foldnestmax=5 setlocal foldenable setlocal foldcolumn=0 setlocal foldlevel=0 highlight clear ExtraWhitespace syntax region pEmph matchgroup=Ignore start="|\S"rs=s+1 end="\S|"re=e-1 concealends syntax region pBold matchgroup=Ignore start=":\S"rs=s+1 end="\S:"re=e-1 concealends syntax region pUndr matchgroup=Ignore start="\s<\S"rs=s+2 end="\S>"re=e-1 concealends syntax match pItem "^ *\*" syntax match pLine "^-\+$" highlight link pEmph Statement highlight link pBold Special highlight link pItem String highlight link pLine PreProc highlight link pUndr Type nmap ] zMzjzOz0 nmap [ zMzkzO[zz0 normal zMggzO nmap i /IMG:/e+2y$:silent execute "!display " . @":nohlsearch