-
Notifications
You must be signed in to change notification settings - Fork 0
feat: add custom key bindings for exiting vim insert mode in fish shell #284
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
|
|
@@ -40,12 +40,15 @@ jobs: | |||
| with: | ||||
| images: ghcr.io/${{ github.repository_owner }}/${{ github.event.repository.name }} | ||||
| flavor: | | ||||
| suffix=${{ github.ref == 'refs/heads/main' && github.event_name == 'push' && matrix.build.suffix || '' }} | ||||
| suffix=${{ matrix.build.suffix }} | ||||
| latest=${{ github.ref == 'refs/heads/main' && github.event_name == 'push' && 'false' || 'auto' }} | ||||
| tags: | | ||||
| type=sha,format=short | ||||
| type=semver,pattern={{version}} | ||||
| type=semver,pattern={{raw}} | ||||
| type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' && github.event_name == 'push' }} | ||||
| type=sha,format=short,suffix=${{ matrix.build.suffix }},enable=${{ github.ref == 'refs/heads/main' && github.event_name == 'push' }} | ||||
| type=raw,value=latest,suffix=${{ matrix.build.suffix }},enable=${{ github.ref == 'refs/heads/main' && github.event_name == 'push' }} | ||||
| type=sha,format=short,enable=${{ !(github.ref == 'refs/heads/main' && github.event_name == 'push') }} | ||||
| type=semver,pattern={{version}},enable=${{ !(github.ref == 'refs/heads/main' && github.event_name == 'push') }} | ||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The new Prompt for AI agents |
||||
| type=semver,pattern={{raw}},enable=${{ !(github.ref == 'refs/heads/main' && github.event_name == 'push') }} | ||||
| type=raw,value=latest,enable=${{ !(github.ref == 'refs/heads/main' && github.event_name == 'push') }} | ||||
|
||||
| type=raw,value=latest,enable=${{ !(github.ref == 'refs/heads/main' && github.event_name == 'push') }} |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| function fish_user_key_bindings | ||
| # Exit vim insert mode with jj | ||
| bind -M insert -m default jj backward-char force-repaint | ||
| end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The latest tag logic is inverted. When on main branch with push event, it sets latest='false', but the following tags suggest it should be 'true' or 'auto'. This will prevent the latest tag from being applied when expected.