Set up my vim

Source: Internet
Author: User

1) CP/usr/share/Vim/vim70/vimrc_example.vim. vimrc

2) mkdir. Vim

Mkdir. Vim/doc

Mkdir. Vim/plugin

3) minibuf

Curl-o "/home/tomorrow. Chen/. Vim/plugin/minibufexpl. Vim" http://vim.sourceforge.net/scripts/download_script.php? Src_id = 1, 3640

4) bufexplorer curl-o "/home/tomorrow. Curl-o"/home/tomorrow. Chen/. Vim/bufjavaser.zip "http://www.vim.org/scripts/download_script.php? Src_id = 12904 modify. vimrc "bufexplorer """"""" "Let G: bufexplorerdefaulthelp = 0 "do not show default help. let G: bufexplorershowrelativepath = 1 "show relative paths. let G: bufpolicersortby = 'mru' "sort by most recently used. let G: bufexplorersplitright = 0 "Split left. let G: bufpolicersplitvertical = 1 "split vertically. let G: bufexplorersplitvertsize = 30 "split widthlet G: bufw.erusecur1_window = 1" open in new window. autocmd bufwinenter/[Buf/LIST/] SETl nonumber5) taglistcurl-o "/home/tomorrow. chen /. vim/taglist_45.zip "http://www.vim.org/scripts/download_script.php? Src_id = 7701 modify vimrc
Let tlist_show_one_file = 1 "the tag of multiple files is not displayed at the same time, only
Let tlist_exit_onlywindow = 1 "if the taglist window is the last window, exit Vim
Let tlist_use_right_window = 1 "display the taglist window on the right

6) genftag
#! /Bin/sh
# Generate Tag file for lookupfile plugin
Echo-e "! _ Tag_file_sorted/T2/T/2 = foldcase/"> filenametags
Find. -Not-RegEx '. */. /(PNG/| GIF/| o/| D/) '-type F-printf "% F/T % P/T1/N" |/
Sort-F> filenametags

7) gencscopes
Find. -Name "*. H "-o-name "*. C "-o-name "*. CPP "-o-name "*. cc "-o-name "*. mak "-o-name "*. MK "> cscope. filescscopefiles

8)
Http://easwy.com/blog/archives/advanced-vim-skills-cscope/
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.