10 /* .projectionist.vim */
12 "app/assets/react/components/*.jsx": {
15 "import React from 'react'",
16 "export default {} = React.createClass({ ... })"
26 "type": "lib", /* enables :Elib */
27 "alternate": "test/{}_spec.rb", /* for :A */
30 "path": "include", /* for `gf` i think */
32 "console": "node", /* for :Console */
33 "dispatch": "node", /* for :Dispatch (dispatch.vim) */
34 "start": "rails server", /* for :Start (dispatch.vim) */
35 "make": "node", /* for makeprg */
42 | Command | Description |
43 |---------|-------------|
44 | `:A` | Edit alternate |
45 | `:A {file}` | Edit file |
46 |---------|-------------|
47 | `:AS` | Edit in split |
48 | `:AV` | Edit in vsplit |
49 | `:AT` | Edit in tab |
50 |---------|-------------|
51 | `:AD` | Replace with template |
52 |---------|-------------|
53 | `:Cd` | cd to root |
54 | `:Cd {path}` | cd to path in root |
55 | `:Lcd` | cd to root using :lcd |
56 |---------|-------------|
57 | `:ProjectDo {cmd}` | run command in root |
61 See [vim-projectionist](https://github.com/tpope/vim-projectionist).