@@ -17,27 +17,66 @@ categories: asciicast
1717change that! Fasten your seatbelts and add your first project to bookmarks
1818following the steps below!
1919
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:
2829
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
3132
32- An unnamed tab should open.
33+ Press < kbd >Enter</ kbd > to confirm the choice. An unnamed tab should open.
3334
3435```
3536> [1*No Name] ★
3637```
3738
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:
4043
4144```
4245⌗ Collecting files... Done (399).
4346```
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