RailsEditor 0.0.23 → 0.0.24
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rails-editor +9 -1
- data/rails/.vim/filetype.vim +2 -0
- data/rails/.vim/plugin/taglist.vim +4248 -0
- data/rails/.vim/syntax/eruby.vim +2 -0
- data/rails/.vimrc +1 -0
- data/rails/README.rails-editor +18 -5
- data/rails/config/.screenrc.code.erb +1 -1
- metadata +39 -36
data/rails/.vim/syntax/eruby.vim
CHANGED
data/rails/.vimrc
CHANGED
data/rails/README.rails-editor
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
Copyright 2005, by
|
1
|
+
Copyright 2005, by The Rubyists (bougyman,trey,deathsyn)*
|
2
2
|
Licensed under the Gnu Public License, which should be
|
3
3
|
included in licence/GPL.txt.
|
4
4
|
|
@@ -11,7 +11,13 @@ you a nice IDE session for rails development. Console junkies
|
|
11
11
|
should like it, but through the use of Escreen it can be
|
12
12
|
GUI friendly as well.
|
13
13
|
|
14
|
-
|
14
|
+
After installing the gem, change to a rails_root and run the command:
|
15
|
+
RailsEditor
|
16
|
+
|
17
|
+
The gem install should have linked RailsEditor to a location in your run path
|
18
|
+
Then you'll have ./script/editor available
|
19
|
+
|
20
|
+
./script/editor -? for usage (from the RAILS_ROOT).
|
15
21
|
|
16
22
|
BASIC USAGE
|
17
23
|
|
@@ -20,12 +26,17 @@ any vim user in a pinch that has to make console edits (ssh or what-not).
|
|
20
26
|
|
21
27
|
On startup you'll have a variety of windows set up for rails development.
|
22
28
|
Many will have VIM sessions in File Browser mode, others will be shells dedicated
|
23
|
-
to a certain task.
|
29
|
+
to a certain task. Screen 0 is for watching logs, screen 1 will run a console that
|
24
30
|
will restart itself on exit. The ide gets more powerful for experienced 'screen'
|
25
31
|
users with split screen modes and other goodies.
|
26
32
|
|
27
|
-
|
28
|
-
|
33
|
+
VIM ADDITIONS
|
34
|
+
In any ruby file, typing 'def' in insert mode followed by a space will fill in the
|
35
|
+
'end' for you. In .rhtml files, '%=' will make <%= %> and '%%' will make <% -%>.
|
36
|
+
Also included is taglist.vim, a nice tidy taglist browser. To enable it in vim,
|
37
|
+
simply type :TlistToggle. You must have exuberant ctags installed for this to
|
38
|
+
work. To get the help for Tlist, cd to .vim/plugins and open vim, then type
|
39
|
+
:helptags and hit enter. You'll then have its help in :help taglist.
|
29
40
|
|
30
41
|
SPLIT SCREEN
|
31
42
|
|
@@ -34,3 +45,5 @@ this time there is no way to remove the hardstatus global statusline automatical
|
|
34
45
|
so i've bound F8 and F9 to turning on and off (respectively) the hardstatus line
|
35
46
|
to avoid duplicate statusbars.
|
36
47
|
|
48
|
+
* tj vanderpoel,trey dempsey,kevin berry
|
49
|
+
|
@@ -23,6 +23,6 @@ screen -t controllers bash -c 'umask 002;while true;do vim -c "cd <%= OPTIONS[:c
|
|
23
23
|
screen -t views bash -c 'umask 002;while true;do vim -c "cd <%= OPTIONS[:views_base] %>" -c "e .";sleep 1;done'
|
24
24
|
screen -t helpers bash -c 'umask 002;while true;do vim -c "cd <%= OPTIONS[:helpers_base] %>" -c "e .";sleep 1;done'
|
25
25
|
screen -t models bash -c 'umask 002;while true;do vim -c "cd <%= OPTIONS[:models_base] %>" -c "e .";sleep 1;done'
|
26
|
-
screen -t
|
26
|
+
screen -t svkwork bash -c 'umask 002;while true; do SVKROOT=<%= ENV['SVKROOT'] || (ENV['REAL_HOME'] + "/.svk") %> <%= OPTIONS[:shell] %>;sleep 1;done'
|
27
27
|
screen -t script bash -c 'umask 002;while true;do <%= OPTIONS[:shell] %>;sleep 2;done'
|
28
28
|
screen -t tests bash -c 'umask 002;while true;do cd <%= OPTIONS[:test_base] %>;<%= OPTIONS[:shell] %>;sleep 1;done'
|
metadata
CHANGED
@@ -3,11 +3,11 @@ rubygems_version: 0.8.11
|
|
3
3
|
specification_version: 1
|
4
4
|
name: RailsEditor
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.0.
|
7
|
-
date: 2006-
|
6
|
+
version: 0.0.24
|
7
|
+
date: 2006-07-11 00:00:00 -05:00
|
8
8
|
summary: A screen + vim IDE setup for editing a Rails tree
|
9
9
|
require_paths:
|
10
|
-
|
10
|
+
- lib
|
11
11
|
email: admins@rubyists.com
|
12
12
|
homepage: http://rubyists.com
|
13
13
|
rubyforge_project:
|
@@ -18,49 +18,52 @@ bindir: bin
|
|
18
18
|
has_rdoc: false
|
19
19
|
required_ruby_version: !ruby/object:Gem::Version::Requirement
|
20
20
|
requirements:
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
version: 0.0.0
|
21
|
+
- - ">"
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 0.0.0
|
25
24
|
version:
|
26
25
|
platform: ruby
|
27
26
|
signing_key:
|
28
27
|
cert_chain:
|
29
28
|
authors:
|
30
|
-
|
29
|
+
- Rubyists.com (bougyman,deathsyn,trey)
|
31
30
|
files:
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
31
|
+
- rails/script
|
32
|
+
- rails/config
|
33
|
+
- rails/README.rails-editor
|
34
|
+
- rails/script/editor
|
35
|
+
- bin/RailsEditor
|
36
|
+
- tests/ts_rails_editor.rb
|
37
|
+
- lib/rails-editor.rb
|
38
|
+
- rails/.vim/syntax
|
39
|
+
- rails/.vim/filetype.vim
|
40
|
+
- rails/.vim/plugin
|
41
|
+
- rails/.vim/syntax/eruby.vim
|
42
|
+
- rails/.vim/plugin/taglist.vim
|
43
|
+
- rails/.vimrc
|
44
|
+
- rails/config/.screenrc.code.erb
|
45
|
+
- README.rails-editor
|
46
|
+
- INSTALL
|
46
47
|
test_files:
|
47
|
-
|
48
|
+
- tests/ts_rails_editor.rb
|
48
49
|
rdoc_options: []
|
50
|
+
|
49
51
|
extra_rdoc_files:
|
50
|
-
|
51
|
-
|
52
|
+
- README.rails-editor
|
53
|
+
- INSTALL
|
52
54
|
executables:
|
53
|
-
|
55
|
+
- RailsEditor
|
54
56
|
extensions: []
|
57
|
+
|
55
58
|
requirements: []
|
59
|
+
|
56
60
|
dependencies:
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
version:
|
61
|
+
- !ruby/object:Gem::Dependency
|
62
|
+
name: rails
|
63
|
+
version_requirement:
|
64
|
+
version_requirements: !ruby/object:Gem::Version::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 0.0.0
|
69
|
+
version:
|