emacs_help 0.1.1 → 0.1.2
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.
- checksums.yaml +4 -4
- data/README.md +6 -7
- data/lib/emacs_help.rb +9 -2
- data/lib/emacs_help/version.rb +1 -1
- metadata +2 -3
- data/lib/#emacs_help.rb# +0 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b89d152429bbc8b9460824af49d3ed52177c275a
|
4
|
+
data.tar.gz: b24c1bbb1f17415a0574cf8e3b9f67e63c94ac2d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d94b394a78e903f55b8a5e106c939a60e9f7f2e544b6838ac488d3b5ce4c48915dd99f486705d331585de0095edd1a721045f39b22a9a65381be2693c37e2782
|
7
|
+
data.tar.gz: 702038e9c92de4b8156837af366e0d41a3b77893b15d3adc11b6cc576fb6b8061c6ad23cd4f2d03d14f9ca0df2e2eacdf7363ee44d726b912c12aed8925460e4
|
data/README.md
CHANGED
@@ -4,6 +4,7 @@ emacsの編集操作のキーバインドを表示するヘルプ.日本語が
|
|
4
4
|
|
5
5
|
すぐにいらんようになるやろけど...超初心者向け.
|
6
6
|
|
7
|
+
[](https://badge.fury.io/rb/emacs_help)
|
7
8
|
|
8
9
|
## Installation
|
9
10
|
|
@@ -48,17 +49,15 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
48
49
|
|
49
50
|
## programの狙い
|
50
51
|
|
51
|
-
### windowsとかの対応
|
52
|
-
日本語使えるんやろか?
|
53
|
-
|
54
52
|
### CUIに日本語を組み込むことの可能性
|
55
|
-
Rubyは日本語がcommandにも普通に使えますが,
|
56
|
-
それを組み込んだ時にどれほど使いやすいのかを検証する.
|
57
|
-
たんに日本語でできるだけでいいのか,英語を覚えていく方がいいのか...
|
58
53
|
|
54
|
+
```
|
55
|
+
Rubyは日本語がcommandにも普通に使えますが,
|
56
|
+
それを組み込んだ時にどれほど使いやすいのかを検証することもこのCUIの目的の一つです.
|
57
|
+
初心者にとって,たんに日本語でできるだけでいいのか,英語を覚えていく方がいいのか...
|
59
58
|
あるいは,英語commandを覚える一歩として簡単に表示でけへんか.
|
60
|
-
|
61
59
|
さらに,知識の定着とともにいつもみるcheat memoが進化して,手軽に出せるようにするには...
|
60
|
+
```
|
62
61
|
|
63
62
|
## Contributing
|
64
63
|
|
data/lib/emacs_help.rb
CHANGED
@@ -25,7 +25,7 @@ module EmacsHelp
|
|
25
25
|
puts opt.ver
|
26
26
|
}
|
27
27
|
opt.on('-c','--カーソル','Cursor移動') {cursor_move}
|
28
|
-
opt.on('-p','--ページ','Page移動') {
|
28
|
+
opt.on('-p','--ページ','Page移動') {page_move}
|
29
29
|
opt.on('-f','--ファイル','File操作') {file}
|
30
30
|
opt.on('-e','--編集','Edit操作') {edit}
|
31
31
|
opt.on('-w','--ウィンドウ','Window操作') {window}
|
@@ -54,12 +54,14 @@ module EmacsHelp
|
|
54
54
|
end
|
55
55
|
|
56
56
|
def quit
|
57
|
+
puts "終了操作quit"
|
57
58
|
cont = ["c-x c-c, Quit emacs, ファイルを保存して終了",
|
58
59
|
"c-z, suspend emacs, 一時停止,fgで復活"]
|
59
60
|
disp(cont)
|
60
61
|
end
|
61
62
|
|
62
63
|
def window
|
64
|
+
puts "ウィンドウ操作window"
|
63
65
|
cont=["c-x 2, 2 windows, 二つに分割",
|
64
66
|
"c-x 1, 1 windows, 一つに戻す",
|
65
67
|
"c-x 3, windows, 縦線分割",
|
@@ -68,12 +70,14 @@ module EmacsHelp
|
|
68
70
|
end
|
69
71
|
|
70
72
|
def buffer
|
73
|
+
puts "バッファー操作buffer"
|
71
74
|
cont =[ "c-x b, show Buffer, バッファのリスト",
|
72
75
|
"c-x c-b, next Buffer, 次のバッファへ移動"]
|
73
76
|
disp(cont)
|
74
77
|
end
|
75
78
|
|
76
79
|
def edit
|
80
|
+
puts "編集操作editor"
|
77
81
|
cont = ["c-d, Delete char, 一字削除",
|
78
82
|
"c-k, Kill line, 一行抹消,カット",
|
79
83
|
"c-y, Yank, ペースト",
|
@@ -86,13 +90,15 @@ module EmacsHelp
|
|
86
90
|
end
|
87
91
|
|
88
92
|
def file
|
93
|
+
puts "ファイル操作file"
|
89
94
|
cont =[ "c-x c-f, Fine file, ファイルを開く",
|
90
95
|
"c-x c-s, Save file, ファイルを保存",
|
91
96
|
"c-x c-w, Write file NAME, ファイルを別名で書き込む"]
|
92
97
|
disp(cont)
|
93
98
|
end
|
94
99
|
|
95
|
-
def
|
100
|
+
def page_move
|
101
|
+
puts "ページ移動page"
|
96
102
|
cont = ["c-v, move Vertical, 次のページへ",
|
97
103
|
"M-v, move , 前のページへ",
|
98
104
|
"c-l, centrise Line, 現在行を中心に",
|
@@ -102,6 +108,7 @@ module EmacsHelp
|
|
102
108
|
end
|
103
109
|
|
104
110
|
def cursor_move
|
111
|
+
puts "カーソル移動cursor"
|
105
112
|
cont = ["c-f, move Forwrard, 前・右へ",
|
106
113
|
"c-b, move Backwrard, 後・左へ",
|
107
114
|
"c-a, go Ahead of line, 行頭へ",
|
data/lib/emacs_help/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: emacs_help
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shigeto R. Nishitani
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-10-
|
11
|
+
date: 2016-10-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -73,7 +73,6 @@ files:
|
|
73
73
|
- emacs_help.gemspec
|
74
74
|
- exe/eh
|
75
75
|
- exe/emacs_help
|
76
|
-
- lib/#emacs_help.rb#
|
77
76
|
- lib/emacs_help.rb
|
78
77
|
- lib/emacs_help/version.rb
|
79
78
|
homepage: https://github.com/daddygongon/emacs_help
|