mirror of
https://github.com/Ascyii/telekasten.nvim.git
synced 2026-01-01 14:14:24 -05:00
corrections in readme
This commit is contained in:
13
README.md
13
README.md
@@ -31,7 +31,8 @@ require('telekasten').setup({
|
|||||||
-- download tool for daily_finder installation: curl or wget
|
-- download tool for daily_finder installation: curl or wget
|
||||||
downloader = 'curl',
|
downloader = 'curl',
|
||||||
-- downloader = 'wget', -- wget is supported, too
|
-- downloader = 'wget', -- wget is supported, too
|
||||||
}
|
})
|
||||||
|
END
|
||||||
```
|
```
|
||||||
|
|
||||||
### 3. Install the daily finder
|
### 3. Install the daily finder
|
||||||
@@ -67,13 +68,13 @@ To use one of the functions above, just run them with the `:lua ...` command.
|
|||||||
Usually, you would set up some key bindings, though:
|
Usually, you would set up some key bindings, though:
|
||||||
|
|
||||||
```vimscript
|
```vimscript
|
||||||
nnoremap <leader>zf :lua require('telekasten').find_notes()
|
nnoremap <leader>zf :lua require('telekasten').find_notes()<CR>
|
||||||
nnoremap <leader>zd :lua require('telekasten').find_daily_notes()
|
nnoremap <leader>zd :lua require('telekasten').find_daily_notes()<CR>
|
||||||
nnoremap <leader>zg :lua require('telekasten').search_notes()
|
nnoremap <leader>zg :lua require('telekasten').search_notes()<CR>
|
||||||
nnoremap <leader>zz :lua require('telekasten').follow_link()
|
nnoremap <leader>zz :lua require('telekasten').follow_link()<CR>
|
||||||
|
|
||||||
" note: we define [[ in **insert mode** to call insert link
|
" note: we define [[ in **insert mode** to call insert link
|
||||||
inoremap [[ :lua require('telekasten').insert_link()
|
inoremap [[ <ESC>:lua require('telekasten').insert_link()<CR>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user