Denis Isidoro
f8192a468e
Fix publish script ( #825 )
2023-04-09 10:08:42 -03:00
Denis Isidoro
8cf9c96e54
Update dependencies ( #817 )
2023-04-08 19:28:42 -03:00
Viktor Ashirov
4b07ddfe1a
Handle multiline snippets better
...
Add support for code blocks using markdown syntax. Lines that are
part of the snippet and match the variables regex won't be interpeted as
a variable.
Additionally, add `.cheat.md` as a file extension for cheats so that it
can be rendered on GitHub with proper code formatting and syntax
highlighting.
Fixes #806
2022-12-19 20:35:54 +01:00
Denis Isidoro
9d862344e6
Minor code base improvements ( #767 )
2022-07-29 19:25:36 -03:00
Denis Isidoro
ebb02e28ec
Refactor code base ( #760 )
2022-07-28 20:11:42 -03:00
Denis Isidoro
3b1038c884
Add support for multiline variables
...
Fixes #628
2021-10-15 13:16:10 -03:00
Denis Isidoro
85ca69a263
Add cheats for navi itself ( #599 )
...
Fixes #380
2021-08-08 08:12:19 -03:00
Denis Isidoro
02fc83991b
Do not collapse empty lines in snippets ( #595 )
...
Fixes #539
2021-08-07 12:24:39 -03:00
Denis Isidoro
59362c0ec8
Fix behavior for snippets with duplicated lines
2021-08-07 12:07:17 -03:00
Denis Isidoro
e6acbe7936
Add support for --expand
...
Fixes #542
2021-08-07 10:52:30 -03:00
Denis Isidoro
fe37cd9107
Fix finder options ( #590 )
2021-08-07 10:31:53 -03:00
Denis Isidoro
5e7b24abe8
Fix clippy warnings
2021-08-07 07:05:33 -03:00
Denis Isidoro
639e1dc46a
Fix allowlist logic ( #520 )
2021-04-17 12:06:29 -03:00
Denis Isidoro
d8d0d81368
Refactor writer packages ( #517 )
2021-04-16 09:23:53 -03:00
Denis Isidoro
649832bc41
Use anyhow::Result
2021-04-16 08:29:04 -03:00
Denis Isidoro
86b0ab67db
Allow tag filtering ( #508 )
2021-04-15 10:49:23 -03:00
Denis Isidoro
1c9ffde3ec
Allow fzf overrides after --- ( #505 )
...
Fixes #317
2021-04-15 09:23:35 -03:00
Denis Isidoro
30c642eee3
Rename display package
2021-04-05 10:00:48 -03:00
Denis Isidoro
fe07f65ad4
Refactor finder packages ( #473 )
2021-04-05 09:37:35 -03:00
Denis Isidoro
f966e6b374
Remove unused code for global flag
2021-04-05 09:05:39 -03:00
Denis Isidoro
23be67d7ce
Move common helpers to src/ ( #465 )
2021-04-04 17:46:33 -03:00
Denis Isidoro
5c43c5173a
Improve argument parsing ( #452 )
...
Fixes #440
2021-01-07 09:31:34 -03:00
Denis Isidoro
ec6596fe76
Fix Ctrl-O behavior when snippet has variables ( #437 )
2020-11-27 09:35:15 -03:00
Benjamin Siderius-Manning
0686583a57
Refactor to lookup filenames in Vector
2020-11-26 21:36:20 +01:00
Benjamin Siderius-Manning
d78bcf1f60
Add option to open .cheat with ctrl-o.
2020-11-24 21:30:51 +01:00
Juan Eugenio Abadie
43d16025d2
Reduce lines of code
2020-10-30 08:49:31 -03:00
Denis Isidoro
de06161baf
Fix support for fish shell ( #421 )
2020-10-08 17:45:01 -03:00
Denis Isidoro
ee17d79b71
Add tests for cheat.sh and tldr ( #391 )
2020-08-29 15:34:19 -03:00
Denis Isidoro
2dd918d1e0
rustfmt: max-width 150 ( #388 )
2020-08-28 09:21:24 -03:00
Denis Isidoro
4ba0373790
Add initial support for cheat.sh and tldr ( #387 )
...
In order to browse cheatsheets from other projects.
2020-08-28 09:12:44 -03:00
Denis Isidoro
e49ff1a18d
Refactor code ( #384 )
2020-08-27 15:15:09 -03:00
Denis Isidoro
00fe27ba79
Add ability to extend cheatsheets ( #382 )
...
Fixes #377
2020-08-23 20:09:27 -03:00
Denis Isidoro
e64d1cc8aa
Multi-indexed variable map ( #381 )
...
This may be useful for future features
2020-08-19 09:00:06 -03:00
Denis Isidoro
0015d317b8
Improve code quality even more ( #353 )
2020-04-25 21:42:24 -03:00
Denis Isidoro
434fc4ac76
Improve code quality a little bit ( #352 )
...
Fixes #349
2020-04-25 15:30:05 -03:00
Denis Isidoro
c7f919eaa0
Add support for Alfred ( #347 )
2020-04-19 15:51:04 -03:00
Denis Isidoro
3188a76759
Prevent panic on empty tag/description ( #341 )
...
Fixes #339
2020-04-13 11:24:49 -03:00
Denis Isidoro
6678cda032
Add support for post-choice manipulation ( #335 )
...
Fixes #325
2020-04-10 23:01:35 -03:00
Denis Isidoro
69ee79b272
Merge pull request #318 from shenek/skim-bin
...
Add support for skim binary instead of fzf binary
2020-03-30 10:19:11 -03:00
Stepan Henek
83a3286abe
Add compile option to use skim binary instead of fzf binary
2020-03-27 15:36:37 +01:00
Denis Isidoro
ec1ca87fa5
Fix snippet alignment + hide empty snippets ( #316 )
2020-03-26 14:14:56 -03:00
Denis Isidoro
65154663db
Fix path error on initial run ( #313 )
...
Fixes #312
This isn't idiomatic but it'll do for the time being
2020-03-24 11:42:18 -03:00
Denis Isidoro
4b5658a5b7
Fix crash when input has no match ( #309 )
...
Fixes #307
2020-03-24 09:42:54 -03:00
Csonka Mihaly
53c69aa72c
Fix unnecessary allocations when reading file.
2020-03-23 17:16:13 +01:00
Csonka Mihaly
a625b0aea0
Fix welcome command
2020-03-22 22:54:02 +01:00
Csonka Mihaly
5d2c2aca80
Add UnreadableDir error.
2020-03-22 21:08:04 +01:00
Csonka Mihaly
11575a8443
Restructure error module
2020-03-22 20:47:13 +01:00
Csonka Mihaly
4bbccc2cfa
Add InvalidPath error
2020-03-22 20:14:10 +01:00
Csonka Mihaly
800a7e61a7
Added backticks around variable data in error info. Less ambiguous when input is empty.
2020-03-22 16:31:49 +01:00
Csonka Mihaly
3c5d5aba98
Fix parsing of paths param with trailing colon to not yield an empty item + add test for this
2020-03-22 02:53:40 +01:00