mirror of https://github.com/LazyVim/starter
parent
7130cd4d06
commit
8bc66e3d07
|
@ -1,3 +1,11 @@
|
|||
-- Keymaps are automatically loaded on the VeryLazy event
|
||||
-- Default keymaps that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/keymaps.lua
|
||||
-- Add any additional keymaps here
|
||||
|
||||
local map = vim.keymap.set
|
||||
|
||||
-- Oil Nvim
|
||||
map("n", "<leader>op", "<CMD>Oil<CR>", { desc = "Open parent directory" })
|
||||
|
||||
-- Markdown related
|
||||
map("n", "<leader>ct", ":lua require('toggle-checkbox').toggle()<CR>", { desc = "Toggle Checkbox" })
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
return {
|
||||
-- add oil
|
||||
{
|
||||
"stevearc/oil.nvim",
|
||||
opts = {},
|
||||
-- Optional dependencies
|
||||
dependencies = { "nvim-tree/nvim-web-devicons" },
|
||||
},
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
return {
|
||||
-- add plugin
|
||||
{
|
||||
"opdavies/toggle-checkbox.nvim",
|
||||
},
|
||||
}
|
Loading…
Reference in New Issue