Sha256: d4f5cb4f4adef29a31924c3a9d43e570501803c50188998b88086964ae0ee1a7

Contents?: true

Size: 658 Bytes

Versions: 1

Compression:

Stored size: 658 Bytes

Contents

set nonumber
set hidden
noremap <PageUp> :bp<CR>
noremap <Left> :bp<CR>
<% if @options[:mouse_enabled] %>
noremap <RightMouse> :bp<CR>
<% end %>
noremap <PageDown> :bn<CR>
noremap <Right> :bn<CR>
<% if @options[:mouse_enabled] %>
noremap <LeftMouse> :bn<CR>
<% end %>
noremap Q :q<CR>

<% if @options[:mouse_enabled] %>
set mouse=a
<% end %>

<% @buffers.each do |buffer| %>
b <%= buffer[:num] %>
<% if buffer[:code] %>
<% buffer[:code].each do |code| %>
<%= code[:start] %>,<%= code[:end] %>SyntaxInclude <%= code[:language] %>
<% end %>
<% end %>
<% buffer[:comments].each do |comment| %>
call matchadd("Comment", "<%= comment %>")
<% end %>
<% end %>
b 1

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vimdeck-0.2.3 lib/templates/script.vim.erb