You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Follow installation guide in [CodeQuery project](https://github.com/ruben2020/codequery#how-to-install-it).
82
-
* Enter `cqsearch -h` in your terminal and view the result. Make sure `cqsearch` accepts `-u` option.
83
-
84
-
> If not, you will have to pull latest CodeQuery code and then [build it](https://github.com/ruben2020/codequery/blob/master/doc/INSTALL-LINUX.md) yourself.
85
-
81
+
* Linux => Follow instructions [here](https://github.com/ruben2020/codequery/blob/master/doc/INSTALL-LINUX.md).
82
+
* Mac => `brew install qscintilla2 qt5 cmake` and then pull latest CodeQuery code to [build it](https://github.com/ruben2020/codequery/blob/master/doc/INSTALL-LINUX.md).
83
+
84
+
> You will be able to simply type `brew install codequery` to install a new enough version of codequery in the future. 😑
86
85
87
86
#### 3. Install additional ctags/cscope tools for your languages
88
87
| Language | Tools | How to install |
@@ -122,13 +121,13 @@ Plug 'devjoe/vim-codequery'
122
121
123
122
* Go to the (git) root directory of your project. Open vim and type:
124
123
```vim
125
-
" Indexing Python files
124
+
" Index Python files
126
125
:CodeQueryMakeDB python
127
126
128
-
" Or indexing Python + Javascript files
127
+
" Or index Python + Javascript files
129
128
:CodeQueryMakeDB python javascript
130
129
```
131
-
* That's all!`python.db`, `javascript.db` ... will be created in the root directory.
130
+
* That's all.`python.db`, `javascript.db` ... will be created in the root directory.
132
131
* It's recommended that you should use `:CodeQueryMoveDBToGitDir python` to hide the DB file to `.git/codequery/` directory. If you do so, next time you can call `:CodeQueryMakeDB` directly in any opened Python buffer to rebuild the DB file.
133
132
134
133
@@ -218,7 +217,7 @@ Plug 'devjoe/vim-codequery'
218
217
219
218
Currently, vim-codequery only provides [Unite](https://github.com/Shougo/unite.vim) menu because I love and use it a lot ⭐. There are two types of menu:
220
219
221
-
***Open a complete Unite menu**
220
+
***Open a full Unite menu**
222
221
223
222
```vim
224
223
:CodeQueryMenu Unite Full
@@ -257,9 +256,19 @@ nnoremap <space>\ :CodeQueryMenu Unite Magic<CR>A
257
256
```vim
258
257
nnoremap <space><CR> :CodeQuery Symbol<CR>
259
258
260
-
" Chain commands! To find possible tests (for python)
259
+
" Chain commands to find possible tests (for python)
0 commit comments