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 3.6 Mutliple home directories *telekasten.switch_vaults*
You can have multiple home directories setup in telekasten. The configuration
for each vault is stored as a map in telekasten. You can use `switch_vaults
to launch a picker to choose the vaults.
================================================================================
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()
nnoremap # :lua require('telekasten').show_tags()
" 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 })
inoremap # lua require('telekasten').show_tags({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 guifg=#689d6a cterm=bold,underline gui=bold,underline
hi tkBrackets ctermfg=gray guifg=gray
" real yellow
hi tkHighlight ctermbg=yellow ctermfg=darkred cterm=bold guibg=yellow guifg=darkred gui=bold
" gruvbox
"hi tkHighlight ctermbg=214 ctermfg=124 cterm=bold guibg=#fabd2f guifg=#9d0006 gui=bold
hi link CalNavi CalRuler
hi tkTagSep ctermfg=gray guifg=gray
hi tkTag ctermfg=175 guifg=#d3869B
<
================================================================================
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: