/
README
26 lines (22 loc) · 1.42 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
== vim-harbor
vim-harbor is a vim plugin for working with harbor projects inspired by tpope/vim-rails.
Simply copy plugin/harbor.vim to ~/.vim/plugin to get started.
== Usage
NOTE: Your application will need to follow the default Harbor layout where the root folder's
name matches the application's lib folder, e.g., project_name/lib/project_name.rb and
project_name/lib/project_name/*
H <file> | :edit from root directory
HT <file> | :tabedit from root directory
HS <file> | :split from root directory
HV <file> | :vsplit from root directory
H(TSV)lib | open lib/project_name.rb
H(TSV)lib <file> | open and complete from lib/projectname
H(TSV)controller <file> | open and complete from lib/project_name/controllers
H(TSV)model <file> | open and complete from lib/project_name/models
H(TSV)view <file> | open and complete from lib/project_name/views
H(TSV)test <file> | open and complete from test
H(TSV)integrationtest <file> | open and complete from test/integration
H(TSV)unittest <file> | open and complete from test/unit
H(TSV)public <file> | open and complete from public
H(TSV)stylesheet <file> | open and complete from public/stylesheets
H(TSV)javascript <file> | open and complete from public/javascripts