Skip to content
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

refactor(actions)!: join {buf|file}_xxx actions #1399

Merged
merged 1 commit into from
Aug 12, 2024
Merged

Conversation

ibhagwan
Copy link
Owner

Not really breaking but requires attention if you care for setup options improvement.

All entries whether file or buffer can now utilize the same actions code, previously buffer actions (e.g. buf_edit) are not mapped to file actions (e.g. file_edit) and can work on any file-buffer entry.

Setup's actions.files is now used for all file-buffer pickers which simplifies setting up default actions.

NOTE: For backward compat previously defined actions.buffers will still be used and will take precedence over actions.files for buffer pickers (buffers, tabs, lines, blines).

Additional changes:

  • Default bind for sending to location list changed from "alt-l" to "alt-Q" ("alt-shift-Q", doesn't work with skim).
  • Default actions changed from default to enter to match fzf's terminology (shouldn't change anything)

Not really breaking but requires attention if you care for setup
options improvement.

All entries whether file or buffer can now utilize the same actions
code, previously buffer actions (e.g. `buf_edit`) are not mapped to
file actions (e.g. `file_edit`) and can work on any file-buffer entry.

Setup's `actions.files` is now used for all file-buffer pickers which
simplifies setting up default actions.

**NOTE:** For backward compat previously defined `actions.buffers`
will still be used and will take precedence over `actions.files` for
buffer pickers (buffers, tabs, lines, blines).

Additional changes:
  - Default bind for sending to location list changed from "alt-l"
    to "alt-Q" ("alt-shift-Q", doesn't work with skim).
  - Default actions changed from `default` to `enter` to match fzf's
    terminology (shouldn't change anything)
@ibhagwan ibhagwan merged commit 5bd319c into main Aug 12, 2024
1 check passed
@ibhagwan ibhagwan deleted the actions_refactor branch August 12, 2024 03:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant