Updates neovim config for notes
This commit is contained in:
parent
275d843fa1
commit
48470282d4
3 changed files with 5 additions and 1 deletions
|
|
@ -1,5 +1,6 @@
|
|||
return {
|
||||
"vimwiki/vimwiki",
|
||||
dependencies = { "freitass/todo.txt-vim" },
|
||||
init = function()
|
||||
vim.g.vimwiki_list = { { path = "~/notes", syntax = "markdown", ext = "md" } }
|
||||
vim.g.vimwiki_global_ext = 0
|
||||
|
|
@ -7,6 +7,9 @@ return {
|
|||
icons = { mappings = false },
|
||||
},
|
||||
keys = {
|
||||
{ "<leader>o", group = "open", mode = "n" },
|
||||
{ "<leader>ot", ":e ~/notes/todo.txt<cr>", desc = "Open todos", mode = "n" },
|
||||
{ "<leader>od", ":80 vsplit | :VimwikiMakeDiaryNote<cr>", desc = "Open diary note in split", mode = "n" },
|
||||
{ "<leader>.", "<cmd>FzfLua files<cr>", desc = "Find file in dir", mode = "n" },
|
||||
{ "<leader><leader>", "<cmd>FzfLua git_files<cr>", desc = "Find git file", mode = "n" },
|
||||
{ "<leader>B", "<cmd>FzfLua buffers<cr>", desc = "Opens buffers", mode = "n" },
|
||||
|
|
@ -97,7 +100,6 @@ return {
|
|||
desc = "Search current word",
|
||||
mode = "n",
|
||||
},
|
||||
{ "<leader>o", group = "org", mode = "n" },
|
||||
{ "<leader>t", group = "diagnostics (lsp)", mode = "n" },
|
||||
{
|
||||
"<leader>td",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue