ruco 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/Readme.md CHANGED
@@ -63,11 +63,12 @@ Customize
63
63
  bind :"Ctrl+x", :quit
64
64
  bind :"Ctrl+o", :save
65
65
  bind :"Ctrl+k", :delete_line
66
+ bind :"Ctrl+e", :move_to_eol
67
+ bind :"Ctrl+a", :move_to_bol
66
68
 
67
69
  # create reusable actions
68
- action(:first){ editor.move(:to_column, 0) }
69
- bind(:"Ctrl+a", :first)
70
- bind(:home, :first)
70
+ action(:first_line){ editor.move(:to_column, 0) }
71
+ bind :"Ctrl+u", :first_line
71
72
  end
72
73
 
73
74
  TIPS
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.3
1
+ 0.1.4
@@ -48,8 +48,6 @@ module Ruco
48
48
  when :right then move_with_select_mode :relative, 0,1
49
49
  when :up then move_with_select_mode :relative, -1,0
50
50
  when :left then move_with_select_mode :relative, 0,-1
51
- when :end then move_with_select_mode :to_eol
52
- when :home then move_with_select_mode :to_bol
53
51
  when :page_up then move_with_select_mode :page_up
54
52
  when :page_down then move_with_select_mode :page_down
55
53
  when :"Ctrl+right" then move_with_select_mode :jump, :right
@@ -212,6 +210,9 @@ module Ruco
212
210
  action(:move_line_up){ @editor.move_line(-1) if @focused == @editor }
213
211
  action(:move_line_down){ @editor.move_line(1) if @focused == @editor }
214
212
 
213
+ action(:move_to_eol){ move_with_select_mode :to_eol }
214
+ action(:move_to_bol){ move_with_select_mode :to_bol }
215
+
215
216
  action(:insert_hash_rocket){ @editor.insert(' => ') }
216
217
  end
217
218
 
@@ -234,6 +235,8 @@ module Ruco
234
235
  bind :"Ctrl+y", :redo
235
236
  bind :"Alt+Ctrl+down", :move_line_down
236
237
  bind :"Alt+Ctrl+up", :move_line_up
238
+ bind :end, :move_to_eol
239
+ bind :home, :move_to_bol
237
240
  end
238
241
 
239
242
  def load_user_config
data/ruco.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{ruco}
8
- s.version = "0.1.3"
8
+ s.version = "0.1.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Michael Grosser"]
12
- s.date = %q{2011-05-30}
12
+ s.date = %q{2011-06-09}
13
13
  s.default_executable = %q{ruco}
14
14
  s.email = %q{michael@grosser.it}
15
15
  s.executables = ["ruco"]
metadata CHANGED
@@ -1,8 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruco
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 19
4
5
  prerelease:
5
- version: 0.1.3
6
+ segments:
7
+ - 0
8
+ - 1
9
+ - 4
10
+ version: 0.1.4
6
11
  platform: ruby
7
12
  authors:
8
13
  - Michael Grosser
@@ -10,20 +15,25 @@ autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
17
 
13
- date: 2011-05-30 00:00:00 +02:00
18
+ date: 2011-06-09 00:00:00 +02:00
14
19
  default_executable: ruco
15
20
  dependencies:
16
21
  - !ruby/object:Gem::Dependency
17
- name: clipboard
18
22
  requirement: &id001 !ruby/object:Gem::Requirement
19
23
  none: false
20
24
  requirements:
21
25
  - - ">="
22
26
  - !ruby/object:Gem::Version
27
+ hash: 43
28
+ segments:
29
+ - 0
30
+ - 9
31
+ - 8
23
32
  version: 0.9.8
24
33
  type: :runtime
25
- prerelease: false
34
+ name: clipboard
26
35
  version_requirements: *id001
36
+ prerelease: false
27
37
  description:
28
38
  email: michael@grosser.it
29
39
  executables:
@@ -85,7 +95,11 @@ has_rdoc: true
85
95
  homepage: http://github.com/grosser/ruco
86
96
  licenses: []
87
97
 
88
- post_install_message: "\n Mac: shift/ctrl + arrow-keys only work in iterm (not Terminal.app)\n Ubuntu: sudo apt-get install xclip # to use the clipboard\n\n"
98
+ post_install_message: |+
99
+
100
+ Mac: shift/ctrl + arrow-keys only work in iterm (not Terminal.app)
101
+ Ubuntu: sudo apt-get install xclip # to use the clipboard
102
+
89
103
  rdoc_options: []
90
104
 
91
105
  require_paths:
@@ -95,7 +109,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
95
109
  requirements:
96
110
  - - ">="
97
111
  - !ruby/object:Gem::Version
98
- hash: 472274319
112
+ hash: 3
99
113
  segments:
100
114
  - 0
101
115
  version: "0"
@@ -104,6 +118,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
104
118
  requirements:
105
119
  - - ">="
106
120
  - !ruby/object:Gem::Version
121
+ hash: 3
122
+ segments:
123
+ - 0
107
124
  version: "0"
108
125
  requirements: []
109
126