1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 13:40:05 +08:00

Compare commits

..

No commits in common. "7afbd83a89816511a140926a7dd9b221c842146a" and "5f34976cd45b60586848d5ae1caebd49951af47c" have entirely different histories.

3 changed files with 8 additions and 23 deletions

View File

@ -73,14 +73,6 @@ if vim.fn.mapcheck('[I', 'n') == '' then
require('zettelkasten.browser').open_tag_tree()
end,
})
vim.api.nvim_buf_set_keymap(0, 'n', '<Enter>', '', {
noremap = true,
silent = true,
nowait = true,
callback = function()
vim.cmd('normal 0gf')
end,
})
end
local config = require('zettelkasten.config')

View File

@ -11,7 +11,6 @@ vim.opt_local.bufhidden = 'wipe'
vim.opt_local.syntax = 'zktagstree'
vim.opt_local.buftype = 'nofile'
vim.opt_local.swapfile = false
vim.opt_local.winfixwidth = true
vim.api.nvim_buf_set_keymap(0, 'n', '<F2>', '', {
noremap = true,
silent = true,

View File

@ -39,20 +39,14 @@ update your custom configuration file with:
## Key bindings
| Key bindings | description |
| ------------ | -------------------------------------- |
| `SPC m z n` | create new note |
| `SPC m z t` | create new note with template |
| `SPC m z b` | open zettelkasten browse |
| `SPC m z g` | filter zettelkasten tags via telescope |
| Key bindings | description |
| ------------ | ----------------------------- |
| `SPC m z n` | create new note |
| `SPC m z t` | create new note with template |
| `SPC m z b` | open zettelkasten browse |
In the zettelkasten browse buffer:
| key bindings | description |
| --------------- | ---------------------------------- |
| `F2` | open zettelkasten tags sidebar |
| `<LeftRelease>` | filter notes based on cursor tag |
| `gf` | open the note |
| `Ctrl-l` | clear tags filter pattarn |
| `Ctrl-] / K` | preview note in vim preview-window |
| `[I` | list references in quickfix-window |
| key bindings | description |
| ------------ | ---------------- |
| `K` | preview the note |