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