2f93a524001b

vim: make sparkup less dumb
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Mon, 19 Jul 2010 22:00:25 -0400
parents 5f97670ae79b
children c18c81c8b262
branches/tags (none)
files vim/bundle/sparkup/ftplugin/html/sparkup.vim

Changes

--- a/vim/bundle/sparkup/ftplugin/html/sparkup.vim	Mon Jul 19 21:59:09 2010 -0400
+++ b/vim/bundle/sparkup/ftplugin/html/sparkup.vim	Mon Jul 19 22:00:25 2010 -0400
@@ -26,10 +26,10 @@
   let g:sparkupNextMapping = '<c-n>'
 endif
 
-exec 'nmap <buffer> ' . g:sparkupExecuteMapping . ' :call <SID>Sparkup()<cr>'
-exec 'imap <buffer> ' . g:sparkupExecuteMapping . ' <c-g>u<Esc>:call <SID>Sparkup()<cr>'
-exec 'nmap <buffer> ' . g:sparkupNextMapping . ' :call <SID>SparkupNext()<cr>'
-exec 'imap <buffer> ' . g:sparkupNextMapping . ' <c-g>u<Esc>:call <SID>SparkupNext()<cr>'
+exec 'nnoremap <buffer> ' . g:sparkupExecuteMapping . ' :call <SID>Sparkup()<cr>'
+exec 'inoremap <buffer> ' . g:sparkupExecuteMapping . ' <c-g>u<Esc>:call <SID>Sparkup()<cr>'
+exec 'nnoremap <buffer> ' . g:sparkupNextMapping . ' :call <SID>SparkupNext()<cr>'
+exec 'inoremap <buffer> ' . g:sparkupNextMapping . ' <c-g>u<Esc>:call <SID>SparkupNext()<cr>'
 
 if exists('*s:Sparkup')
     finish