All Projects → ActivityWatch → aw-watcher-vim

ActivityWatch / aw-watcher-vim

Licence: other
No description, website, or topics provided.

Programming Languages

Vim Script
2826 projects

aw-watcher-vim

Installation

This plugin depends on curl, so make sure that it's installed and available in your PATH

It is recommended to have a vim runtime manager to make it easier to install (such as Pathogen or Vundle)

Then simply clone this repository to the bundle folder in your vim config folder (usually ~/.vim/bundle or ~/.config/nvim/bundle for neovim)

Usage

Once installed in the bundle directory, it should load automatically if you have a vim runtime manager

:AWStart - start logging if not already logging
:AWStop - stop logging if logging
:AWStatus - verify that the watcher is running

If aw-watcher-vim loses connection it will give you an error message and stop logging. You then need to either run :AWStart or restart vim to start logging again

Configuration

The following global variables are available:

Variable Name Description Default Value
g:aw_apiurl_host Sets the host of the Api Url 127.0.0.1
g:aw_apiurl_port Sets the port of the Api Url 5600
g:aw_api_timeout Sets the timeout seconds of the Api request 2.0
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].