" NOTE: switched to localleader since this will be an ftplugin. :help maplocalleader " load my html shortcuts too because we'll probably use a lot of those :runtime ftplugin/html.vim " make sure there's no spaces after these, hmm? :imap ;; /%%%3xi :nmap ;; /%%%3xi " Automatic close char mapping imap {{ {}o imap [[ [] imap (( () " let's make php a tad easier, shall we? :imap php F?i :imap get $_GET['']2F'a :imap post $_POST['']2F'a :imap serv $_SERVER['']2F'a :imap for mzfor ( %%%; %%%; %%% ){%%%;}'z;; :imap fore mzforeach ( $%%% as $%%% => $%%% ){%%%;}'z;; :imap whil mzwhile ( %%% ){%%%;}'z;; :imap if mzif ( %%% ){%%%;}'z;; :imap swit mzswitch ( %%% ){case %%%;%%%;break;case %%%;%%%;break;default;%%%;break;}'z;;