Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dhananjaylatkar authored Jul 6, 2024
1 parent 98c51c2 commit d1b2450
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ Heavily inspired by emacs' [xcscope.el](https://github.com/dkogan/xcscope.el).

### Cscope DB

- No need to add cscope database, it is automatically picked from current directory or `db_file` option.
- Statically provide table of db paths in config (`db_file`) OR add them at runtime using `:Cs db add ...`
- `:Cs db add <space sepatated files>` add db file(s) to cscope search.
- `:Cs db rm <space sepatated files>` remove db file(s) from cscope search.
- `:Cs db show` show all db connections.
- `:Cs db build` builds cscope db of primary db.
- `:Cs db build` (re)builds db for primary db.
- `vim.g.cscope_maps_statusline_indicator` can be used in statusline to indicate ongoing db build.
- DB path grammar
- `db_file:db_pre_path` db_pre_path (prefix path) will be appended to cscope results.
Expand Down Expand Up @@ -91,8 +91,6 @@ _cscope_maps_ comes with following defaults:
-- when table of DBs is provided -
-- first DB is "primary" and others are "secondary"
-- primary DB is used for build and project_rooter
-- secondary DBs must be built with absolute paths
-- or paths relative to cwd. Otherwise JUMP will not work.
-- cscope executable
exec = "cscope", -- "cscope" or "gtags-cscope"
-- choose your fav picker
Expand Down

0 comments on commit d1b2450

Please sign in to comment.