Vim plugin-lookupfile

Source: Internet
Author: User

As a plugin that was voted "life changing" by the vast majority of users on http://www.vim.org/, it really changed our lives.  A brief introduction to what is Lookupfile: a vim plugin that not only makes it extremely efficient to find files, but also looks in open buffers, finds files by directory, and so on. Ready to download: (The following website needs FQ, will not be able to ask) Lookupfile plugin can be downloaded in the following link: http://www.vim.org/scripts/script.php?script_id=1581 after downloading the plugin, Unzip it into your ~/.vim directory and complete the installation.  Then execute the ": Helptags ~/.vim/doc" command in vim, generate the Help file index, and then you can use the ": Helps Lookupfile" command to view the Lookupfile plugin's helper file. The Lookupfile plugin also requires the latest genutils support, so you need to download genutils:http://www.vim.org/scripts/script.php?script_id=197 This plugin provides some common functions , which can be used by other scripts. Its installation method is also in the ~/.vim directory decompression can be. It is important to note that the latest version of Genutils uses a new automatic loading method, so it is incompatible with the previous version. If your other plugins need to use the old version of Genutils, you need to refer to the Genutils instructions to configure, so that the old and new two versions can work together OK, plug-in installation, the configuration: "" "" "" "" "" "" "" "" "" "" "" "" "" Lookupfile setting "" "" "" "" "" "" "" "" "" "" "" "" "" "Let G:lookupfile_minpatlength = 2" Enter a minimum of 2 characters before starting to look up to get G:looku Pfile_preservelastpattern = 0 "Do not save last found string let G:lookupfile_preservepatternhistory = 1" Save Find history let G:lookupfile_a       Lwaysacceptfirst = 1 "Enter to open the first matching item let G:lookupfile_allownewfiles = 0       "Do not allow creation of nonexistent files if Filereadable ("./filenametags ")" Set the name of the tag file let g:lookupfile_tagexpr = ' "./filenametags "' endif" mapping lookupfile for, Lknmap <silent> <leader>lk:LUTags<cr> "Mapping Lubufs to, Llnmap <silent> < Leader>ll:lubufs<cr> "Map luwalk for, Lwnmap <silent> <leader>lw:LUWalk<cr>

Vim plugin-lookupfile

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.