telekasten.nvim icon indicating copy to clipboard operation
telekasten.nvim copied to clipboard

[BUG] `Telekasten find_notes` throws error when using `TAB` to cycle through notes

Open stonemaster opened this issue 10 months ago • 0 comments

Please confirm

  • [X] I am running the latest version of this plugin

Describe the bug When I use :Telekasten find_notes a telescope picker is opened showing my notes. When I try to use the TAB key I get the following error and the picker is closed. Cycling through notes using UP and DOWN arrow keys works fine. I can confirm that TAB works without issues in other Telescope based pickers (finding files, symboles etc...)

E5108: Error executing lua: ...local/share/nvim/lazy/telekasten.nvim/lua/telekasten.lua:1097: Vim:E21: Cannot make changes, 'modifiable' is off
stack traceback:
	[C]: in function 'nvim_put'
	...local/share/nvim/lazy/telekasten.nvim/lua/telekasten.lua:1097: in function 'key_func'
	...hare/nvim/lazy/telescope.nvim/lua/telescope/mappings.lua:269: in function <...hare/nvim/lazy/telescope.nvim/lua/telescope/mappings.lua:268>

To Reproduce Steps to reproduce the behavior:

  1. Start nvim
  2. Run :Telekasten find_notes
  3. Hit TAB key

Operating system (please complete the following information):

  • Ubuntu 23.10
  • NVIM 0.9.5
  • LazyVim based setup with current main

stonemaster avatar Mar 29 '24 09:03 stonemaster