From 4f73f3cea017dd7a7b79f171f58ccebd253789b3 Mon Sep 17 00:00:00 2001 From: Harm te Molder Date: Thu, 10 Oct 2024 08:39:10 +0200 Subject: [PATCH] Add installation instructions for LazyVim --- README.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1deaba3..97f6f18 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,22 @@ aw-watcher-nvim - `curl` - `git` (Optional, only if `aw_branch` is true) +### Installation with LazyVim + +Add the following to your plugins folder as `aw-watcher-nvim.lua`: + +```lua +return { + { + "Luxed/aw-watcher-nvim", + cmd = "AWStart", + keys = {}, + opts = {}, + }, +} + +``` + ### Configuration Even though this is a Neovim only version, its configuration is still fully backwards compatible with the [vim version](https://github.com/ActivityWatch/aw-watcher-vim). @@ -40,7 +56,7 @@ local aw_section = { } ~~~ -To make this "section" work, see the lualine documentation [here](https://github.com/nvim-lualine/lualine.nvim#usage-and-customization). +To make this "section" work, see the lualine documentation [here](https://github.com/nvim-lualine/lualine.nvim#usage-and-customization). To have the same configuration as in the pictures, do the following: ~~~lua