1. 程式人生 > >VIM外掛大全,另外附VIM IDE 一鍵安裝包

VIM外掛大全,另外附VIM IDE 一鍵安裝包

之前發現沒圖片,常言道,沒圖說個JB,發一下: 



這個是在xshell的效果,YY一下,在github上放置了vimide所需的一鍵安裝的外掛和一鍵安裝包,移除了導致卡死的vjde,在ubuntu,fedora,miint上測試通過,需要安裝vim-scripts 軟體包才能使上邊的檔案欄顯示。

F6 F7開啟關閉兩邊欄目,滑鼠預設開啟,需要複製,請按住shift選擇。

話說在剛學linux的時候測試了很多人的配置方法,只能說痛苦,後來乾脆自己來了買,多年實踐結果。呵呵。

使用vim開發軟體是每一個linux工作人員的夢想,這裡轉載了常用的vim外掛,

另外我也把的的vim ide的配置檔案共享一下了,放在github上了,使用其中install指令碼可以安裝到當前使用者的根目錄,F6,F7啟動兩邊的檔案瀏覽和程式碼塊分析,ctrl+w+方向,切換視窗

附截圖一張吧:


對瀏覽程式碼非常的方便, 可以在函式, 變數之間跳轉,寫程式必備 #============================================================================= 高效地瀏覽原始碼, 其功能就像vc中的workpace, 那裡面列出了當前檔案中的所有巨集,全域性變數, 函式名等. #============================================================================= 緩衝區瀏覽 #=============================================================================
管理各個視窗, 或者說整合各個視窗.[more] #============================================================================= 用Cscope自己的話說 – “你可以把它當做是超過頻的ctags”, 其功能和強大程度可見 一斑吧, 關於它的介紹我就不詳細說了, 如果你安裝好了前文介紹的幫助手冊. #============================================================================= C/C++-IDE for Vim/gVim. 簡單的說, 就是如果安裝配置好後, vim/gvim就是一個 c/c++程式設計的一個IDE, 其功能堪比
windows
裡常用的vc. #============================================================================= 實現像vc那樣的程式碼自動補全功能, 比如 this-> 後, 將出現一個 提示框, 其中包含了this指標所有可以接收的函式或資料成員等. #============================================================================= 在 .h 和 .c/.cpp 檔案中切換. (英文原句 “A few of quick commands to swtich between source files and header files quickly.”) #============================================================================= 高亮書籤. #============================================================================= 這個外掛與vim中自帶的’*’與’#’非常相像. 不同之處是: vim中的’*’與’#’命令只能同時高亮一個同類片語(或正則表示式的搜尋結果), 而Mark.vim外掛可以同時高亮多個. #============================================================================= 函式引數提示. #============================================================================= Using this script, typing “(“ will result in (|), where | is the cursor position and the double backticks are just marking input. Typing a “)“ will move the cursor outside the parens. This moving outside works even in nested scenarios. Typing “if(my_array['key`` results in if(my_array['key|']) and “)“ gets you if(my_array['key'])|. The paired characters are: [, (, {, “, ‘;   // “ If you like this script, you should also check out surround.vim #============================================================================= 更方便地使用gdb除錯 #============================================================================= 組織管理工程, 方便於瀏覽, 開啟, 查詢檔案等. #============================================================================= 目錄樹, 同時還可以對檔案進行開啟操作等. #============================================================================= 原始碼文件註釋. #============================================================================= 方便生成程式碼文件 #============================================================================= 加強c/c++類名, 函式等高亮 #============================================================================= 進行java類, 包, 方法等補全. #============================================================================= 生成tags和 cscope #============================================================================= 21. txtbrowser.zip(http://www.vim.org/scripts/script.php?script_id=2899) 在普通txt文字顯示語法高亮 #============================================================================= 22.  FindMate.vim(http://www.vim.org/scripts/script.php?script_id=2871) 快速查詢檔案 #============================================================================= 23. grep.vim The grep plugin integrates the grep, fgrep, egrep, and agrep tools with Vim and allows you to search for a pattern in one or more files and jump to them. #============================================================================= 24. autocomplpop.zip(http://www.vim.org/scripts/script.php?script_id=1879) With this plugin, your vim comes to automatically opens popup menu for completions when you enter characters or move the cursor in Insert mode. It won’t prevent you continuing entering characters. #============================================================================= http://www.vim.org/scripts/script.php?script_id=1638  ” SourceCodeObedience http://www.vim.org/scripts/script.php?script_id=1581  ” lookupfile http://insenvim.sourceforge.net/index.php             ” Vim Intellisense #=============================================================================