my_help 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/exe/todo_help +4 -0
- data/lib/my_help/version.rb +1 -1
- data/lib/my_help.rb +1 -1
- metadata +4 -3
- data/init.el +0 -131
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c2bdfb447c8b0ca56b53f11a658047c5b13a23e
|
4
|
+
data.tar.gz: 838b8b528c1ca11cb113f3a4be3b255bea033e79
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 191a177b17252565c7d7257a559f133e65ca7757fc76774081d40ff0ed01823cb497b8a5a9eb58d7b0ea20c3c196c62ecf6db08797a58f98609fc969420e40cf
|
7
|
+
data.tar.gz: debfc0d4458e08ec198a6774860ad4013994ec17cc796f85801af75f056e52d59230cd59d2a73eb322a6bdee24d61eb5795b9ef03a226d61976f191789e44fe9
|
data/exe/todo_help
ADDED
data/lib/my_help/version.rb
CHANGED
data/lib/my_help.rb
CHANGED
@@ -119,7 +119,7 @@ module MyHelp
|
|
119
119
|
end
|
120
120
|
|
121
121
|
def init_help(file)
|
122
|
-
p target_help=File.join(@local_help_dir,file)
|
122
|
+
p target_help=File.join(@local_help_dir,file+'.yml')
|
123
123
|
if File::exists?(target_help)
|
124
124
|
puts "File exists. rm it first to initialize it."
|
125
125
|
exit
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: my_help
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.3
|
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-11-
|
11
|
+
date: 2016-11-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -129,6 +129,7 @@ executables:
|
|
129
129
|
- e_h
|
130
130
|
- emacs_help
|
131
131
|
- my_help
|
132
|
+
- todo_help
|
132
133
|
extensions: []
|
133
134
|
extra_rdoc_files: []
|
134
135
|
files:
|
@@ -146,11 +147,11 @@ files:
|
|
146
147
|
- exe/e_h
|
147
148
|
- exe/emacs_help
|
148
149
|
- exe/my_help
|
150
|
+
- exe/todo_help
|
149
151
|
- hikis/README_en.hiki
|
150
152
|
- hikis/README_ja.hiki
|
151
153
|
- hikis/emacs_help.hiki
|
152
154
|
- hikis/template_help.hiki
|
153
|
-
- init.el
|
154
155
|
- latexes/handout_pre.tex
|
155
156
|
- lib/daddygongon/emacs_help.yml
|
156
157
|
- lib/daddygongon/git_help.yml
|
data/init.el
DELETED
@@ -1,131 +0,0 @@
|
|
1
|
-
;; るびきちのemacs lispテクニックバイブルに従ってdefaultの色つけを活性化
|
2
|
-
;; (require 'generic-x)
|
3
|
-
;; tabの自動生成がうっとおしいからやめた
|
4
|
-
|
5
|
-
;; elファイルの置き場所を設定
|
6
|
-
(setq load-path (cons "~/.emacs.d/inits" load-path))
|
7
|
-
(setq load-path (cons "~/.emacs.d/ruby-mode" load-path))
|
8
|
-
(setq load-path (cons "~/.emacs.d/processing-mode" load-path))
|
9
|
-
(setq load-path (cons "~/.emacs.d/haml-mode-master" load-path))
|
10
|
-
;; 起動時にスタートアップ画面を表示しない
|
11
|
-
(setq inhibit-startup-message t)
|
12
|
-
;; 1 行ずつスムーズにスクロールする
|
13
|
-
(setq scroll-step 1)
|
14
|
-
;; 行数を指定してジャンプする (goto-line)
|
15
|
-
;;(global-set-key "\C-l" 'goto-line)
|
16
|
-
;; 言語を日本語に設定
|
17
|
-
(set-language-environment 'Japanese)
|
18
|
-
;; 極力UTF-8とする
|
19
|
-
(prefer-coding-system 'utf-8)
|
20
|
-
|
21
|
-
;; エンコード方式をUTF-8に
|
22
|
-
(set-default-coding-systems 'utf-8)
|
23
|
-
;; C-zでUndo
|
24
|
-
;;(global-set-key "\C-z" 'undo)
|
25
|
-
;; 行番号をデフォルトで表示
|
26
|
-
;;(require 'line-num)
|
27
|
-
;;(global-linum-mode 1)
|
28
|
-
;; 対応する括弧を光らせる
|
29
|
-
(show-paren-mode 1)
|
30
|
-
;; 最近使ったファイルの一覧
|
31
|
-
(recentf-mode 1)
|
32
|
-
;; タイトルバーに開いているバッファのパスを表示
|
33
|
-
(setq frame-title-format (format "%%f - Emacs@%s" (system-name)))
|
34
|
-
;; 現在行を目立たせる
|
35
|
-
;; (global-hl-line-mode)
|
36
|
-
;; バックアップファイルを作らない
|
37
|
-
;; (setq backup-inhibited t)
|
38
|
-
;; モードラインに時間を表示する
|
39
|
-
(display-time)
|
40
|
-
;; 現在の関数名をモードラインに表示
|
41
|
-
(which-function-mode 1)
|
42
|
-
;; 選択部分のインデント
|
43
|
-
(global-set-key "\C-x\C-i" 'indent-region)
|
44
|
-
|
45
|
-
(defun linux-c-mode ()
|
46
|
-
"C mode with adjusted defaults for use with the Linux kernel."
|
47
|
-
(interactive)
|
48
|
-
(c-mode)
|
49
|
-
(setq c-indent-level 8)
|
50
|
-
(setq c-brace-imaginary-offset 0)
|
51
|
-
(setq c-brace-offset -8)
|
52
|
-
(setq c-argdecl-indent 8)
|
53
|
-
(setq c-label-offset -8)
|
54
|
-
(setq c-continued-statement-offset 8)
|
55
|
-
(setq indent-tabs-mode nil)
|
56
|
-
(setq tab-width 8)
|
57
|
-
)
|
58
|
-
|
59
|
-
;; ======================================================================
|
60
|
-
;; Ruby mode
|
61
|
-
;; ======================================================================
|
62
|
-
(add-to-list 'auto-mode-alist '("\\.rake$" . ruby-mode))
|
63
|
-
(add-to-list 'auto-mode-alist '("Rakefile$" . ruby-mode))
|
64
|
-
(add-to-list 'auto-mode-alist '("\\.gemspec$" . ruby-mode))
|
65
|
-
(add-to-list 'auto-mode-alist '("\\.ru$" . ruby-mode))
|
66
|
-
(add-to-list 'auto-mode-alist '("\\.yaml$" . ruby-mode))
|
67
|
-
(add-to-list 'auto-mode-alist '("\\.yml$" . ruby-mode))
|
68
|
-
(add-to-list 'auto-mode-alist '("Gemfile$" . ruby-mode))
|
69
|
-
(add-to-list 'auto-mode-alist '("Guardfile$" . ruby-mode))
|
70
|
-
(add-to-list 'auto-mode-alist '("Guardfile$" . ruby-mode))
|
71
|
-
|
72
|
-
(autoload 'ruby-mode "ruby-mode"
|
73
|
-
"Mode for editing ruby source files" t)
|
74
|
-
(setq auto-mode-alist (append '(("\\.rb$" . ruby-mode)) auto-mode-alist))
|
75
|
-
(setq auto-mode-alist (append '(("\\.ru$" . ruby-mode)) auto-mode-alist))
|
76
|
-
(setq auto-mode-alist (append '(("\\.ru$" . ruby-mode)) auto-mode-alist))
|
77
|
-
(setq interpreter-mode-alist (append '(("ruby" . ruby-mode))
|
78
|
-
interpreter-mode-alist))
|
79
|
-
(autoload 'run-ruby "inf-ruby"
|
80
|
-
"Run an inferior Ruby process")
|
81
|
-
(autoload 'inf-ruby-keys "inf-ruby"
|
82
|
-
"Set local key defs for inf-ruby in ruby-mode")
|
83
|
-
(add-hook 'ruby-mode-hook
|
84
|
-
'(lambda ()
|
85
|
-
(inf-ruby-keys)))
|
86
|
-
(global-font-lock-mode 1)
|
87
|
-
|
88
|
-
;;;ruby-electric.el --- electric editing commands for ruby files
|
89
|
-
;;(require 'ruby-electric)
|
90
|
-
;;(add-hook 'ruby-mode-hook '(lambda () (ruby-electric-mode t)))
|
91
|
-
|
92
|
-
(setq ruby-indent-level 2)
|
93
|
-
(setq ruby-indent-tabs-mode nil)
|
94
|
-
|
95
|
-
;; ======================================================================
|
96
|
-
;; Processing mode
|
97
|
-
;; ======================================================================
|
98
|
-
;;(add-to-list 'load-path "/Users/bob/ruby-processing/processing2-emacs")
|
99
|
-
(autoload 'processing-mode "processing-mode" "Processing mode" t)
|
100
|
-
(add-to-list 'auto-mode-alist '("\\.pde$" . processing-mode))
|
101
|
-
(setq processing-indent-level 2)
|
102
|
-
|
103
|
-
(setq processing-location "/Users/bob/bin/processing-java")
|
104
|
-
(setq processing-application-dir "/Applications/Processing.app")
|
105
|
-
(setq processing-sketch-dir "~/Documents/Processing")
|
106
|
-
|
107
|
-
(setq-default indent-tabs-mode nil)
|
108
|
-
(setq tab-width 2)
|
109
|
-
|
110
|
-
;; =======================
|
111
|
-
;; haml mode
|
112
|
-
;; =======================
|
113
|
-
;;``` lisp
|
114
|
-
(require 'haml-mode)
|
115
|
-
;;```
|
116
|
-
(autoload 'haml-mode "haml-mode" "haml mode" t)
|
117
|
-
(add-to-list 'auto-mode-alist '("\\.haml$" . haml-mode))
|
118
|
-
(setq-default indent-tabs-mode t)
|
119
|
-
(setq tab-width 2)
|
120
|
-
|
121
|
-
|
122
|
-
;; =========
|
123
|
-
;; hiki mode
|
124
|
-
;; =========
|
125
|
-
(setq load-path (cons "/Users/bob/.emacs.d/hiki-mode" load-path))
|
126
|
-
(require 'hiki-mode)
|
127
|
-
;;(autoload 'hiki-edit "hiki-mode" nil t)
|
128
|
-
(setq-default indent-tabs-mode nil)
|
129
|
-
(add-to-list 'auto-mode-alist '("\.hiki$" . hiki-mode))
|
130
|
-
|
131
|
-
|