Commit graph

408 commits

Author SHA1 Message Date
Denis Isidoro
ae8de44df7
Install instruction updates (#106)
Fixes #51
2019-10-02 16:07:37 -03:00
Denis Isidoro
5eb5f64c5e Change demo gif 2019-10-02 14:47:46 -03:00
Denis Isidoro
8e606a50ba
Limit cheat for selection (#102)
Say we have a cheat with a free input for `<foo>` and there's another cheat with suggestions for `<foo>`. If you select a command from the first cheat, the suggestions in the second cheat would be used, before this PR.
2019-10-02 12:14:07 -03:00
Denis Isidoro
56da729965
Minor README update (#103) 2019-10-02 12:13:42 -03:00
Denis Isidoro
4627b5db0b
Add widget for bash (#105)
Partially solves #37
2019-10-02 12:12:20 -03:00
Denis Isidoro
d9a7486eb6
Merge pull request #101 from alxbl/omzsh-plugin
Thanks for making this project, it's really cool! I'd been looking for something like this for a while.
I noticed that your shell widget is pretty much stand-alone and I wanted to be able to use navi directly as an [oh-my-zsh][1] plugin, so I added a few things to the widget and moved it to the root of the repository so that the repo can be cloned straight into the `plugins` folder and detected when added in the plugin array.

I think it should be similarly simple with `fish`, but I'm not too familiar with that shell, so I'll leave it to someone else. The `navi.plugin.zsh` file should still be sourcable as a widget for people not using oh-my-zsh, so technically the `shell/` directory could be removed and `navi widget`updated to use the new file.

## What's included
- oh-my-zsh plugin
- install documentation
- no PATH modification required when used with OMZ
- Added bonus: #51 is kind of unofficially addressed by this (assuming one uses OMZ)

## Future Work
- Pre-filter using `$BUFFER` when hitting `Alt+G` to get something similar to `navi query`
- Update `navi widget zsh` to use `navi.plugin.zsh`

Let me know what you think. I'm working on a few cheatsheets, and will open PRs for those as they become ready.

Cheers,
Alex

[1]: https://github.com/robbyrussell/oh-my-zsh
2019-10-02 10:13:48 -03:00
Alexandre Beaulieu
022aee2b13
fix: oh-my-zsh update no longer invokes make install. 2019-10-01 18:23:51 -04:00
Alexandre Beaulieu
f6f643cec2
fix: renamed DST to plugins_dir. 2019-10-01 17:46:56 -04:00
Alexandre Beaulieu
286cb9f97f
doc: code review changes. 2019-10-01 17:41:34 -04:00
Alexandre Beaulieu
507bd277a9
doc: Added oh-my-zsh installation instructions. 2019-09-30 14:18:52 -04:00
Alexandre Beaulieu
32b1b42f2c
feat: Add oh-my-zsh plugin compatibility. 2019-09-30 14:09:35 -04:00
Denis Isidoro
0c960fca54
Interpolation: only quote multi-word values (#100)
- Fixes #99 
- adds `platform::existing_command`
2019-09-30 11:27:03 -03:00
Denis Isidoro
97329b97f6
Show comment for command in preview window (#98) 2019-09-28 23:58:00 -03:00
Denis Isidoro
a485030355
Merge pull request #95 from engrravijain/master
#60 names can include dashes or spaces
2019-09-28 23:26:57 -03:00
Denis Isidoro
68ba9ed3df
Merge branch 'master' into master 2019-09-28 23:26:27 -03:00
Denis Isidoro
d04dfc1003
Allow variable names to include dashes and spaces (#97)
Based on https://github.com/denisidoro/navi/pull/95 by @engrravijain 

Fixes #60
2019-09-28 23:24:12 -03:00
Denis Isidoro
2aa07c2ce1
Minor fixes (#96)
- fix widget
- cleanup
- fix dict lib
2019-09-28 23:12:47 -03:00
Ravi Jain
895a70601b #60 fix space/dash regex 2019-09-28 19:33:38 +05:30
Ravi Jain
913d303cb4 #60 names can include dashes or spaces 2019-09-28 11:18:23 +05:30
Denis Isidoro
d55b5725d4
Correctly escape % in cheatsheets (#94) 2019-09-27 16:53:31 -03:00
Denis Isidoro
4bf6c981f4 Bump to 0.10.0 2019-09-27 15:12:55 -03:00
Denis Isidoro
0eeb3218b0 Fix typo 2019-09-27 15:12:55 -03:00
Denis Isidoro
260966ba6c Improve zsh widget (#92) 2019-09-27 15:12:55 -03:00
Denis Isidoro
b9084c0439 Add suppot for multiline snippets (#91)
Fix #88
2019-09-27 15:12:55 -03:00
Denis Isidoro
00a2d2b91e Escape subshells in cheatsheets (#90)
Fix #85
2019-09-27 15:12:55 -03:00
Denis Isidoro
303f9f67d1 Remove unnecessary echo 2019-09-27 15:12:55 -03:00
Denis Isidoro
473b409c93 Store cheatsheets in memory (#86)
Fixes #61 and kind of fixes #76 (actually it still depend on tags to find a snippet but that's not a problem anymore since everything is in memory now)
2019-09-27 15:12:55 -03:00
Denis Isidoro
b6a5ac1495 Improve test coverage (#84)
Add integration tests
2019-09-27 15:12:55 -03:00
Denis Isidoro
beab843c1e Add option for calling best match directly (#83)
Fix #62
2019-09-27 15:12:55 -03:00
Denis Isidoro
9dce96a871 Improve lib for collections (#82) 2019-09-27 15:12:55 -03:00
Denis Isidoro
1b12ffa330 Refactor option parsing (#79) 2019-09-27 15:12:55 -03:00
Denis Isidoro
093bac0e9f Add MVP for functional programming 2019-09-27 15:12:55 -03:00
Jérémy CHABERNAUD
e523febf0c Fix name var for creating 2019-09-27 15:12:55 -03:00
Jérémy CHABERNAUD
f997fb1125 Manage list name 2019-09-27 15:12:55 -03:00
Jérémy CHABERNAUD
b8bf507d72 Add k3d cheat 2019-09-27 15:12:55 -03:00
Denis Isidoro
28597037c6
Merge pull request #87 from engrravijain/master
The commands added are as under:-

1. cloning a git repository
2. view remote information
3. Renaming a remote
4. Remove a remote
5. Abort the git merge process
2019-09-27 14:32:33 -03:00
Ravi Jain
19f2308964 git commands 2019-09-27 09:45:32 +05:30
Denis Isidoro
bfcca8f3c8
Add warning about version on new issues (#81) 2019-09-26 10:53:51 -03:00
Denis Isidoro
44d15bb53c
Refer to FZF_DEFAULT_OPTS (#80) 2019-09-26 10:50:25 -03:00
Denis Isidoro
e720fdb4f0
Merge pull request #75 from KevCui/update-command-name-in-navi
Update command name in usage and examples
2019-09-25 15:39:30 -03:00
Kevin Cui
60375cd3a0 Update command name in usage and exmaples 2019-09-25 19:26:35 +02:00
Denis Isidoro
64be01bf1a
Fix escaping issues (#73)
Fix #72
2019-09-25 11:44:57 -03:00
Denis Isidoro
84c0ff2dc8
Warn about variable name limitation 2019-09-25 08:28:29 -03:00
Denis Isidoro
9638fcc9bb
Add Github badges (#71) 2019-09-25 08:20:47 -03:00
Denis Isidoro
a802671f6a
Bump to 0.9.3 (#70) 2019-09-25 08:16:30 -03:00
Denis Isidoro
d974340939
Suppress tput errors (#69) 2019-09-25 08:04:06 -03:00
Denis Isidoro
ea0fb00371
Autoselect on single option (#68)
Based on #https://github.com/denisidoro/navi/pull/53 by @nikush.

Fixes #44.
2019-09-25 08:02:35 -03:00
Denis Isidoro
516578479c
Fix snippets with multiple arguments (#67) 2019-09-25 07:50:32 -03:00
Vũ Ngọc Cường
a74f5c4939 add docker-compose's cheatsheet 2019-09-25 00:40:08 +00:00
Vũ Ngọc Cường
fe2fc173bf fix npm cheat 2019-09-25 00:08:16 +00:00