Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge pull request #8 from mislav/map-local

make remapping of `>` in insert mode local to buffer
  • Loading branch information...
commit e91d8228376ee257d1d69658db9ae64c0203ee25 2 parents b0dbf8e + e72ca6d
Tim Sharpe authored August 11, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  after/ftplugin/puppet.vim
2  after/ftplugin/puppet.vim
... ...
@@ -1,4 +1,4 @@
1  
-inoremap <silent> > ><Esc>:call <SID>puppetalign()<CR>A
  1
+inoremap <buffer> <silent> > ><Esc>:call <SID>puppetalign()<CR>A
2 2
 function! s:puppetalign()
3 3
     let p = '^\s*\w+\s*=>.*$'
4 4
     let lineContainsHashrocket = getline('.') =~# '^\s*\w+\s*=>'

0 notes on commit e91d822

Please sign in to comment.
Something went wrong with that request. Please try again.