git_editor 0.1.2 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -2,4 +2,3 @@ pkg/*
2
2
  *.gem
3
3
  .bundle
4
4
  test_build.rb
5
- *.zip
@@ -14,11 +14,22 @@ After the installation of the gem, run the following command in the command line
14
14
 
15
15
  git_editor install
16
16
 
17
- Git_editor is now the default editor of Git.
17
+ Git_editor is now the default editor of Git. You may see the following error message if you are not using the command "git_editor install" in a folder of a git repository:
18
+
19
+ error: could not lock config file .git/config: No such file or directory
20
+
21
+ This is normal.
22
+
23
+ You can verify if you have installed the editor successfully or not by:
24
+
25
+ git config --global --edit
26
+
27
+ A nice editor (instead of a vim in your terminal) should show up.
28
+
18
29
 
19
30
  == Standalone version
20
31
 
21
- If you are not using ruby, you can download the git_editor-0.1.1.zip from the repository. Unzip it to a location of your choice.
32
+ If you are not using ruby, you can download the git_editor-0.1.4-standalone.zip from the repository. Unzip it to a location of your choice.
22
33
  Make sure that you have Git installed on your machine. And run
23
34
 
24
35
  git config --global core.editor "<path of your editor>\giteditor.exe"
@@ -29,6 +40,13 @@ for example:
29
40
 
30
41
  Then Git will use this editor as its default editor.
31
42
 
43
+ You can verify if you have installed the editor successfully or not by:
44
+
45
+ git config --global --edit
46
+
47
+ A nice editor (instead of a vim in your terminal) should show up.
48
+
49
+
32
50
  == Usage
33
51
 
34
52
  After installation, the editor will automatically show up during config editing, interactive rebasing and commiting.
@@ -43,7 +61,9 @@ The editor supports multi-selection. just press alt+shift+up/down arrow. It will
43
61
 
44
62
  When you press Ctrl+S, the editor save and quit automatically.
45
63
 
46
- Easy access to theme customization will be in future releases.
64
+ == Customizing color
65
+
66
+ If you want to customize the color of git editor, go to menu>Options>Open customize.properties and edit the file. The scite editor do have tons of options but this file pick only include several important color options (with comment) so you can change that color easily.
47
67
 
48
68
 
49
69
  == License
@@ -7,15 +7,13 @@ when 'install'
7
7
  system("git config --global core.editor '#{editor}'")
8
8
  system("git config --system core.editor '#{editor}'")
9
9
  system("git config --local core.editor '#{editor}'")
10
-
11
10
  when 'uninstall'
12
11
  system("git config --global --unset core.editor")
13
12
  system("git config --system --unset core.editor")
14
13
  system("git config --local --unset core.editor")
15
-
16
14
  else
17
15
  puts ""
18
- print "git_editor install ----- Set git_editor as the editor for Git\ngit_editor uninstall ----- Configure Git to use the default editor instead\n"
16
+ print "git_editor install ----- Set git_editor as the editor for Git\ngit_editor uninstall ----- Configure Git to use the default editor\n\n"
19
17
  end
20
18
 
21
19
 
@@ -1,3 +1,10 @@
1
+ 0.2.0
2
+ remove zip files from repo
3
+ Add easy access to color options
4
+
5
+ 0.1.2
6
+ First alpha
7
+
1
8
  0.0.4
2
9
  Add install and uninstall command
3
10
 
@@ -65,9 +65,11 @@ default.file.ext=COMMIT_EDITMSG
65
65
  file.patterns.rebase=git-rebase-todo
66
66
  file.patterns.commit=COMMIT_EDITMSG
67
67
  file.patterns.gitconfig=.gitconfig;gitconfig;config
68
+ file.patterns.properties=*.properties
68
69
  lexer.$(file.patterns.rebase)=cmake
69
70
  lexer.$(file.patterns.gitconfig)=cmake
70
71
  lexer.$(file.patterns.commit)=cmake
72
+ lexer.$(file.patterns.properties)=properties
71
73
 
72
74
  cmake.ignorecase=0
73
75
  comment.block.cmake=#
@@ -164,3 +166,15 @@ style.cmake.34=fore:#FFAAAA,bold
164
166
  # Not matched parentheses
165
167
  style.cmake.35=fore:#FF0000,bold
166
168
  #style.*.37=fore:#939393
169
+
170
+
171
+ style.properties.0=$(baseforecolor),$(basefont),$(basesize),$(basebackcolor)
172
+ # Comment
173
+ style.properties.1=$(commentforecolor)
174
+
175
+ style.properties.32=$(basefont),$(basesize),$(basebackcolor)
176
+ # Matched parentheses
177
+ style.properties.34=fore:#FFAAAA,bold
178
+ # Not matched parentheses
179
+ style.properties.35=fore:#FF0000,bold
180
+ #style.*.37=fore:#939393
@@ -1,3 +1,3 @@
1
1
  module GitEditor
2
- VERSION = "0.1.2"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 0
7
- - 1
8
7
  - 2
9
- version: 0.1.2
8
+ - 0
9
+ version: 0.2.0
10
10
  platform: ruby
11
11
  authors:
12
12
  - erinata
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-01-04 00:00:00 -06:00
17
+ date: 2011-01-26 00:00:00 -06:00
18
18
  default_executable:
19
19
  dependencies: []
20
20