Comment by freedomben
1 day ago
I went through something similar. I do use Logseq now, but for many, many years I found a notes.txt or todo.txt file in my home directory to be an excellent solution. I typically just write the date at the top of the file and put the notes underneath. A huge benefit is that I can trivially keep these under git. I keep them in my dotfiles repo so they can be easily synchronized to all my devices. A couple of shortcuts makes it quite fluid:
A bash alias so I can run `todo` and have the file open:
alias todo='nvim "$HOME/.todo.txt"'
Some vim config so I can run `\date` (from either insert mode or normal mode) and it will print a date line for me:
inoremap <Leader>date <C-r>=trim(system('date "+%a %B %e, %Y %H:%M:%S %p"'))<CR>
nnoremap <Leader>date :put=trim(system('date \"+%a %B %e, %Y %H:%M:%S %p\"'))<CR><ESC>
You can perhaps use `strftime` instead of `trim(system('date ..))`:
I am also not sure if an `<esc>` is really necessary at the end of your normal mode map.
I have this in tmux opening a flaoting window with neovim and <leader>g to search by tags which opens quickfix pane