RailsEditor 0.0.23 → 0.0.24

Sign up to get free protection for your applications and to get access to all the features.
@@ -37,4 +37,6 @@ hi link erubyDelim delimiter
37
37
  hi link erubyComment comment
38
38
  hi link erubyEnd rubyControl
39
39
 
40
+ iab %= <%= %><LEFT><LEFT><LEFT>
41
+ iab %% <% -%><LEFT><LEFT><LEFT><LEFT>
40
42
  " vim: set ts=4 sw=4:
data/rails/.vimrc CHANGED
@@ -6,3 +6,4 @@ syntax on
6
6
  set tabstop=2
7
7
  set shiftwidth=2
8
8
  set expandtab
9
+ set smartcase " Do case insensitive matching
@@ -1,4 +1,4 @@
1
- Copyright 2005, by TJ Vanderpoel
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
- ./script/editor -? for usage (from a RAILS_ROOT).
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. In Screen 1 you'll have a ./script/console session that
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
- Screen bindkey is default here (ctrl-a), so (ctrl-a 1) will get to screen 1 (irb)
28
- ctrl-a ? will list all your bindings. man screen for more information.
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 svnwork bash -c 'umask 002;while true; do <%= OPTIONS[:shell] %>;sleep 1;done'
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.23
7
- date: 2006-06-29 00:00:00 -05:00
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
- - lib
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
- - !ruby/object:Gem::Version
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
- - Rubyists.com (bougyman,deathsyn,trey)
29
+ - Rubyists.com (bougyman,deathsyn,trey)
31
30
  files:
32
- - rails/config
33
- - rails/script
34
- - rails/README.rails-editor
35
- - rails/script/editor
36
- - bin/RailsEditor
37
- - tests/ts_rails_editor.rb
38
- - lib/rails-editor.rb
39
- - rails/.vim/syntax
40
- - rails/.vim/filetype.vim
41
- - rails/.vim/syntax/eruby.vim
42
- - rails/.vimrc
43
- - rails/config/.screenrc.code.erb
44
- - README.rails-editor
45
- - INSTALL
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
- - tests/ts_rails_editor.rb
48
+ - tests/ts_rails_editor.rb
48
49
  rdoc_options: []
50
+
49
51
  extra_rdoc_files:
50
- - README.rails-editor
51
- - INSTALL
52
+ - README.rails-editor
53
+ - INSTALL
52
54
  executables:
53
- - RailsEditor
55
+ - RailsEditor
54
56
  extensions: []
57
+
55
58
  requirements: []
59
+
56
60
  dependencies:
57
- - !ruby/object:Gem::Dependency
58
- name: rails
59
- version_requirement:
60
- version_requirements: !ruby/object:Gem::Version::Requirement
61
- requirements:
62
- -
63
- - ">"
64
- - !ruby/object:Gem::Version
65
- version: 0.0.0
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: