Built-in lists in vim
<a class="zem_slink freebase/en/vimscript" title="Vimscript" rel="wikipedia" href="http://en.wikipedia.org/wiki/Vimscript">Vimscript provides excellent support for operating on collections of <a class="zem_slink freebase/en/data" title="Data" rel="wikipedia" href="http://en.wikipedia.org/wiki/Data">data, a cornerstone of programming. In this third article in the series, learn how to use Vimscript’s built-in lists to ease everyday operations such as reformatting lists, filtering sequences of filenames, and sorting sets of line numbers. You’ll also walk through examples that demonstrate the power of lists to extend and enhance two common uses of <a class="zem_slink freebase/en/vim" title="Vim (text editor)" rel="homepage" href="http://www.vim.org/">Vim: creating a <a class="zem_slink freebase/en/user_defined_function" title="User-defined function" rel="wikipedia" href="http://en.wikipedia.org/wiki/User-defined_function">user-defined function to align assignment operators, and improving the built-in text completions mechanism.
<a class="zem_slink freebase/en/uniform_resource_locator" title="Uniform Resource Locator" rel="wikipedia" href="http://en.wikipedia.org/wiki/Uniform_Resource_Locator">URL: <a href="http://www.ibm.com/developerworks/linux/library/l-vim-script-3/index.html?ca=drs-">http://www.ibm.com/developerworks/linux/library/l-vim-script-3/index.html?ca=drs-<h6 class="zemanta-related-title">Related articles by Zemanta <ul class="zemanta-article-ul"> <li class="zemanta-article-ul-li"><a href="http://blog.amit-agarwal.co.in/2010/02/02/bash-script-to-change-the-vim-colorscheme-from-the-list-of-locally-available-schemes/">bash script to change the vim colorscheme from the list of locally available schemes (amit-agarwal.co.in) <li class="zemanta-article-ul-li"><a href="http://ask.slashdot.org/story/09/12/30/1911204/IDEs-With-VIM-Text-Editing-Capability?from=rss">IDEs With VIM Text Editing Capability? (ask.slashdot.org) <li class="zemanta-article-ul-li"><a href="http://fedoratux.blogspot.com/2010/01/writting-posts-using-markdown.html">Writting posts using Markdown lightweight markup language (fedoratux.blogspot.com) <li class="zemanta-article-ul-li"><a href="http://spf13.com/feature/vim-plugins-snipmate">Vim Plugins: snipMate (spf13.com) <li class="zemanta-article-ul-li"><a href="http://www.slumpedoverkeyboarddead.com/2009/08/06/vim-video-tutorial/">VIM video tutorial (slumpedoverkeyboarddead.com) <div class="zemanta-pixie"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/7b2412cc-b36c-443b-9959-6b50306f0d6f/"><img class="zemanta-pixie-img" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/reblog_b58.png" alt="Reblog this post [with Zemanta]" /><span class="zem-script more-related more-info pretty-attribution paragraph-reblog">
Related Articles:
- 2009/11/19 Multiple search in vim
- 2009/12/22 7 Examples for Sed Hold and Pattern Buffer Operations
- 2009/12/20 Know when you will type :q in your term instead of vi(m), the alias will chewed you out.
- 2009/10/26 Vi/VIM and Unix/Linux cheatsheets.
- 2010/01/28 Understand Awk Variables with 3 Practical Examples