Update readme and debug mappings
This commit is contained in:
parent
e4e6fca765
commit
94ff554d8d
2 changed files with 9 additions and 5 deletions
|
@ -13,7 +13,10 @@ next up:
|
|||
* [ ] implement custom anchor creation function to go with custom regex
|
||||
* [ ] opening zettel should use generated link table for full filename anchor search
|
||||
* [x] need a default zettel directory to look in
|
||||
* [ ] implement fallback to filename
|
||||
* [ ] link following order should be:
|
||||
* [x] look up & follow anchor
|
||||
* [ ] look for filename in current dir (or relative/absolute link loc)
|
||||
* [ ] implement fallback to filename in any of zettel subdirs
|
||||
|
||||
## TODO: needed functionality
|
||||
|
||||
|
@ -54,6 +57,7 @@ next up:
|
|||
* [ ] keep tree of notes cached?
|
||||
* [ ] zettel maintenance
|
||||
* [ ] fix malformed anchors
|
||||
* [ ] fix-link function which looks for most similar file to be found and renames file/link automatically (after confirmation)
|
||||
* [ ] add missing anchors
|
||||
* [ ] 'rename' anchor (goes against stability?)
|
||||
* [ ] recognize duplicate anchors (in directory, when listing, etc)
|
||||
|
|
|
@ -15,9 +15,9 @@ augroup END
|
|||
|
||||
" example plug mappings
|
||||
" nnoremap <Plug>Zettel_Link :call zettelkasten#zettel_link()<cr>
|
||||
nnoremap <Plug>zettel_link_create :lua require 'zettelkasten'.create_zettel()<cr>
|
||||
vnoremap <Plug>zettel_link_create :lua require 'zettelkasten'.create_zettel()<cr>
|
||||
nmap <leader>i <Plug>zettel_link_create
|
||||
vmap <leader>i <Plug>zettel_link_create
|
||||
nnoremap <Plug>zettel_link_open :lua require 'zettelkasten'.open_link()<cr>
|
||||
vnoremap <Plug>zettel_link_open :lua require 'zettelkasten'.open_link()<cr>
|
||||
nmap <leader>i <Plug>zettel_link_open
|
||||
vmap <leader>i <Plug>zettel_link_open
|
||||
|
||||
let g:loaded_zettelkasten = 1
|
||||
|
|
Loading…
Reference in a new issue