Git Product home page Git Product logo

pulse.nvim's Introduction

pulse.nvim

Easily manageable timers to keep on track while coding.

Pulse.nvim is a plugin for creating and managing personal timers. If you have telescope.nvim installed, pulse will also make use of its features for managing your timers.

Getting Started

Installation

Using packer.nvim

use {
    "linguini1/pulse.nvim",
    config = function() require("pulse").setup() end -- Call setup to get the basic config
}

Using lazy.nvim

{
    "linguini1/pulse.nvim",
    version = "*", -- Latest stable release
    config = function() require("pulse").setup() end -- Call setup to get the basic config
}

You must call setup() in order to get access to the editor commands and default functionality.

Configuration

The configuration for pulse.nvim is very simple. Below is the default configuration. See :h pulse.setup() for more information.

local pulse = require("pulse")
--- Default configuration settings
pulse.setup({
    level = vim.log.levels.INFO,
})

Once you have setup pulse.nvim, you can add timers using the below format. See :h pulse.add() for more information.

local pulse = require("pulse")
pulse.setup()
pulse.add("break-timer", {
    interval = 60,
    message = "Take a break!",
    enabled = true
})

Documentation

See :h pulse.nvim for documentation.

Attribution

This plugin was inspired by stand.nvim, a plugin which reminds you to stand.

pulse.nvim's People

Contributors

linguini1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

normanras

pulse.nvim's Issues

Installed, but no commands?

I can't quite figure out if this is a plugin manager issue or the plugin. I'm using Lazy, and it shows as installed (see screenshot), but none of the commands work.
pulse-nvim-issue

I've whittled the config down to a very basic setup using the readme. Any :Pulse* command says E492: Not an editor command:.

return {
  'linguini1/pulse.nvim',
    version = "*",
	-- config = function()
	--   require('pulse').setup{
	-- 	level = vim.log.levels.INFO,
	-- 	pulse.add("Test", {
	-- 	  interval = 90,
	-- 	  message = "Test Message!",
	-- 	  enabled = True,
	  -- })
  -- }
  -- end
}

By the way, with the command :PulseSetTimer, should the name param be in quotes?

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.