Commit graph

192 commits

Author SHA1 Message Date
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
657992b173
Allow implicit variable dependencies (#379)
* Allow implicit variable dependencies

* Aug-14 12h01: core.rs, Cargo.toml, Cargo.lock

* Aug-14 12h04: cases.cheat

* Aug-14 12h08: cases.cheat
2020-08-14 13:53:23 -03:00
Iain Earl
1d65f73994
Make --exact optional for skim by having --no-exact in the NAVI_FZF_OVERRIDES environment variable 2020-05-29 08:36:18 +01:00
Denis Isidoro
317cc34016
Change terminal fallback width to 80 2020-05-12 10:13:21 -03:00
Denis Isidoro
ead1323965
[Alfred] Add support for free input text (#354) 2020-04-25 22:26:39 -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
818ebccdf0
Show icon in Alfred (#351) 2020-04-24 13:38:58 -03:00
Denis Isidoro
cc2007c674
Refactor variable dependency code (#350) 2020-04-20 18:29:48 -03:00
Denis Isidoro
c7f919eaa0
Add support for Alfred (#347) 2020-04-19 15:51:04 -03:00
Denis Isidoro
019adf82cf
Allow empty variables (#346)
Fixes #332
2020-04-18 08:06:05 -03:00
Denis Isidoro
d7d3321915
Prevent precocious abortion of url::open and clipboard copy (#345) 2020-04-16 10:39:42 -03:00
Denis Isidoro
17b9987886
Fix escaping issues in shell outs (#344) 2020-04-16 09:40:11 -03:00
Denis Isidoro
4853a6718c
Disable preview-window for variable suggestions (#343)
Fixes #338 

Reopens #320
2020-04-13 14:27:05 -03:00
Denis Isidoro
3188a76759
Prevent panic on empty tag/description (#341)
Fixes #339
2020-04-13 11:24:49 -03:00
Denis Isidoro
cbae8a5420
Attempt to fix git clone issues (#340)
Probably fixes #326
2020-04-13 10:31:33 -03:00
Denis Isidoro
4451624ce0
Show snippet in variable prompt (#337)
Fixes #320
2020-04-11 11:06:34 -03:00
Denis Isidoro
c6d17ca062
Shell out to git clone (#336)
Fixes #305
2020-04-11 10:14:04 -03:00
Denis Isidoro
6678cda032
Add support for post-choice manipulation (#335)
Fixes #325
2020-04-10 23:01:35 -03:00
Denis Isidoro
1f5db34902
Add support for copying snippet to clipboard (#334)
Fixes #205
2020-04-10 19:48:22 -03:00
Denis Isidoro
72cf882ee0
Handle spaces in fn url::open (#333)
Fixes #331
2020-04-10 19:21:14 -03:00
Denis Isidoro
d09fc850f1
Fix skim preview-window (#324) 2020-03-30 10:39:47 -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
229ae72bbb
Add finder argument to choose between fzf and skim 2020-03-28 22:58:17 +01:00
Stepan Henek
5ab74c36c9
fixup! Add compile option to use skim binary instead of fzf binary 2020-03-27 22:24:36 +01: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
2c705a05e6
Add colors to --help (#314) 2020-03-25 20:12:15 -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
04dcf79a34
Fix panic when trimming text with non-ASCII characters (#311)
Fixes #310
2020-03-24 10:53:45 -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
8c4100abea Potentialy fix error string creation to only be done when needed. 2020-03-23 17:04:32 +01:00
Csonka Mihaly
f214a561b8 Remove unneeded mut 2020-03-23 16:38:01 +01:00
Csonka Mihaly
80621dba78 Merge remote-tracking branch 'upstream/master' into improve-error-handling 2020-03-23 00:25:28 +01:00
Csonka Mihaly
ed8e3e43c3 Add context to file copy when pulling cheatsheets from a repo. 2020-03-23 00:24:35 +01:00
Csonka Mihaly
ec0bbf4e76 Fix remove dir panicing when the dir does not exist, but when the purpose is to make place for a replacement. 2020-03-22 23:50:44 +01:00
Csonka Mihaly
09dfc32d2c Fix "file an issue" error 2020-03-22 23:38:06 +01:00
Csonka Mihaly
4bc9b00a52 Add wrapper error telling the user to file an issue 2020-03-22 23:32:03 +01:00
Csonka Mihaly
a625b0aea0 Fix welcome command 2020-03-22 22:54:02 +01:00
Csonka Mihaly
4bfc2e5a6c Add BashSpawnError 2020-03-22 22:16:30 +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
5c44bba2bf Fix error message for absense of cheatsheet dir 2020-03-22 17:33:23 +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
Denis Isidoro
8c3748f997
Fix --preview-window for repo browse (#302) 2020-03-22 10:14:47 -03: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
Csonka Mihaly
a4c30d7439 Make shell handler return an anyhow::Error. 2020-03-22 01:54:04 +01:00
Csonka Mihaly
07509ddcd7 Add error context to parser. 2020-03-22 01:51:38 +01:00