vim/ctags/TagList/NERD_Tree Set UP

来源:互联网 发布:mustache golang 编辑:程序博客网 时间:2024/06/05 22:36
1).unzip the zip file NERD_Tree.zip/TagList.zip/ctags.tar.gz to local dir.
2).mkdir -v ~/.vim{plugin,doc}
   touch ~/.vimrc
3).mv or cp plugin/xxx.vim to target dir(~/.vim/plugin)
   mv or cp doc/xxx.txt to target dir(~/.vim/doc)
4).ctags set up may be failed if you are not root,but when you use "-prefix=/home/xxxx/" it can be installed ok.
5).configure items
  You can edit you .bash_profile,Also you can edit the .vimrc,here is  the file .vimrc content:
  1. "display line nu
  2. set nu
  3. "syntax highlight
  4. syntax on
  5. "indention based on file type
  6. filetype indent on
  7. set autoindent
  8. set cindent
  9. "ignore the camel when search
  10. set ic
  11. "highlight the text when search
  12. set hls
  13. "Wrap text instead of being on one line
  14. set lbr
  15. "reset default color scheme to peachpuff
  16. colorscheme peachpuff
  17. "set tab distance
  18. set tabstop=4
  19. set softtabstop=4
  20. "set auto indent width
  21. set shiftwidth=4

  22. "fonts setting
  23. set guifont=Courier_New:h11:cANSI

  24. "ctags
  25. let Tlist_Ctags_Cmd="/home/jasonf/work/App_bin/bin/ctags"

  26. "TagList
  27. let Tlist_Use_Right_Window=1
  28. let Tlist_Sort_Type="name"
  29. let Tlist_Exit_OnlyWindow=1
  30. let Tlist_File_Fold_Auto_Close=1
  31. let Tlist_Auto_Open=0
  32. let Tlist_Show_One_File=1
  33. "map TagList
  34. map <F2> :Tlist<CR>

  35. "NERDTree Plugin
  36. let NERDTreeWinPos="left"
  37. let NERDTreeWinSize=31 "size of the NERD tree

  38. "open and close the NERDTree.vim separately
  39. map <F3> <ESC>:NERDTreeToggle<RETURN>
the end capture:
阅读(366) | 评论(0) | 转发(0) |
0

上一篇:Get ipv6address prefix content (TO BE FIXED LATER)

下一篇:Trim the unwanted blank from strings.

相关热门文章
  • linux 常见服务端口
  • 【ROOTFS搭建】busybox的httpd...
  • xmanager 2.0 for linux配置
  • 什么是shell
  • linux socket的bug??
  • 我的博客被删了,请问怎么联系...
  • 一个访问量较大网站的服务器。...
  • 收音机驱动与v4l2架构的关系,...
  • 如何将linux驱动改为裸机驱动(...
  • Fedora 20开机卡在LOGO界面,...
给主人留下些什么吧!~~
原创粉丝点击