This is the seventh post in the article series "Vim Plugins You Should Know About". This time I am going to introduce you to a plugin called "ragtag.Vim". A month ago it was still known as "allml.Vim" but now it has been renamed to ragtag.Vim.
The best parts of RagTag are mappings for editing HTML tags. It has a mapping for quickly closing open HTML tags, a mapping for quickly turning the typed word into a pair of open/close HTML tags, several mappings for inserting HTML doctype, linking to CSS stylesheets, loading JavaScript and it includes mappings for wrapping the typed text in a pair of tags for PHP, or for ASP or eRuby, and {% .. %} for Django.
RagTag is written by Tim Pope. He's the master of Vim plugin programming. I have already written about two of his plugins - surround.Vim and repeat.Vim and more articles about his plugins are coming!
In a nutshell, Vimacs is Vim emulating Emacs. You get modeless editing inside moded editing. Just crazy enough to be brilliant. Now you don't have to choose.
and it includes mappings for wrapping the typed text in a pair of \ tags for PHP, or \<% ... %\> for ASP or eRuby, and {% .. %} for Django.\\n\\nRagTag is written by Tim Pope. He\'s the master of Vim plugin programming. I have already written about two of his plugins - surround.vim and repeat.vim and more articles about his plugins are coming!', 'tags':'plugins,vim,linux',
'first_user_id':23125, 'first_user_name':'anonymous', 'first_user_real_name':'anonymous', 'last_user_id':23125, 'last_user_name':'anonymous', 'last_user_real_name':'anonymous',
'user_count':1, 'p_c_count':1, 'ann_count':0, 'i_c_count':0, 'page_comments':[],'annotations':[]}
var p_c = {'id':913348, 'group_id':24, 'link_id':28791304, 'g_l_id':'24-28791304', 'user_id':23125, 'user_name':'anonymous', 'user_real_name':'anonymous', 'content':'This is the seventh post in the article series \"Vim Plugins You Should Know About\". This time I am going to introduce you to a plugin called \"ragtag.vim\". A month ago it was still known as \"allml.vim\" but now it has been renamed to ragtag.vim.\\n\\nThe best parts of RagTag are mappings for editing HTML tags. It has a mapping for quickly closing open HTML tags, a mapping for quickly turning the typed word into a pair of open/close HTML tags, several mappings for inserting HTML doctype, linking to CSS stylesheets, loading JavaScript \<script src=\"...\"\>...\</script\> and it includes mappings for wrapping the typed text in a pair of \<?php ... ?\> tags for PHP, or \<% ... %\> for ASP or eRuby, and {% .. %} for Django.\\n\\nRagTag is written by Tim Pope. He\'s the master of Vim plugin programming. I have already written about two of his plugins - surround.vim and repeat.vim and more articles about his plugins are coming!'}
b.page_comments.push(p_c)
_items.push(b);
var b = {'item_id':8152350, 'obj_type':1, 'obj_id':149023924, 'index':1, 'checked':false,
'group_id':24, 'g_name':'linux', 'link_id':149023924, 'g_l_id':'24-149023924', 'url':'https://github.com/rodjek/vim-puppet', 'title':'rodjek/vim-puppet · GitHub', 'desc':'Module that adds highlights and syntax checking for puppet policy files to ViM.', 'tags':'hacking,hacks,vim,linux,opensource,puppet,github,git',
'first_user_id':1615210, 'first_user_name':'frozenfoxx', 'first_user_real_name':'Foxx Inabox', 'last_user_id':1615210, 'last_user_name':'frozenfoxx', 'last_user_real_name':'Foxx Inabox',
'user_count':1, 'p_c_count':1, 'ann_count':0, 'i_c_count':0, 'page_comments':[],'annotations':[]}
var p_c = {'id':3170154, 'group_id':24, 'link_id':149023924, 'g_l_id':'24-149023924', 'user_id':1615210, 'user_name':'frozenfoxx', 'user_real_name':'Foxx Inabox', 'content':'Module that adds highlights and syntax checking for puppet policy files to ViM.'}
b.page_comments.push(p_c)
_items.push(b);
var b = {'item_id':3363413, 'obj_type':1, 'obj_id':85098969, 'index':2, 'checked':false,
'group_id':24, 'g_name':'linux', 'link_id':85098969, 'g_l_id':'24-85098969', 'url':'http://yannesposito.com/Scratch/en/blog/Learn-Vim-Progressively', 'title':'Learn Vim Progressively', 'desc':'good vim tutorial\\n', 'tags':'vim,tutorial,howto,programming,vi,editor',
'first_user_id':821414, 'first_user_name':'dejhanx', 'first_user_real_name':'DJ XC', 'last_user_id':821414, 'last_user_name':'dejhanx', 'last_user_real_name':'DJ XC',
'user_count':1, 'p_c_count':1, 'ann_count':0, 'i_c_count':0, 'page_comments':[],'annotations':[]}
var p_c = {'id':1758192, 'group_id':24, 'link_id':85098969, 'g_l_id':'24-85098969', 'user_id':821414, 'user_name':'dejhanx', 'user_real_name':'DJ XC', 'content':'good vim tutorial\\n'}
b.page_comments.push(p_c)
_items.push(b);
var b = {'item_id':593747, 'obj_type':1, 'obj_id':19924110, 'index':3, 'checked':false,
'group_id':24, 'g_name':'linux', 'link_id':19924110, 'g_l_id':'24-19924110', 'url':'http://www.ibm.com/developerworks/ru/library/l-vim-script-1/index.html', 'title':'Создание сценариев для редактора Vim: Часть 1. Переменные, значения и выражения', 'desc':'', 'tags':'vim',
'first_user_id':60433, 'first_user_name':'anonymous', 'first_user_real_name':'anonymous', 'last_user_id':60433, 'last_user_name':'anonymous', 'last_user_real_name':'anonymous',
'user_count':1, 'p_c_count':0, 'ann_count':0, 'i_c_count':0, 'page_comments':[],'annotations':[]}
_items.push(b);
var b = {'item_id':13641711, 'obj_type':1, 'obj_id':225756927, 'index':4, 'checked':false,
'group_id':24, 'g_name':'linux', 'link_id':225756927, 'g_l_id':'24-225756927', 'url':'http://benfrain.com/learning-vim-front-end-coding-month/', 'title':'Learning Vim for front-end coding: a month in - Author and responsive web developer Ben Frain', 'desc':'', 'tags':'Vim,vi,code,editor,jump,incsearch,shortcut,Linux,Ingo,benfrain,span,thomashunter,front-end',
'first_user_id':6094278, 'first_user_name':'vas_kut', 'first_user_real_name':'vas_kut', 'last_user_id':6094278, 'last_user_name':'vas_kut', 'last_user_real_name':'vas_kut',
'user_count':1, 'p_c_count':0, 'ann_count':0, 'i_c_count':0, 'page_comments':[],'annotations':[]}
_items.push(b);
var b = {'item_id':8933412, 'obj_type':1, 'obj_id':158186041, 'index':5, 'checked':false,
'group_id':24, 'g_name':'linux', 'link_id':158186041, 'g_l_id':'24-158186041', 'url':'http://habrahabr.ru/post/173473/', 'title':'Настройка Vim для работы с Python и Django / Хабрахабр', 'desc':'', 'tags':'vim,python,django',
'first_user_id':1635038, 'first_user_name':'fat_sorcerer', 'first_user_real_name':'Aleksei Serenkov', 'last_user_id':1635038, 'last_user_name':'fat_sorcerer', 'last_user_real_name':'Aleksei Serenkov',
'user_count':1, 'p_c_count':0, 'ann_count':0, 'i_c_count':0, 'page_comments':[],'annotations':[]}
_items.push(b);
var b = {'item_id':593708, 'obj_type':1, 'obj_id':17835011, 'index':6, 'checked':false,
'group_id':24, 'g_name':'linux', 'link_id':17835011, 'g_l_id':'24-17835011', 'url':'http://neton.org.ua/?p=557', 'title':'Vim как средство перевода', 'desc':'Для превращения оно в полноценный лингвистический комбайн нам понадобиться установка консольного клиент StarDict и настройка необходимых словарей.', 'tags':'vim',
'first_user_id':404354, 'first_user_name':'bravostart', 'first_user_real_name':'bravo start', 'last_user_id':404354, 'last_user_name':'bravostart', 'last_user_real_name':'bravo start',
'user_count':1, 'p_c_count':1, 'ann_count':0, 'i_c_count':0, 'page_comments':[],'annotations':[]}
var p_c = {'id':169924, 'group_id':24, 'link_id':17835011, 'g_l_id':'24-17835011', 'user_id':404354, 'user_name':'bravostart', 'user_real_name':'bravo start', 'content':'Для превращения оно в полноценный лингвистический комбайн нам понадобиться установка консольного клиент StarDict и настройка необходимых словарей.'}
b.page_comments.push(p_c)
_items.push(b);
var b = {'item_id':593726, 'obj_type':1, 'obj_id':18777417, 'index':7, 'checked':false,
'group_id':24, 'g_name':'linux', 'link_id':18777417, 'g_l_id':'24-18777417', 'url':'http://www.algorithm.com.au/code/vimacs/about', 'title':'About Vimacs - About', 'desc':'In a nutshell, Vimacs is Vim emulating Emacs. You get modeless editing inside moded editing. Just crazy enough to be brilliant. Now you don\'t have to choose.', 'tags':'Linux,Editors,Software',
'first_user_id':437127, 'first_user_name':'maluvia', 'first_user_real_name':'Maluvia Haseltine', 'last_user_id':437127, 'last_user_name':'maluvia', 'last_user_real_name':'Maluvia Haseltine',
'user_count':1, 'p_c_count':1, 'ann_count':0, 'i_c_count':0, 'page_comments':[],'annotations':[]}
var p_c = {'id':169939, 'group_id':24, 'link_id':18777417, 'g_l_id':'24-18777417', 'user_id':437127, 'user_name':'maluvia', 'user_real_name':'Maluvia Haseltine', 'content':'In a nutshell, Vimacs is Vim emulating Emacs. You get modeless editing inside moded editing. Just crazy enough to be brilliant. Now you don\'t have to choose.'}
b.page_comments.push(p_c)
_items.push(b);
var b = {'item_id':9532649, 'obj_type':1, 'obj_id':28294736, 'index':8, 'checked':false,
'group_id':24, 'g_name':'linux', 'link_id':28294736, 'g_l_id':'24-28294736', 'url':'http://vifm.sourceforge.net/docs.html', 'title':'Vifm - Documentation', 'desc':'', 'tags':'linux,software,vim,vifm',
'first_user_id':1635038, 'first_user_name':'fat_sorcerer', 'first_user_real_name':'Aleksei Serenkov', 'last_user_id':1635038, 'last_user_name':'fat_sorcerer', 'last_user_real_name':'Aleksei Serenkov',
'user_count':1, 'p_c_count':0, 'ann_count':0, 'i_c_count':0, 'page_comments':[],'annotations':[]}
_items.push(b);
var b = {'item_id':3918, 'obj_type':1, 'obj_id':6914304, 'index':9, 'checked':false,
'group_id':24, 'g_name':'linux', 'link_id':6914304, 'g_l_id':'24-6914304', 'url':'http://www.linux-mag.com/id/6045', 'title':'Sweeten your Vim with Cream | Linux Magazine', 'desc':'', 'tags':'cream,linux,software,vi',
'first_user_id':133931, 'first_user_name':'mcastel', 'first_user_real_name':'Marco Castellani', 'last_user_id':133931, 'last_user_name':'mcastel', 'last_user_real_name':'Marco Castellani',
'user_count':1, 'p_c_count':0, 'ann_count':0, 'i_c_count':0, 'page_comments':[],'annotations':[]}
_items.push(b);
var b = {'item_id':3934, 'obj_type':1, 'obj_id':7406625, 'index':10, 'checked':false,
'group_id':24, 'g_name':'linux', 'link_id':7406625, 'g_l_id':'24-7406625', 'url':'http://linuxgazette.net/152/srinivasan.html', 'title':'A slightly advanced Introduction to Vim LG #152', 'desc':'', 'tags':'linux,unix,tutorial,reference,software,tools',
'first_user_id':237108, 'first_user_name':'kezzawd', 'first_user_real_name':'Simon Keslake', 'last_user_id':237108, 'last_user_name':'kezzawd', 'last_user_real_name':'Simon Keslake',
'user_count':1, 'p_c_count':0, 'ann_count':0, 'i_c_count':0, 'page_comments':[],'annotations':[]}
_items.push(b);
var b = {'item_id':4089, 'obj_type':1, 'obj_id':12131511, 'index':11, 'checked':false,
'group_id':24, 'g_name':'linux', 'link_id':12131511, 'g_l_id':'24-12131511', 'url':'http://www.gracecode.com/Archive/Display/2902', 'title':'jsLint for Vim - Gracecode.com', 'desc':'', 'tags':'vi,linux,javascript',
'first_user_id':323128, 'first_user_name':'ycf_name', 'first_user_real_name':'YCF name', 'last_user_id':323128, 'last_user_name':'ycf_name', 'last_user_real_name':'YCF name',
'user_count':1, 'p_c_count':0, 'ann_count':0, 'i_c_count':0, 'page_comments':[],'annotations':[]}
_items.push(b);
window.addOnLoadListener(function(){new ContextMenu("leftColumn",{eventType:"click",backgroundColor:'#E0EDFE',color:'#000'})});
window.addOnLoadListener(function(){new AvatarPopup()});