KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I've added some simple inoremap commands to my .vimrc to help with parens and brackets completion, but I only want them to apply to php files. inoremap ( ()<Esc>i inoremap { {<CR>}<Esc>ko inoremap <? <?php ?><Esc><Left>i How to I set these commands to be active only when I'm editing a .php file?
Tags (comma-separated)
Save Edits
Cancel