Yanks a link to the selected note / image, ready for asting.
The option `close_after_yanking` defines whether the telescope window should
be closed when the link has been yanked.
/
Usually opens the selected note or performs the action defined by the called
function. E.g. `insert_img_link()`'s action is to insert a link to the
selected image.
================================================================================
Section 4: Suggested Mappings *telekasten.mappings*
Telekasten.nvim does not come with pre-defined mappings.
However, here are some suggestions:
>
nnoremap zf :lua require('telekasten').find_notes()
nnoremap zd :lua require('telekasten').find_daily_notes()
nnoremap zg :lua require('telekasten').search_notes()
nnoremap zz :lua require('telekasten').follow_link()
nnoremap zT :lua require('telekasten').goto_today()
nnoremap zW :lua require('telekasten').goto_thisweek()
nnoremap zw :lua require('telekasten').find_weekly_notes()
nnoremap zn :lua require('telekasten').new_note()
nnoremap zN :lua require('telekasten').new_templated_note()
nnoremap zy :lua require('telekasten').yank_notelink()
nnoremap zc :lua require('telekasten').show_calendar()
nnoremap zC :CalendarT
nnoremap zi :lua require('telekasten').paste_img_and_link()
nnoremap zt :lua require('telekasten').toggle_todo()
nnoremap zb :lua require('telekasten').show_backlinks()
nnoremap zF :lua require('telekasten').find_friends()
nnoremap zI :lua require('telekasten').insert_img_link({ i=true })
nnoremap zp :lua require('telekasten').preview_img()
nnoremap zm :lua require('telekasten').browse_media()
" we could define [[ in **insert mode** to call insert link
" inoremap [[ :lua require('telekasten').insert_link()
" alternatively: leader [
inoremap [ :lua require('telekasten').insert_link({ i=true })
inoremap zt :lua require('telekasten').toggle_todo({ i=true })
" the following are for syntax-coloring [[links]] and ==highlighted text==
" (see the section about coloring in README.md)
" colors suitable for gruvbox color scheme
hi tkLink ctermfg=72 cterm=bold,underline
hi tkBrackets ctermfg=gray
" highlight ==highlighted== text
hi tkHighlight ctermbg=yellow ctermfg=darkred cterm=bold
" for calendar, I prefer less prevalent navigation buttons
hi link CalNavi CalRuler
<
================================================================================
Section 5: Credits *telekasten.credits*
Credits go to:
* {Conni2461} on GitHub for the awesome pull request and support!
* {NeoVim} and its awesome community
* {Telescope.nvim} and its awesome community
* {ThePrimeagen} and {TJ} aka {teej_dv} aka {TJDeVries} of twitch
(and vimconf and ...) fame for being awesome and inspiring!
vim:tw=78:ts=8:ft=help:norl: