Commit Graph

402 Commits

Author SHA1 Message Date
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
Ernie Miller
17542ee617 Allow media picker to yank relative image links (#127)
* Allow media picker to yank relative image links

* Make stylua happy

* Fix for image paste as well

* Try to get more consistent relative path behavior

* Supply absolute paths to make_relative_path

* Add relative link handling for InsertImgLink
2022-05-10 14:18:21 +02:00
lambtho12
b60eafa1ca chore: typo in PR template 2022-05-07 11:05:02 +02:00
lambtho
c3da9a528a feat: allow auto-open of journal entries (#125) 2022-05-07 09:01:05 +00:00
Ernie Miller
49c3a90f32 Observe calendar monday option correctly
The calendar plugin checks the existence of calendar_monday, not whether
it's 0 or 1, so we don't want to set it unless it's 1.
2022-05-05 19:40:58 -04:00
Ernie Miller
7468025d4f Hide numbers on calendar display.
Without hiding numbers and relative numbers, the week number indicator
is cut off.
2022-05-05 18:29:37 -04:00
chrsm
c0925f0d30 fix: note title ending removed when it matches parts of extension (#119)
* fix: note title ending removed when it matches parts of extension

By using [] we provide a character set rather than a direct match with ().
Lua patterns don't allow N-captures with (), so we continue executing
the pattern until there are no more substitutions being executed.

fixes #118

* fix: refactor extension stripping from title

Don't worry about n-capture, once is enough.
Turned it into a fn so it can be used elsewhere.

refs #118
2022-05-01 07:05:01 +00:00
lambtho12
2573b4a6d1 style: make stylua happy 2022-04-30 21:54:51 +02:00
lambtho12
8aa35ec6aa fix: use local variable 2022-04-30 21:42:58 +02:00
Yuta Katayama
b3a58db72e feat: Add sorting feature [closes #85]
* feat: Add sorting feature #85

* fix: Remove the lines that should not be sorted
2022-04-30 19:39:48 +00:00
Lambtho
10df87abae fix: rename links with spaces (closes #117) 2022-04-28 10:21:45 +02:00
Lambtho
90a99a41f6 fix: hex colors no longer tags (closes #115) 2022-04-27 21:25:00 +02:00
Lambtho
7f5b625e4f fix: rename filenames with spaces 2022-04-27 20:28:58 +02:00
Lambtho
f17d5b3f16 fix: rename regex, closes #113 2022-04-27 14:37:55 +02:00
lambtho
a1eca0bd91 Merge pull request #112 from renerocksai/109-bug-headerlinks
fix: follow_links with headerlinks, closes 109
2022-04-17 20:13:43 +00:00
Lambtho
1acfb01d75 fix: follow_links with headerlinks, closes 109 2022-04-17 22:11:34 +02:00
lambtho
3855f84b20 Merge pull request #111 from renerocksai/103-bug-headerlinks
fix: backlinks with headerlinks, closes 103
2022-04-17 19:59:03 +00:00
Lambtho
7eebb41c9f fix: backlinks with headerlinks, closes 103 2022-04-17 21:55:57 +02:00
lambtho
591e8d2956 Merge pull request #110 from renerocksai/91-bug-todo-urls
fix: media links issue, closes #91
2022-04-17 19:11:22 +00:00
Lambtho
d5e02b0823 fix: media links issue, closes #91 2022-04-17 20:39:51 +02:00
lambtho
6e0c0cfd14 Merge pull request #108 from lambtho12/accentTags
fix: accents in tags (closes #86)
2022-04-17 13:42:47 +00:00
lambtho12
71ba26c88d fix: accents in tags closes #86 2022-04-17 15:27:48 +02:00
Rene Schallner
02023c5e59 Merge pull request #84 from lambtho12/uuid_prefix
Add UUID prefix to new notes
2022-04-06 20:13:55 +02:00
Rene Schallner
414f3275a3 Merge pull request #76 from AuLaSW/windows_file_path_clean
Windows file path clean
2022-04-06 20:12:47 +02:00
Rene Schallner
46486d8f77 Merge pull request #89 from MattFlower/main
Add support for Pasting Images on Mac.  Also, fix relative paths for …
2022-04-06 20:10:12 +02:00
Matthew Flower
b7ac136489 Add support for Pasting Images on Mac. Also, fix relative paths for images when markdown is in daily and there is an image subdir. 2022-02-11 18:05:43 -05:00
lambtho12
767e6dc0c4 make uuid more robust 2022-01-27 12:04:39 +01:00
lambtho12
c1008bff22 make uuid more useful 2022-01-27 11:31:17 +01:00
lambtho12
2e4d282344 make luacheck happy 2022-01-27 11:01:44 +01:00
lambtho12
9705f5795b Add UUID prefix to new notes 2022-01-27 10:54:30 +01:00
AustinS
f0e6914a7c Update telekasten.lua
Fix stylua and luacheck errors
2022-01-26 14:31:36 -06:00
AustinS
28e0c6259d Update telekasten.lua
Correct Stylua and Luacheck errors
2022-01-26 14:30:09 -06:00
AustinS
9c6487fd97 Merge branch 'renerocksai:main' into windows_file_path_clean 2022-01-24 09:47:02 -06:00
Rene Schallner
15f68e7d9f fix merge-oopsie for PR #73 2022-01-24 09:51:08 +01:00
Rene Schallner
80c3606e14 Merge pull request #73 from lambtho12/FlexibleOptionPaths
Feat: Support for absolute or relative path config
2022-01-24 09:48:03 +01:00
Rene Schallner
bba201731b Merge branch 'main' into FlexibleOptionPaths 2022-01-24 09:47:51 +01:00
Rene Schallner
a5e4140b6c Merge pull request #67 from lambtho12/RenameNote
Feat: Note renaming
2022-01-24 09:29:09 +01:00
Rene Schallner
2c29194c25 Merge pull request #78 from nucleogenesis/opts.default_text-in-SearchNotes
Allow passing default_text opt to SearchNotes
2022-01-23 18:24:38 +01:00
Rene Schallner
e346e1481f attempt to fix #79 : https origin for wiki submodule 2022-01-23 18:10:51 +01:00
austin.swanlaw
06e9eeaf05 Update doc\telekasten.txt
Included notes at both the beginning and under setup discussing the use
of Windows directory paths.
2022-01-22 10:57:16 -06:00
AustinS
a918f86d49 Merge branch 'renerocksai:main' into windows_file_path_clean 2022-01-22 08:34:21 -06:00
austin.swanlaw
e72adb4012 Fix function Seteup(cfg)
Added `end` to the end of the if statement I added.
2022-01-22 08:33:10 -06:00
Jacob Pierce
19c5282943 opts.default_text used when passed in SearchNotes for default_text 2022-01-21 15:46:41 -08:00
lambtho12
c2084a30c7 Refact: better name for make_absolute_path() 2022-01-21 14:58:38 +01:00
Rene Schallner
fcfa869df0 Added wiki as a submodule 2022-01-21 12:43:55 +01:00
AustinS
ef687a9739 Update README.md
Added notes about using `vim.fn.expand()` for the home directory working now for opening and browsing files.
2022-01-20 15:05:37 -06:00
AustinS
6c468934c4 Fix #70 Cleaned Windows Home Paths
Added the function `CleanPath()` to clean up Windows paths for setting up home. Still some other issues (primarily with reading links) that need to be ironed out.
2022-01-20 14:55:01 -06:00
lambtho12
5e31b13cfb Fix: path to save img from clipboard 2022-01-20 21:08:36 +01:00
lambtho12
2b9f22ff89 Chore: Remove commented code 2022-01-20 21:01:54 +01:00
lambtho12
ea03546662 Feat: Support for absolute or relative path config 2022-01-20 20:57:12 +01:00