Commit Graph

524 Commits

Author SHA1 Message Date
b3ac2b07f2 update the default home dir (only for me) 2025-04-30 22:42:26 +02:00
ddcf2f6ae0 disable the calendar feature 2025-04-10 18:44:13 +02:00
9c7cbac4c3 init fork and change default for calendar integration 2025-04-10 18:39:20 +02:00
Coutinho de Souza
6a10a79294 feat: use generate_note_filename for renaming notes (#345) 2024-10-26 18:46:34 +00:00
Elias Bourgess
b695fa6eff Fix: cfg to Cfg (closes #346) 2024-10-15 16:33:37 +00:00
Ethan Rooke
c1c7a5d563 feat: add filename_small_case (#344)
Add an option to cast the new filename to lowercase. Closes #311.
2024-10-13 12:54:31 +00:00
Tonitum
ae6473da3d fix: remove hard-coded "weekly" in folder creation prompt (#343) 2024-09-18 18:26:24 +00:00
Tonitum
319276a785 fix: daily/weekly search when the folder is set to the base folder
* refs 321-daily-weekly-picker: feat: added plenary pattern/depth options to address behavior when the weekly/daily folder is configured to the same as the base notes folder

* refs 321-daily-weekly-picker: format: address styling

closes #321
2024-04-22 08:14:27 +00:00
Tonitum
24fd8c1e7e feat: Tab autocompletes with folders in notes home directory (#326)
* refs 293-tab-complete-fix: feat: changing the current working directory when creating a new note to the configured home directory

* refs 293-tab-complete-fix: format(telekasten): removing trailing whitespace in comments

closes #293 
closes #277
2024-04-17 07:33:27 +00:00
andy941
3ef86c924b feat: Add option to choose clipboard program (#322)
* Refactor and add option to choose clipboard program

* Warn user early when clipboard program specified is not executable

closes #320
2024-04-17 07:16:16 +00:00
Tonitum
adbe1ea3c2 Fix journal_auto_open clash with calendar (fixes #324)
* refs journal-auto-open-fix: doc: adding documentation of the journal_auto_open configuration option

* refs journal-auto-open-fix: fix: correcting the behavior of gotodate and gotothisweek when opening a day from the calendar and the journal_auto_open option is set

closes #324
2024-04-16 07:40:29 +00:00
Thomas Lambert
39c7945d6d doc: remove mention of telekasten's wiki (close #318) 2024-04-08 14:38:41 +02:00
Erik Fasterius
a684d6ebe7 fix: (WIP) allow following line-split links on the first line (#309)
Currently only works when the cursor is on the first line. 
This PR must be followed by a second one that would make it work when the cursor is on the second line. However, this requires significantly more work.
2024-02-27 13:10:16 +00:00
Erik Fasterius
f98279707d fix: Allow link syntax highlights to cross lines (#308) 2024-02-26 19:32:14 +00:00
fz0x1
434e74ad30 feat: add xsel for pasting images
* https://github.com/renerocksai/telekasten.nvim/issues/131

- fixed a problem with `xclip` in linux (added `xsel`)

* removed debug info

* xclip
2024-02-26 19:28:46 +00:00
Inom Turdikulov
1f725fca21 feat: add custom media_extensions support (#306)
* Add custom media_extensions support

Customize insert image and preview image files list. This is useful to
add optional filetypes into filtered list (for example
telescope-media-files optionally supporting svg preview)

* Make media_extension option matching to default one
2024-02-26 10:02:22 +00:00
lambtho
872b83f619 Fix: reset register after following external link 2024-02-22 14:52:48 +00:00
Erik Fasterius
d2b7c2c4d4 Fix: Allow disabling <C-n> mapping for note creation in picker (#302)
* Enable config for creation of new note with Ctrl-n

* Add `enable_create_new` documentation
2024-02-21 11:10:00 +00:00
lambtho
8c2b3889eb Merge pull request #290 from ALizarazoTellez/backlinks-title-parentheses
Escape parentheses from titles when searching for backlinks
2023-12-11 12:15:26 +00:00
Anderson Lizarazo Tellez
d6e4990425 Escape parentheses from titles when searching for backlinks 2023-10-30 11:28:44 -05:00
Thomas Lambert
3fd50c62c1 fix: allow insert_link to newfile (closes #286) 2023-10-12 09:23:44 +02:00
lambtho
bd5d323581 Merge pull request #276 from ekliot/main
Make aliased wikilink highlighting consistent
2023-09-08 09:44:03 +00:00
Elijah Kliot
bf011af80b move to doc 2023-09-07 23:06:46 -06:00
Elijah Kliot
935db31663 deprecation note 2023-09-07 23:03:09 -06:00
lambtho
584783fdbd Merge pull request #282 from csams/issue-281
Fix FollowLink when searching tags.
2023-08-11 08:49:23 +00:00
Christopher Sams
1b00802aa0 Fix FollowLink when searching tags.
When FollowLink is called from the show_tags picker, it searches for the
word that was under the cursor instead of the selected tag. This PR
changes FollowLink so it instead searches for the selected tag.

Signed-off-by: Christopher Sams <cwsams@gmail.com>
2023-08-10 22:14:44 -05:00
lambtho
786a35a6b8 Merge pull request #280 from olejech/main-1
doc: fix typo in config
2023-08-09 12:31:24 +00:00
Oleg
273f49004a Update telekasten.txt 2023-08-09 10:47:57 +03:00
Thomas Lambert
c9fa6e1cb4 doc: fix undocumented @tag notation (closes #273) 2023-07-25 22:07:57 +02:00
Thomas Lambert
70a01f8d80 doc: fix small errors (closes #273) 2023-07-25 11:27:10 +02:00
lambtho
cd6e2af227 Merge pull request #274 from cnshsliu/main
Allow Chinese characters in tags
2023-07-25 08:44:46 +00:00
ekliot
3b901728a2 fix highlighted aliased links concealment 2023-07-23 23:55:02 +00:00
ekliot
e7ea7af18e update documentation 2023-07-23 23:24:19 +00:00
ekliot
d030b52e2d make aliased wikilink highlighting consistent 2023-07-23 23:16:04 +00:00
Liu Kehong
f2fba2c3cc Allow Chinese characters in tags 2023-07-21 13:35:51 +08:00
lambtho
4a5e57eee9 Merge pull request #268 from Sleepful/main
Create subdirs when creating new note
2023-07-11 11:13:37 +00:00
Sleepful
96ceab0362 Fixes bug with new callback flow
With the new callback parameter it becomes necessary to fill the nil arguments
of a function if it is to receive the callback as the last argument

to reproduce bug try creating a new weekly note.
2023-07-10 16:09:53 -06:00
Sleepful
c4b60d76c1 correction: wrong var name 2023-07-10 00:23:51 -06:00
lambtho
3f14aad233 Merge pull request #267 from thw26/patch-1
Update README.md
2023-07-07 08:16:21 +00:00
Sleepful
2576725041 Update check_dir_and_ask: async for vim.ui.select
vim.ui.select is meant to be used as an asynchronous operation,
in order to do this, it receives a callback as a third argument.

This commit adjusts check_dir_and_ask to leverage the asynchronous
usage of vim.ui.select, as a side effect to make this work, I also
refactored the code that depends on the function in order to leverage
the asynchronous operations.

References:
- https://github.com/stevearc/dressing.nvim/issues/80#issuecomment-1380734202
- https://github.com/stevearc/dressing.nvim
- https://github.com/neovim/neovim/pull/15771

Fixes:
- https://github.com/renerocksai/telekasten.nvim/issues/266

One reason this bug can sneak into the codebase is because the
default unmodified behavior of vim.ui.select is to use the
:Messages section of neovim to ask for input and this UI is
a synchronous blocking operation. However, this is not the
intended usage of vim.ui.select as presented above.
2023-07-06 14:21:23 -06:00
Sleepful
b6ff784fbb Update README with correct configuration name 2023-07-06 14:20:47 -06:00
Sleepful
f2f517d0c8 Create subdirs when creating new note
previously it failed with error message
2023-07-05 22:34:48 -06:00
T. H. Wright
9eec9327c6 Update README.md
Resolves #250.
2023-07-05 12:16:44 -04:00
lambtho
eb1d228e8d Merge pull request #265 from defntvdm/main
Fix vaults setup and follow_link doc
2023-07-03 13:56:02 +00:00
Vadim Nikolaev
75d615e9aa Fix vaults setup and follow_link doc 2023-06-28 15:09:36 +05:00
lambtho
36dad26929 Merge pull request #259 from aidangrigg/yank-register-fix
fix: TK functions no longer override default registers (closes #184)
2023-06-04 19:31:42 +00:00
aidangrigg
68c2f50ca3 fix: TK functions no longer override default registers (#184) 2023-06-04 10:12:58 +10:00
lambtho
557b960887 Merge pull request #253 from nesaro/main
fix show_tags for some users
2023-05-30 07:26:44 +00:00
Nestor Arocha
c10a79326e set show_link_counts = false in FindAllTags second prompt
Some users experience an empty dialog after calling show_tags, when the tag has been selected and a prompt with the files that contain the tag should appear.

My understanding is that the flag will call linkutils.generate_backlink_map to get a list of backlinks. I can't see the purpose for the count in the context of showing tags, so I believe that false should be the value for all cases
2023-05-27 12:57:09 +00:00
T. H. Wright
8a8daa0ea1 Add @tag support (#247)
Co-authored-by: T. H. Wright <thwright@redemption.studio>
2023-05-19 19:04:30 +00:00