|
1 | 1 | *scala.txt* Syntax highlighting and helper functions for the Scala language. |
2 | 2 |
|
| 3 | +============================================================================== |
3 | 4 | INTRODUCTION *scala* |
4 | 5 |
|
5 | 6 | Syntax highlighting and helper functions for the scala language. |
6 | 7 |
|
| 8 | +============================================================================== |
7 | 9 | COMMANDS *scala-commands* |
8 | 10 |
|
9 | 11 | *:SortScalaImports* |
@@ -41,4 +43,40 @@ COMMANDS *scala-commands* |
41 | 43 | g:scala_first_party_namespaces= |
42 | 44 | \ '\(controllers\|views\|models\)' |
43 | 45 |
|
| 46 | +============================================================================== |
| 47 | +MAPPINGS *scala-mappings* |
44 | 48 |
|
| 49 | +Currently the only mappings defined are for FuzzyFinder users--these will |
| 50 | +only be enabled if FuzzyFinder is detected. |
| 51 | + |
| 52 | + *scala-leader-fs* |
| 53 | +<Leader>fs "Find src". Primes |:FufFile| with `src/main/scala`, |
| 54 | + and goes deeper still if only a single directory |
| 55 | + exists below that. Helpful for package namespacing |
| 56 | + like `src/main/scala/com/myorg`. |
| 57 | + |
| 58 | + *scala-leader-ft* |
| 59 | +<Leader>ft "Find test". Like |scala-leader-fs|, but with |
| 60 | + `src/test/scala`. |
| 61 | + |
| 62 | + *scala-leader-fr* |
| 63 | +<Leader>fr "Find from root". For the rarer cases when you want to |
| 64 | + start FuzzyFinder at project root (parent of `src/`). |
| 65 | + |
| 66 | +Disabling Mappings~ |
| 67 | + |
| 68 | +If you wish to disable the default key mappings, write the following line in |
| 69 | +your ~/.vimrc: > |
| 70 | +
|
| 71 | + let g:scala_use_default_keymappings = 0 |
| 72 | +
|
| 73 | +============================================================================== |
| 74 | +CREDITS *scala-credits* |
| 75 | + |
| 76 | +Developed by Derek Wyatt, building on initial work by Stefan Matthias Aust. |
| 77 | +Distributed under the Apache 2 license. |
| 78 | + |
| 79 | +Project's home and Git repository: https://github.com/derekwyatt/vim-scala |
| 80 | + |
| 81 | +------------------------------------------------------------------------------ |
| 82 | + vim:tw=78:ts=8:ft=help:norl: |
0 commit comments