swdc-vim


Ⅰ. 插件描述

Track your programming activity in real-time in Vim

Ⅱ. 基本信息

创建日期:  2018-04-02
使用用户:  1
Github星:  16
插件作者:  Software

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'swdotcom/swdc-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'swdotcom/swdc-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'swdotcom/swdc-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/swdotcom/swdc-vim

Ⅳ. 文档说明

## Update: 5/3
We are NOT currently maintaining this plugin. We will revisit adding support for Vim in the near future.

Code Time for Vim

Code Time is an open source plugin that provides programming metrics right in your code editor.

<!-- <p align="center" style="margin: 0 10%">
Code Time for Vim
</p> -->

Power up your development

In-editor dashboard
Get daily and weekly reports of your programming activity right in your code editor.

Status bar metrics
After installing our plugin, your status bar will show real-time metrics about time coded per day.

Weekly email reports
Get a weekly report delivered right to your email inbox.

Data visualizations
Go to our web app to get simple data visualizations, such as a rolling heatmap of your best programming times by hour of the day.

Calendar integration
Integrate with Google Calendar to automatically set calendar events to protect your best programming times from meetings and interrupts.

More stats
See your best music for coding and the speed, frequency, and top files across your commits.

Why you should try it out

  • Automatic time reports by project
  • See what time you code your best—find your “flow”
  • Defend your best code times against meetings and interrupts
  • Find out what you can learn from your data

It’s safe, secure, and free

We never access your code
We do not process, send, or store your proprietary code. We only provide metrics about programming, and we make it easy to see the data we collect.

Your data is private
We will never share your individually identifiable data with your boss. In the future, we will roll up data into groups and teams but we will keep your data anonymized.

Free for you, forever
We provide 90 days of data history for free, forever. In the future, we will provide premium plans for advanced features and historical data access.

<!--- Begin: setup --->

Getting started

The Code Time plugin for Vim can be installed either manually or via your plugin manager of choice.

Manually

  1. Create or find your .vim directory
  2. Create a directory called bundle inside of your .vim folder
  3. Clone the Code Time plugin for Vim to your .vim/bundle directory:
git clone swdotcom/swdc-vim
  1. If you haven't created a .vimrc file, you'll have to create it first in your home directory
  2. Set the runtime path in your .vimrc file:
set runtimepath^=~/.vim/bundle/swdc-vim.vim
  1. Source your .vimrc in Vim: :source ~/.vimrc
  2. Log in: :SoftwareLogin

With VimPlug

  1. Add Plug 'swdotcom/swdc-vim' to your .vimrc so it looks something like this:
call plug#begin('~/.vim/plugins')
Plug 'swdotcom/swdc-vim'
call plug#end()
  1. Source your .vimrc in Vim: :source ~/.vimrc
  2. Install Code Time with :PlugInstall
  3. Log in: :SoftwareLogin

With Vundle

  1. Add Plugin 'swdotcom/swdc-vim' to your .vimrc so it looks something like this:
set nocompatiblefiletype offset rtp+=~/.vim/bundle/Vundle.vimcall 
vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'swdotcom/swdc-vim'
call vundle#end()
  1. Install Code Time with :PluginInstall
  2. Log in: :SoftwareLogin

With Pathogen

  1. Run the following commands in your terminal:
cd ~/.vim/bundlegit
clone https://github.com/swdotcom/swdc-vim.git
  1. If you're a new Pathogen user, set up your .vimrc so it looks something like this:
execute pathogen#infect() syntax on filetype plugin indent on
  1. Log in: :SoftwareLogin

With NeoBundle

  1. Add NeoBundle 'swdotcom/swdc-vim' to your .vimrc so it looks something like this:
set runtimepath+=~/.vim/bundle/neobundle.vim/
call neobundle#begin(expand('~/.vim/bundle/'))
NeoBundleFetch 'Shougo/neobundle.vim'
NeoBundle 'swdotcom/swdc-vim'
call neobundle#end()‍
filetype plugin indent on
  1. Install Code Time with :NeoBundleInstall
  2. Log in: :SoftwareLogin‍

<!--- End: setup --->

添加新评论