Skip to content

Instantly share code, notes, and snippets.

@ori3
Created September 1, 2012 18:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ori3/3583126 to your computer and use it in GitHub Desktop.
Save ori3/3583126 to your computer and use it in GitHub Desktop.
gtags.vim Version: 0.3.1
--- gtags.vim.org 2012-09-02 03:11:51.000000000 +0900
+++ gtags.vim 2012-09-02 03:45:55.000000000 +0900
@@ -363,7 +363,8 @@
" Parse the output of 'global -x' and show in the quickfix window.
let efm_org = &efm
let &efm="%*\\S%*\\s%l%\\s%f%\\s%m"
- cexpr! result
+ "cexpr! result
+ cgete result
let &efm = efm_org
endfunction
@ori3
Copy link
Author

ori3 commented Sep 1, 2012

既存のgtags.vimは、quickfixの結果の最初のファイルにジャンプしてしまうので、それを防止します。
個人的には、まずは、クイックフィックスで確認してから、アクションを起こしたいので。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment