joaomsa / telescope-orgmode.nvim Goto Github PK
View Code? Open in Web Editor NEWNeovim plugin. Telescope.nvim extension that adds orgmode.nvim integration.
License: MIT License
Neovim plugin. Telescope.nvim extension that adds orgmode.nvim integration.
License: MIT License
There has not been any activity in the repository for a while. I've tried contacting the developer personally and got no answer.
Thus I'm creating a fork to keep the package maintained.
If the dev ever comes back I wouldn't mind using the original repo as it looks he is more used to write lua code than me
Hi @joaomsa thanks for your wonderful plugin. I'm trying to improve my workflow of archiving, the problem comes when I archive a subtask, the parent is not tracked on the archive thus loosing the context.
I've seen that the refiling only allows you to move stuff around agenda files (which makes a lot of sense!), will you evaluate creating a new command something like :Telescope orgmode archive_heading
that lets you archive to a specific heading?
Thanks!
When refiling a level 3 heading or TODO item to a level 1 heading or TODO the level of the heading is not transformed to a level 2 heading or TODO.
The other way around does work, when refiling a level 1 element to a level 3 element, the refiled element level is transformed from level 1 to level 4.
test.org
with the minimal configuration below:* Heading 1
** Subheading 1
** Subheading 2
* Heading 2
*** SubSubheading 1
SubSubheading 1
section and use the refile methodtest.org/Heading 1
and press Enter.* Heading 1
** Subheading 1
** Subheading 2
*** SubSubheading 1
* Heading 2
As you can see now instead of belonging to Heading 1
it is listed under Subheading 2
which is not desirable. When working with TODO items is awful because you may loose the context of what the task is about as it's listed as a subtask of the task you want it to be.
The level of the SubSubheading is updated to match the first level children of the target of the refile. In this case the result file would be:
* Heading 1
** Subheading 1
** Subheading 2
** SubSubheading 1
* Heading 2
Note that it is ** SubSubheading 1
instead of *** SubSubheading 1
This has been solved at nvim-orgmode/orgmode
on this commit, but it doesn't work when using telescope-orgmode
.
An example that the other way around works as expected is the following:
* Heading 1
** Subheading 1
** Subheading 2
* Heading 2
*** SubSubheading 1
Subheading 1
into SubSubheading 1
the result file is* Heading 1
** Subheading 2
* Heading 2
*** SubSubheading 1
**** Subheading 1
When I refile a task from the capture window, the task is well refiled but the capture window with the task to capture is still open.
This is not the behaviour shown in the readme
My configuration is:
require('telescope').load_extension('orgmode')
vim.api.nvim_create_autocmd('FileType', {
pattern = 'org',
group = vim.api.nvim_create_augroup('orgmode_telescope_nvim', { clear = true }),
callback = function()
vim.keymap.set('n', '<leader>r', require('telescope').extensions.orgmode.refile_heading)
vim.keymap.set('n', '<leader>g', require('telescope').extensions.orgmode.search_headings)
end,
})
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.