vmail 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.markdown +10 -12
  2. data/bin/mvmail +12 -0
  3. data/lib/vmail/version.rb +1 -1
  4. metadata +4 -2
@@ -1,9 +1,14 @@
1
1
  # vmail
2
2
 
3
- This project (soon to be documented) provides a Vim interface to Gmail.
3
+ This project provides a Vim interface to Gmail.
4
4
 
5
5
  This is an alpha version. To run it, you need vim or macvim.
6
6
 
7
+ You also need ruby (1.9.2 recommended but not required) and rubygems.
8
+
9
+ Once you have those prerequisites, you can install vmail with `gem install
10
+ vmail`.
11
+
7
12
  To use this alpha version, you need to put a gmail.yml file in your home
8
13
  directory.
9
14
 
@@ -16,19 +21,16 @@ The format of the yaml file is as follows:
16
21
  --
17
22
  Sent via vmail. http://danielchoi.com
18
23
 
19
- vmail use the normal vim on your system by default. To use Macvim, invoke it as follows:
20
-
21
- VMAIL_VIM=mvim vmail
24
+ Start the program by typing `vmail` on your command line. If you want to use the Macvim
25
+ version, type `mvmail`.
22
26
 
23
27
  There is no real documentation as of yet, but here are the raw vimscript mappings
24
28
 
29
+
25
30
  ## From Message List Window:
26
31
 
27
- inoremap <silent> <buffer> <cr> <Esc>:call <SID>complete_move_to_mailbox()<CR>
28
32
  inoremap <silent> <buffer> <esc> <Esc>:q<cr>
29
- inoremap <silent> <buffer> <cr> <Esc>:call <SID>select_mailbox()<CR>
30
33
  inoremap <silent> <buffer> <esc> <Esc>:q<cr>
31
- noremap! <silent> <buffer> <cr> <Esc>:call <SID>do_search()<CR>
32
34
  noremap <silent> <buffer> <cr> :call <SID>show_message()<CR>
33
35
  noremap <silent> <buffer> q :qal!<cr>
34
36
  noremap <silent> <buffer> s :call <SID>toggle_star()<CR>
@@ -48,18 +50,16 @@ There is no real documentation as of yet, but here are the raw vimscript mapping
48
50
 
49
51
  noremap <silent> <buffer> <cr> :call <SID>focus_list_window()<CR>
50
52
  noremap <silent> <buffer> <Leader>q :call <SID>focus_list_window()<CR>
53
+ nnoremap <silent> <buffer> q :close<cr>
51
54
  noremap <silent> <buffer> q <Leader>q
52
55
  noremap <silent> <buffer> <Leader>r :call <SID>compose_reply(0)<CR>
53
56
  noremap <silent> <buffer> <Leader>a :call <SID>compose_reply(1)<CR>
54
57
  noremap <silent> <buffer> <Leader>R :call <SID>show_raw()<cr>
55
- noremap <silent> <buffer> <Leader>R :call <SID>show_raw()<cr>
56
58
  noremap <silent> <buffer> <Leader>f :call <SID>compose_forward()<CR><cr>
57
- noremap <silent> <buffer> <Leader>o yE :!open '<C-R>"'<CR><CR>
58
59
  noremap <silent> <buffer> <leader>j :call <SID>show_next_message()<CR>
59
60
  noremap <silent> <buffer> <leader>k :call <SID>show_previous_message()<CR>
60
61
  noremap <silent> <buffer> <Leader>c :call <SID>compose_message()<CR>
61
62
  noremap <silent> <buffer> <Leader>h :call <SID>open_html_part()<CR><cr>
62
- nnoremap <silent> <buffer> q :close<cr>
63
63
  nnoremap <silent> <buffer> <leader>d :call <SID>focus_list_window()<cr>:call <SID>delete_messages("Deleted")<cr>
64
64
  nnoremap <silent> <buffer> s :call <SID>focus_list_window()<cr>:call <SID>toggle_star()<cr>
65
65
  nnoremap <silent> <buffer> <Leader>m :call <SID>focus_list_window()<cr>:call <SID>mailbox_window()<CR>
@@ -79,8 +79,6 @@ Other:
79
79
 
80
80
 
81
81
 
82
-
83
-
84
82
  ## Open Source License
85
83
 
86
84
  The source code for vmail is governed by the MIT License, which reads as
@@ -0,0 +1,12 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ begin
4
+ require 'vmail'
5
+ rescue LoadError
6
+ require 'rubygems'
7
+ require 'gmail'
8
+ end
9
+
10
+ ENV['VMAIL_VIM'] = 'mvim'
11
+ Vmail.start
12
+
@@ -1,3 +1,3 @@
1
1
  module Vmail
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 2
9
- version: 0.0.2
8
+ - 3
9
+ version: 0.0.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Daniel Choi
@@ -34,6 +34,7 @@ description: Manage your email with Vim
34
34
  email:
35
35
  - dhchoi@gmail.com
36
36
  executables:
37
+ - mvmail
37
38
  - vmail
38
39
  - vmail_client
39
40
  extensions: []
@@ -45,6 +46,7 @@ files:
45
46
  - NOTES
46
47
  - README.markdown
47
48
  - Rakefile
49
+ - bin/mvmail
48
50
  - bin/vmail
49
51
  - bin/vmail_client
50
52
  - config/environment.rb