Coder Social home page Coder Social logo

gmail.vim's Introduction

gmail.vim

Description

The vim script for viewing gmail on vim. You need to enable imap settings gmail, because this plugin use imap.

Requirements

Setting

  • Enable imap Please enable imap settings gmail. (Please search on yourself)

  • Install vimproc If you have installed Vundle, please set as follows in your .vimrc.

      Bundle git://github.com/Shougo/vimproc.git
    
  • Through the path to openssl

    let &path = $path . 'c:\Program files\git\bin'

  • vimrc settings such as described in the following. (Not required)

    • Server settings

      let g:gmail_imap = 'imap.gmail.com:993'
      
      let g:gmail_smtp = 'smtp.gmail.com:465'
      
    • User name settings

      let g:gmail_user_name = '[email protected]'
      
    • Signature when sending mail

      let g:gmail_signature = '# ' . g:gmail_user_name . '(by gmail.vim)'
      

Usage

  • Start

Use the following commands in Command mode to start Gmail.

:Gmail
  • Operations

The first line of each screen is the menu. Please move cursor on the menu you want to perform, and press the Enter key.

Two Factor Authentication

  • Setup an application specific password for gmail.vim under your google security settings.
  • Create the following ~/.anyname
  • Please set the file name that can not be analogized to .anyname.
let g:gmail_user_name = '[email protected]'
call gmail#imap#set_password('application_specific_password')
chmod 700 ~/.anyname
# NOTE THE DOUBLE ARROW - SINGLE WILL OVERWRITE YOUR VIMRC
echo 'source ~/.anyname' >> ~/.vimrc

This will allow you to keep your application specific password private, even if you share your vimrc publically via github or elsewhere.

ScreenShots

  • Screen Image

sample1

Other

  • The disclaimers and copyright etc.

    The author does not assume any responsibility for damages or any loss of profits resulting directly or indirectly caused by this script. We will use the condition that you accept the disclaimer of any damages.

HISTORY

2012/08/12 (1.0)   first release

2013/01/28 (1.1)   append 'archive' feature
                   remove 'delete' feature

2013/02/05         translate README.md
2013/03/29 (1.3)   support delete feature
2013/05/01 (1.3.1) support unread feature for message window (#6)
2013/05/01 (1.3.2) append <Plug> keymaps and default keymap 'dd' , 'r' , 'R' and 'x' (#7)
                   buf fix delete feature
2013/05/01 (1.3.3) append g:gmail_nomove_after_select (#8)
2013/05/01 (1.3.4) replace '&mdash;' to '--' for easy_html_view (#9)
2013/05/01 (1.3.5) append g:gmail_show_log_window for debug
2013/07/07 (1.3.6) 'c' should not be mapped when composing emails.(#12)
2014/07/04 (1.3.7) fix E154: Duplicate tag vimproc in file $HOME/.vim/.neobundle/doc/vimproc.txt

gmail.vim's People

Contributors

yuratomo avatar tyru avatar codyrioux avatar ompugao avatar kashewnuts avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.