-
Notifications
You must be signed in to change notification settings - Fork 87
Tips
To load search results into Vim's built-in quickfix list, press Tab to toggle
selection, once done, press Enter.
Then, the selected entries should be populated into the quickfix list.
This method should work with any Clap search commands.
For example :Clap git_files
, :Clap grep
etc.
Note: toggling selection for all filtered results is currently not supported yet.
Do not install it via sudo apt install global
when using Ubuntu, better to fetch and compile the latest version on your own.
-
Download the source archive from https://www.gnu.org/software/global/download.html .
-
pip install Pygments
-
Install the executable.
./configure make sudo make install
-
Copy gtags.conf(
/usr/local/share/gtags/gtags.conf
on Ubuntu) to~/.globalrc
.
-
GTAGS can be generated, but it is empty.
- Ensure
ctagscom
in~/.globalrc
is correctly set to the u-ctags path.
- Ensure
-
ImportError: No module named pygments.lexers
- Edit
/usr/local/share/gtags/script/pygments_parser.py
and modify the line to correct python program path, e.g.,!/usr/local/bin/python3
.
- Edit