@@ -17,27 +17,66 @@ categories: asciicast
17
17
change that! Fasten your seatbelts and add your first project to bookmarks
18
18
following the steps below!
19
19
20
- ``` console
21
- $ vim
22
- <kbd>CTRL</kbd>+<kbd>C</kbd>
23
- <kbd>b</kbd>
24
- <kbd>a</kbd>
25
- ⌗ Add directory to bookmarks: /Users/ryrych/projects/ember_awesome/<kbd>Enter</kbd>
26
- ⌗ New bookmark name: Ember is Awesome Bookmark<kbd>Enter</kbd>
27
- ```
20
+ 1 . <kbd >CTRL</kbd >+<kbd >SPACE</kbd >
21
+ 2 . <kbd >b</kbd >
22
+ 3 . <kbd >a</kbd >
23
+ 4 . * Vim-CtrlSpace* will ask you to type the path to the project
24
+ 5 . Confirm the path with <kbd >Enter</kbd >
25
+ 6 . Optionally you can change the bookmark name
26
+
27
+ After adding the project to bookmarks, choose the project from the list using
28
+ either:
28
29
29
- After adding the project to bookmarks, you choose the project from the list
30
- using < kbd >j</ kbd > and <kbd >k </kbd > keys. Press < kbd >Enter</ kbd > to confirm.
30
+ - < kbd >j</ kbd > and < kbd >k</ kbd >
31
+ - toggling search mode with <kbd >/ </kbd > when the list is long
31
32
32
- An unnamed tab should open.
33
+ Press < kbd >Enter</ kbd > to confirm the choice. An unnamed tab should open.
33
34
34
35
```
35
36
> [1*No Name] ★
36
37
```
37
38
38
- Press <kbd >o</kbd > to open project file list. Press <kbd >r</kbd > to index all files from the
39
- project. After indexing you should get this message:
39
+ 1 . Press <kbd >o</kbd > to open project file list.
40
+ 2 . Press <kbd >r</kbd > to index all project files.
41
+
42
+ After indexing you should get this message:
40
43
41
44
```
42
45
⌗ Collecting files... Done (399).
43
46
```
47
+
48
+ Now you’re ready to feel the power of * Vim-CtrlSpace* !
49
+
50
+ ## Common questions
51
+
52
+ ### Re-indexing — do I need it?
53
+
54
+ Almost ** each editor** , or * IDE* you have had experience with, ** re-index
55
+ files** . Many of them do it automatically for you. This allows for faster
56
+ searching files. Some * IDE* like * RubyMine* can, in large projects, hang even
57
+ a powerful * Macbook Pro* .
58
+
59
+ * Vim-CtrlSpace* allows you to re-index files ** manually** . Don’t worry about
60
+ forgetting to re-index as sooner or later it’ll become your habit.
61
+
62
+ ### Re-indexing — when?
63
+
64
+ Usually when:
65
+
66
+ - Switching between * Git* (or any other * VCS* ) branches
67
+ - Regenerating * Ctags*
68
+ - Adding or removing files
69
+
70
+ Remember that you can still open the files with:
71
+
72
+ - ` :e file-name.rb `
73
+ - [ The NERD Tree] [ 1 ]
74
+ - [ vinegar.vim] [ 2 ]
75
+ - Your favourite tool, etc.
76
+
77
+ New files will not be available when ** using fuzzy search** until you re-index
78
+ them. That’s it!
79
+
80
+
81
+ [ 1 ] : https://github.com/scrooloose/nerdtree
82
+ [ 2 ] : https://github.com/tpope/vim-vinegar
0 commit comments