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

Add text/uri-list support for paste_img #829

Open
wants to merge 54 commits into
base: main
Choose a base branch
from

Conversation

ottersome
Copy link

When copying images from Nautilus or Thunar, these programs actually copy to the clipboard in the form of text/uri-list. ObsidianPasteImg only searches for
image/png data within the clipboard using wl-paste --list. This update adds support to inspect the list, extract the first image, and add it to wl-clipboard as
an image. Ultimately, you can copy from file browser to neovim.

adamtajti and others added 9 commits January 24, 2025 21:15
…handling

feat: add table utility functions for debugging
fix: update grep and find_files to properly handle callbacks
refactor: streamline picker options and configuration
style: improve code organization and consistency

Breaking changes:
- Modified behavior of grep and find_files to prioritize callbacks
…dling

- Remove unused debug helper functions
- Add proper type annotations for picker options
- Improve action mapping logic with notes_mappings
- Fix path handling in file and grep operations
- Add debug logging for better troubleshooting
- Enhance callback handling for picker actions
- access dir.filename property instead of dir directly
- convert Path object to string for cwd option
guspix and others added 20 commits February 28, 2025 18:19
Neovim 0.10.4 changed the name of the Linux binary in their realeases,
which was breaking the github actions worflow.
…-neovim-nightly

Changed the name of the linux binary in github actions
There is no GH_PAT configured in the secrets for this new repo. Changed
the variable to GITHUB_TOKEN to check if it has enough permissions, if
it doesn't we will need to create a PAT and add it to the repo secrets.
…-neovim-nightly

Trying to fix github actions when merging to main
The GH_PAT was indeed necessary so I created it and added it to the
repo's secrets
…-neovim-nightly

Revert "Trying to fix github actions when merging to main"
…m-epwalsh

chore/update docs from epwalsh
…om-epwalsh

[chore] update changelog link
guspix and others added 12 commits March 13, 2025 23:50
nit: remove tracking from youtube URL
…ad (epwalsh#30)

* update deprecated method

* update for backwards compatibility
If your templates folder is configured as e. g. 'Templates' and you
happen to have a folder of the same name in $CWD, this should guard
against picking the wrong folder.
* feat: add types and improve docs for util.toggle_checkbox()

* feat: add tests for toggle_checkbox

* feat: add util.is_checkbox() (and tests)

This is in preparation to refactor and fix toggle_checkbox.

Also add doc+typet to util.is_img()

* refactor: make toggle_checkbox tests more uniform

* feat: add toggle_checkbox test case for lists starting with `*`

Note: they currently fail as only `-` lists are supported

* feat: toggle_checkbox supports numbered lists (with tests)

Use the preciously introduced helper functions.

* refactor: toggle_checkbox tests are more explicit

Less logic in the tests; easier to read.

* doc: changelog

* feat: is_checkbox() supports `1) item` and `+ item`

With tests again.

* feat: more tests for toggle_checkbox()
* feat: makefile is friendlier

- it is self documenting: just call `make` to see all targets
- it gets missing dependencies

* fix(CICD): adjust github CI to new makefile logic
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.