Commit Graph

284 Commits

Author SHA1 Message Date
Rene Schallner
db45a161ad auto_set_synax. closes #208 2023-01-25 20:25:17 +01:00
skovati
7a6e89131e Add filename_space_subst config option (#198)
* add filename_space_subst configuration option

* add docs for new filename_space_subst

* fix template refactor bug
2023-01-07 21:05:14 +00:00
skovati
00026d6295 Add new precise time (hour:min:sec) templating options (#197)
* add new more precise time templating options

* add docs for new time template options
2023-01-03 13:46:27 +00:00
skovati
8d3f97b729 Add custom function option for UUID generation (#194)
* add custom function option for UUID generation

* add docs for new UUID custom function option
2023-01-02 11:27:38 +00:00
Thomas Lambert
acc5f0e333 fix: issue with insertLink not pasting (closes #190, #192) 2022-12-15 09:14:19 +01:00
Hayao Kimura ( hachi )
9de25d1657 Add with live grep option to insert link function and find notes function (closes #188)
* add with_live_grep option to InsertLink function
* add with_live_grep option to FindNotes function
* update documents
2022-11-27 16:33:54 +00:00
Alexander Lay-Calvert
04deff8579 fix(toggle_todo): fixes wrong visual range for ToggleTodo (closes #187)
* Added fix for visual toggle problems
* Updated docs
2022-11-23 21:28:24 +00:00
Ilia Ilinykh
f4f836d4b4 Fix: make follow link work with brackets (closes #183)
Added col correction to lua/taglinks/taglinks.lua.
2022-11-21 08:07:27 +00:00
Ilia Ilinykh
611d2923d3 WikiLink aliases (#181)
* Added ability to remove link alias

* Added spaces regex 'note | alias' will be displayed correctly.

* show_backlinks

* find_friends

* Fixed simple link processing

* updated style

hide link body when it's aliased

* Review fix

* syntax review fix

* more fixeS

* Documentation

* format fix

* Added documentation
2022-11-14 19:34:52 +00:00
Thomas Lambert
de4502bd55 fix: issue with special char in new filename (closes #178) 2022-11-08 20:45:20 +01:00
Anatolii Kurotych
60808e8e59 Add follow_url_fallback config option (#172)
* Add follow_link_fallback config option
* Update README.md
* Rename follow_link_fallback to follow_url_fallback. Change logic of configuring
2022-10-17 20:00:24 +00:00
Anatolii Kurotych
04a4ecb0de Add wl-paste support (#168)
* Add wl-paste support

* Apply stylua

* Update README
2022-10-04 10:31:25 +02:00
Thomas Lambert
0f53c256da refact(prompt_title): move strip_extension to utils 2022-10-03 11:54:53 +02:00
Thomas Lambert
e0c7d29679 feat(rename): save all buffers if ft~=telekasten 2022-10-03 11:21:06 +02:00
Thomas Lambert
0a8a21f724 refact: replace vim.fn.input by vim.ui.select
The vim.ui.select allows style customizations for the users. This
is much more modern and in phase with the general spirit of neovim.
2022-10-03 10:48:31 +02:00
Thomas Lambert
fb7f476dcd refact(rename): use prompt helper 2022-09-29 11:38:40 +02:00
Thomas Lambert
76919abaaf fix(prompt): allow cancelling title input 2022-09-29 11:38:39 +02:00
Thomas Lambert
74ba88dd98 style: run stylua 2022-09-28 22:35:11 +02:00
Thomas Lambert
74636e7416 feat(todo): add onlyTodo option 2022-09-28 22:27:03 +02:00
Thomas Lambert
31af52ed76 style: run stylua 2022-09-28 22:27:02 +02:00
lambtho
4e63d1f798 Merge pull request #165 from alex-laycalvert/main
Added Toggling Todos in Visual Range
2022-09-28 15:01:51 +00:00
Thomas Lambert
232799accf fix: bug with uuid and subdir
This ensures the UUID is placed before the _filename_ part and not
before the _subdir_ part if the title of the new file is specified as
`subdir/myfile`
2022-09-27 21:58:22 +02:00
Thomas Lambert
9a2549afd1 style: run stylua 2022-09-27 21:58:21 +02:00
Alexander Lay-Calvert
5b460a07a0 Fixed bug with wrong visual ranges 2022-09-24 22:12:58 -04:00
Alexander Lay-Calvert
a0a04beaac Added toggling todos from a visual selection by passing ranges into the Telekasten command 2022-09-24 13:50:52 -04:00
Alexander Lay-Calvert
b2e4c52b17 Styled 2022-09-23 14:27:15 -04:00
Alexander Lay-Calvert
1d30d5c432 Implemented a shorttitle substitution for templates, when creating notes in subdirs the shorttitle only uses that last part of the filename, not the entire path 2022-09-23 14:16:08 -04:00
Rene Schallner
fdb089daf6 added viu img previewer support 2022-08-19 16:25:24 +02:00
Rene Schallner
0c843429ab Fix media_previewer config option default handling 2022-08-18 22:57:16 +02:00
Rene Schallner
7d4505b000 added media previewer alternative catimg 2022-08-18 17:30:25 +02:00
Rene Schallner
c126bf2592 :Telekasten switch_vault (with underscore) 2022-08-18 16:23:35 +02:00
Rene Schallner
747d522fa4 Added switch vault to command palette 2022-08-18 15:53:41 +02:00
Shivanth
fa66746981 Squashed PR #158 and fixup into 1 commit
Squashed PR#158 into 1 single commit;

        Add vaults

        Add documentation:

        Make luachack happy.

        Address review comments

    fixed tabs and formatting of PR #158
2022-08-17 23:03:33 +02:00
jkub6
5422b74fd8 add check for current setting 2022-07-22 11:18:05 -06:00
Adriano Correa
5798c40d0b Merge pull request #1 from renerocksai/main
Fix calendar
2022-07-15 09:23:25 -03:00
Rene Schallner
67a6e917b8 Merge pull request #123 from ernie/observe-calendar-monday
Observe calendar monday option correctly
2022-07-14 01:47:17 +02:00
Rene Schallner
81f7e54a77 Merge pull request #122 from ernie/hide-numbers-on-calendar-display
Hide numbers on calendar display.
2022-07-14 01:45:55 +02:00
Adriano Correa
be91092e21 fix: Remove CleanPath function, which is causing errors on Windows machines (fixes #151) 2022-07-13 09:28:56 -03:00
lambtho
994a44999f Fix pcre2 issue with ripgrep (closes #145) (#148)
* fix(tags): fix rg command if PCRE not available (closes #145)

Some linux distro do not compile ripgrep using the --pcre2 flag.
This commit checks if the --pcre2 flag is available and then tweaks the
ripgrep command accordingly.

At the moment, it will therefore not be possible to filter-out
hexademical color codes from #tags for people that do not have the
--pcre2 flag available. This will be documented in a later commit.

**Important**: the detection of the PCRE availability is done by trying
a simple rg search using _os.execute_. This function interface was
changed in Lua 5.2, which means it will break when Neovim will update to
Lua >5.1. The fix is already there in commented form.

Fixes #145

* refact: cleanup

* doc(tag): add note about rg --pcre2

* doc(tag): add note about rg --pcre2 in vim help
2022-06-26 17:49:19 +00:00
lambtho12
440033919e fix(tags): yaml tags parsing (closes #142) 2022-06-13 09:14:11 +02:00
Thomas Lambert
b2ed311f28 fix(tags): no spaces after comma (see #142) 2022-06-12 16:50:13 +02:00
lambtho12
a4dd1690a0 fix(tags): spaces after brackets (closes #142)
Signed-off-by: Thomas Lambert <tlambert@tlambert.be>
2022-06-12 15:57:47 +02:00
lambtho12
0180e38eab fix: note naming issue (closes #134) 2022-05-20 09:34:10 +02:00
lambtho12
05464b31ed fix: preview images for any subdir (closes #132) 2022-05-18 15:10:57 +02:00
lambtho
a0f385f20f Merge pull request #130 from ernie/improve-note-filenames
Improve note filename formatting options
2022-05-18 12:05:29 +00:00
lambtho12
7ccc2b1bef Merge branch 'main' into 133-template_tags 2022-05-18 13:58:28 +02:00
lambtho12
08a785482d fix: do not show tags in template (closes 133) 2022-05-18 13:52:59 +02:00
lambtho12
abe8e8b441 fix: do not look for tags in template dir 2022-05-18 13:19:16 +02:00
Ernie Miller
2ff562480a Improve note filename formatting options
Provide the user with the choice between:

"title" (default) - Title only
"uuid" - UUID only
"uuid-title" - Title prefixed by UUID
"title-uuid" - Title suffixed with UUID
2022-05-12 10:30:18 -04:00
Ernie Miller
952141e78e Always return a uuid from get_uuid
We were previously only returning a uuid if the user wanted to include
them in their filenames, which meant that they couldn't be included in
the template itself.
2022-05-12 08:00:40 -04:00