1
1
# cscope-maps
2
2
3
3
Just old good cscope maps plugin for vim, taken from [ 1] . Made a mirror just to
4
- use it in unified way with vim package manager.
4
+ use it in unified way with vim package manager. This repository has some
5
+ extra improvements on top of original plugin.
5
6
6
7
## Description
7
8
@@ -12,17 +13,31 @@ These key maps use multiple keystrokes (2 or 3 keys). If you find that vim keeps
12
13
timing you out before you can complete them, try changing your timeout settings
13
14
in plugin file.
14
15
16
+ For more details please refer to [ 2] .
17
+
18
+ ## Changes
19
+
20
+ Next changes are made in this repository comparing to original plugin:
21
+
22
+ * Add key binding to search for C structure (Ctrl-S), in case the structure is
23
+ defined using K&R style, e.g.: ` struct abc { `
24
+ * Use Ctrl-Space key binding to split vertically (as opposed to horizontal
25
+ split in original plugin). To split horizontally, use Ctrl-Space-Space.
26
+ * If ` cscope.out ` file is missing in current directory, try to look for it
27
+ in upper directories
28
+ * Fix some typos
29
+
15
30
## Installation
16
31
17
32
* __ vim 8__ : Stick this file in ` ~/.vim/pack/<dir>/start/cscope/plugin/ `
18
33
where ` <dir> ` is any arbitrary name. Lookup Vim8 packages
19
34
for more details.
20
-
21
35
* __ vim 6__ : Stick this file in your ` ~/.vim/plugin ` directory (or in a
22
36
'plugin' directory in some other directory that is in your
23
37
'runtimepath'.
24
-
25
38
* __ vim 5__ : Stick this file somewhere and 'source cscope.vim' it from
26
39
your ` ~/.vimrc ` file (or cut and paste it into your ` .vimrc ` ).
27
40
28
41
[ 1] http://cscope.sourceforge.net/cscope_maps.vim
42
+
43
+ [ 2] http://cscope.sourceforge.net/cscope_vim_tutorial.html
0 commit comments