dhruvasagar / vim-dotoo

Org-mode like task logging & time tracking in Vim
554 stars 27 forks source link

Agenda Commands #129

Open frrobert2 opened 3 years ago

frrobert2 commented 3 years ago

I downloaded vim-dotoo and I am slowly getting things to work but I am still having and issue in Agenda View. I can not get any of the following to work.

: Open headline under cursor & close agenda : Open headline under cursor in split : Open headline under cursor in tab : Open headline under cursor in vsplit : same as Every other command seems to be working. Reading through I made sure hidden is on and let g:dotoo#capture#refile = ['/home/frrobert/Documents/dotoo-files/refile.dotoo'] let g:dotoo#agenda#files = ['/home/frrobert/Documents/dotoo-files/*.dotoo'] are valid and working I also turned off my other plugins in case that was an issue I am sure it is something I am not doing correctly. Thanks for any help you can provide.
dhruvasagar commented 3 years ago

@frrobert2 I am assuming you meant that when you use the mappings as documented for the agenda view, they aren't working. Do you get an error ? Kindly also share your vim version output.

frrobert2 commented 3 years ago

@dhruvasagar You are correct, it is the mappings for the agenda view. No errors, when I press the key or key combination nothing happens and it only happens with the open headline commands.

Here is my nvim version information.

NVIM v0.4.3 Build type: Release LuaJIT 2.1.0-beta3 Compilation: /usr/bin/cc -g -O2 -fdebug-prefix-map=/build/neovim-gOb7vg/neovim-0.4.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=1 -DDISABLE_LOG -Wdate-time -D_FORTIFY_SOURCE=1 -O2 -DNDEBUG -DMIN_LOG_LEVEL=3 -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fdiagnostics-color=always -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -I/build/neovim-gOb7vg/neovim-0.4.3/build/config -I/build/neovim-gOb7vg/neovim-0.4.3/src -I/usr/include -I/usr/include/lua5.1 -I/build/neovim-gOb7vg/neovim-0.4.3/build/src/nvim/auto -I/build/neovim-gOb7vg/neovim-0.4.3/build/include Compiled by team+vim@tracker.debian.org

Features: +acl +iconv +tui See ":help feature-compile"

system vimrc file: "$VIM/sysinit.vim" fall-back for $VIM: "/usr/share/nvim"

dhruvasagar commented 3 years ago

Can you also share the output of executing :verb map <CR> on the agenda buffer ? I will try to test this on nvim, since I don't actively use nvim there's a possibility we broke something specifically on nvim.

frrobert2 commented 3 years ago

I tried vim also and the same issue.

Results n @:call dotoo#agenda#goto_headline('edit')
Last set from ~/.vim/pack/frrobert/opt/vim-dotoo/ftplugin/dotooagenda.vim line 35

Thanks for your help

dengcqw commented 8 months ago

use noremap to define command

dhruvasagar commented 8 months ago

@frrobert2 Is this still an issue ? @dengcqw what's the context ?