added back zk
This commit is contained in:
parent
58c434af81
commit
87921c606a
@ -38,4 +38,5 @@ require "user.cybu" -- cycle through current buffers
|
||||
require "user.dap" -- debugging
|
||||
require "user.lspsaga" -- bit overkill, using for code action menu
|
||||
require "user.neogen"
|
||||
require "user.zk"
|
||||
-- require "user.noice" -- fun with new ui
|
||||
|
||||
@ -156,6 +156,9 @@ return packer.startup(function(use)
|
||||
use("tpope/vim-surround")
|
||||
use("danymat/neogen")
|
||||
|
||||
-- Notes
|
||||
use("mickael-menu/zk-nvim")
|
||||
|
||||
-- Keybinding
|
||||
use("folke/which-key.nvim")
|
||||
|
||||
|
||||
@ -241,6 +241,13 @@ local mappings = {
|
||||
p = { "<cmd>TSPlaygroundToggle<cr>", "Playground" },
|
||||
r = { "<cmd>TSToggle rainbow<cr>", "Rainbow" },
|
||||
},
|
||||
|
||||
N = {
|
||||
name = "Notes (zk)",
|
||||
n = { "<cmd>ZkNew<cr>", "New Note" },
|
||||
e = { "<cmd>ZkNotes<cr>", "Edit Notes" },
|
||||
t = { "<cmd>ZkTags<cr>", "Edit Related Notes" },
|
||||
},
|
||||
}
|
||||
|
||||
local vopts = {
|
||||
|
||||
6
.config/nvim/lua/user/zk.lua
Normal file
6
.config/nvim/lua/user/zk.lua
Normal file
@ -0,0 +1,6 @@
|
||||
local s_ok, zk = pcall(require, "zk")
|
||||
if not s_ok then
|
||||
return
|
||||
end
|
||||
|
||||
zk.setup()
|
||||
Loading…
Reference in New Issue
Block a user