Skip to content

Commit

Permalink
Revive yank manager and disable windows
Browse files Browse the repository at this point in the history
  • Loading branch information
kohnish committed Jan 29, 2023
1 parent 7d29733 commit 1072529
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 29 deletions.
52 changes: 26 additions & 26 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ jobs:
- name: install
run: cd build && make install/strip && sha256sum ../bin/vim9-fuzzy | awk '{print $1}' > sha256.txt

- name: cmake-win
run: mkdir -p build-win && cd build-win && cmake -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DBUILD_STATIC=ON -DCMAKE_TOOLCHAIN_FILE=../native/toolchains/windows.cmake ..
# - name: cmake-win
# run: mkdir -p build-win && cd build-win && cmake -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DBUILD_STATIC=ON -DCMAKE_TOOLCHAIN_FILE=../native/toolchains/windows.cmake ..

- name: build-win
run: cd build-win && make -j
# - name: build-win
# run: cd build-win && make -j

- name: install-win
run: cd build-win && make install/strip && sha256sum ../bin/vim9-fuzzy.exe | awk '{print $1}' > sha256.txt
# - name: install-win
# run: cd build-win && make install/strip && sha256sum ../bin/vim9-fuzzy.exe | awk '{print $1}' > sha256.txt

- name: release
id: create_release
Expand Down Expand Up @@ -70,24 +70,24 @@ jobs:
asset_name: sha256-linux-x86-64.txt
asset_content_type: application/zip

- name: upload-win
id: upload-release-asset-win
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: bin/vim9-fuzzy.exe
asset_name: vim9-fuzzy-win-x86-64
asset_content_type: application/zip
# - name: upload-win
# id: upload-release-asset-win
# uses: actions/upload-release-asset@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# upload_url: ${{ steps.create_release.outputs.upload_url }}
# asset_path: bin/vim9-fuzzy.exe
# asset_name: vim9-fuzzy-win-x86-64
# asset_content_type: application/zip

- name: sha256-upload-win
id: upload-sha256-win-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: build-win/sha256.txt
asset_name: sha256-win-x86-64.txt
asset_content_type: application/zip
# - name: sha256-upload-win
# id: upload-sha256-win-asset
# uses: actions/upload-release-asset@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# upload_url: ${{ steps.create_release.outputs.upload_url }}
# asset_path: build-win/sha256.txt
# asset_name: sha256-win-x86-64.txt
# asset_content_type: application/zip
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ No vim language binding dependencies, use job-start API to avoid blocking vim

ToDo
----
- Support multi-lines with yank manager
- Reduce hard coding
- Remove git and rg executables dependencies
- Add backtrace
Expand Down Expand Up @@ -61,7 +60,7 @@ noremap <C-f> :Vim9FuzzyFile<CR>
noremap <C-p> :Vim9FuzzyPath<CR>
# Search in last opened files via vim9-fuzzy.
noremap <C-e> :Vim9FuzzyMru<CR>
# Search yank histories (not working)
# Search yank histories
noremap <C-y> :Vim9FuzzyYank<CR>
Expand All @@ -73,7 +72,7 @@ g:vim9_fuzzy_use_only_rg = true
# Path for keeping most recently used files (Default here)
g:vim9_fuzzy_mru_path = $HOME .. "/.vim/pack/plugins/opt/vim9-fuzzy/mru"
# For fuzzy yank history search (not working)
# For fuzzy yank history search
# Enable yank hook (Default false)
g:vim9_fuzzy_yank_enabled = true
# The path for keeping yank histories (Defaulting here)
Expand Down

0 comments on commit 1072529

Please sign in to comment.