mirror of https://github.com/nirenjan/dotfiles.git
				
				
				
			Fix { keymap in match-brackets.vim
The { mapping used to open a C-style block, however, it gave several
problems when dealing with Perl code and hashes. This converts it to
simply working as {}, like the ( -> () and [ -> [] mappings.
			
			
				vimbundler
			
			
		
							parent
							
								
									5c6495c981
								
							
						
					
					
						commit
						8eb278a3d0
					
				|  | @ -23,11 +23,9 @@ | ||||||
| """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | ||||||
| 
 | 
 | ||||||
| " Braces {} | " Braces {} | ||||||
| " Typing { in insert mode will automatically render as | " Typing { in insert mode will automatically insert a closing | ||||||
| " <whatever text came before>{ | " curly brace as well and place the curser on the closing brace | ||||||
| "     <cursor placed here> | imap { {}<ESC>i | ||||||
| " } |  | ||||||
| imap { {<CR>}<ESC>O<TAB> |  | ||||||
| 
 | 
 | ||||||
| " Parantheses () | " Parantheses () | ||||||
| " Typing ( in insert mode will automatically insert a closing | " Typing ( in insert mode will automatically insert a closing | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue