aboutsummaryrefslogtreecommitdiffstats
path: root/nvim
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2023-04-08 17:49:55 +0100
committerMatthew Lemon <y@yulqen.org>2023-04-08 17:49:55 +0100
commit11c8477183da0e16bf150e9fac8da38826e2340c (patch)
tree491aeaac7f8bad23fce3708b65d770c172398294 /nvim
parent9f953b0eea5f3610cc78b7470d3030940939132d (diff)
Adds todo.txt support to neovim
I need to add keyboard shortcuts, but you get a buffer window.
Diffstat (limited to 'nvim')
-rw-r--r--nvim/after/plugin/todo-txt.lua7
-rw-r--r--nvim/lua/lemon/packer.lua4
2 files changed, 11 insertions, 0 deletions
diff --git a/nvim/after/plugin/todo-txt.lua b/nvim/after/plugin/todo-txt.lua
new file mode 100644
index 0000000..917805d
--- /dev/null
+++ b/nvim/after/plugin/todo-txt.lua
@@ -0,0 +1,7 @@
+require('todotxt-nvim').setup({
+ todo_file = "/home/lemon/Documents/Notes/todo/todo.txt",
+ sidebar = {
+ width = 60,
+ position = "right", -- default: "right"
+ },
+})
diff --git a/nvim/lua/lemon/packer.lua b/nvim/lua/lemon/packer.lua
index 9012d6d..5024f8c 100644
--- a/nvim/lua/lemon/packer.lua
+++ b/nvim/lua/lemon/packer.lua
@@ -6,6 +6,10 @@ vim.cmd.packadd('packer.nvim')
return require('packer').startup(function(use)
-- Packer can manage itself
use 'wbthomason/packer.nvim'
+ use {
+ 'arnarg/todotxt.nvim',
+ requires = {'MunifTanjim/nui.nvim'},
+ }
use("theprimeagen/harpoon")
use {
'nvim-telescope/telescope.nvim', tag = '0.1.0',