mirror of
https://github.com/Ascyii/telekasten.nvim.git
synced 2026-01-01 14:14:24 -05:00
update readme
This commit is contained in:
10
README.md
10
README.md
@@ -11,7 +11,7 @@ Every navigation action, like following a link, is centered around a Telescope s
|
||||
### The preview is a powerful feature
|
||||
Leaving the opening of the note to Telescope, you can decide with one keypress whether you want to open the note in a split or in the current window - or if you've seen enough.
|
||||
|
||||
I find that pressing the enter key to confirm the search does not interrupt my flow, and I really enjoy being able to check the preview. I often get enough information from the preview so I don't actually have to "visit" every note in terms of being able to edit it.
|
||||
I find that pressing the enter key to confirm the search does not interrupt my flow, and I really enjoy being able to check the preview. I often get enough information from the it alone so I don't actually have to "visit" every note in terms of being able to edit it.
|
||||
|
||||
## Install and setup
|
||||
|
||||
@@ -27,7 +27,7 @@ Plugin 'renerocksai/telekasten.nvim'
|
||||
### 2. Configure telekasten.nvim
|
||||
Somewhere in your vim config, put a snippet like this:
|
||||
|
||||
```vimscript
|
||||
```lua
|
||||
lua << END
|
||||
local home = vim.fn.expand("~/zettelkasten")
|
||||
require('telekasten').setup({
|
||||
@@ -180,8 +180,10 @@ nnoremap <leader>zt :lua require('telekasten').goto_today()<CR>
|
||||
nnoremap <leader>zw :lua require('telekasten').find_weekly_notes()<CR>
|
||||
nnoremap <leader>zn :lua require('telekasten').new_note()<CR>
|
||||
|
||||
" note: we define [[ in **insert mode** to call insert link
|
||||
inoremap [[ <ESC>:lua require('telekasten').insert_link()<CR>
|
||||
" we could define [[ in **insert mode** to call insert link
|
||||
" inoremap [[ <ESC>:lua require('telekasten').insert_link()<CR>
|
||||
" alternatively: leader [
|
||||
inoremap <leader>[ <ESC>:lua require('telekasten').insert_link()<CR>
|
||||
```
|
||||
|
||||
## The hardcoded stuff
|
||||
|
||||
Reference in New Issue
Block a user