AutoYADM commit: 2025-01-25 16:45:03
This commit is contained in:
parent
eb000f4238
commit
ceca7d6d6e
2 changed files with 26 additions and 12 deletions
|
@ -108,12 +108,20 @@ return {
|
||||||
{ icon = " ", key = "n", desc = "New File", action = ":ene | startinsert" },
|
{ icon = " ", key = "n", desc = "New File", action = ":ene | startinsert" },
|
||||||
{
|
{
|
||||||
action = function()
|
action = function()
|
||||||
require("telescope").extensions.orgmode.search_headings()
|
require("fzf-org").files()
|
||||||
end,
|
end,
|
||||||
desc = "Org",
|
desc = "Org Files",
|
||||||
icon = " ",
|
icon = " ",
|
||||||
key = "o",
|
key = "o",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
action = function()
|
||||||
|
require("fzf-org").orgmode()
|
||||||
|
end,
|
||||||
|
desc = "Org Headlines",
|
||||||
|
icon = " ",
|
||||||
|
key = "/",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
action = ":Org agenda a",
|
action = ":Org agenda a",
|
||||||
desc = "Agenda",
|
desc = "Agenda",
|
||||||
|
|
|
@ -6,30 +6,36 @@ return {
|
||||||
"nvim-orgmode/orgmode",
|
"nvim-orgmode/orgmode",
|
||||||
},
|
},
|
||||||
keys = {
|
keys = {
|
||||||
-- example keybindings
|
|
||||||
{
|
{
|
||||||
"<leader>og",
|
"<leader>ofh",
|
||||||
function()
|
function()
|
||||||
require("fzf-org").orgmode()
|
require("fzf-org").orgmode()
|
||||||
end,
|
end,
|
||||||
desc = "org-browse",
|
desc = "Org Headlines",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"<leader>of",
|
"<leader>off",
|
||||||
function()
|
function()
|
||||||
require("fzf-org").files()
|
require("fzf-org").files()
|
||||||
end,
|
end,
|
||||||
desc = "org-files",
|
desc = "Org Files",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"<leader>or",
|
"<leader>ofr",
|
||||||
function()
|
function()
|
||||||
require("fzf-org").refile_to_file()
|
require("fzf-org").refile_to_file()
|
||||||
end,
|
end,
|
||||||
desc = "org-refile",
|
desc = "Org Refile",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
opts = {
|
opts = function()
|
||||||
prompt = "Org > ",
|
local wk = require("which-key")
|
||||||
|
wk.add({
|
||||||
|
{
|
||||||
|
"<leader>of",
|
||||||
|
group = "fzf org",
|
||||||
},
|
},
|
||||||
|
})
|
||||||
|
return {}
|
||||||
|
end,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue