GithubHelp home page GithubHelp logo

rodrigobdz / fish-apple-touchbar Goto Github PK

View Code? Open in Web Editor NEW
90.0 4.0 7.0 9.63 MB

โšก๏ธ Supercharge your touchbar with fish ๐Ÿ 

License: MIT License

Shell 100.00%
fish-shell iterm2 macbook-pro touchbar zsh-apple-touchbar fisher touchbar-support awesome-fish-shell awesome-plugin

fish-apple-touchbar's Issues

Not working when using vim bindings

Describe the bug

The plugin does not seem to work when using fish with the vi-key-bindings (https://github.com/fish-shell/fish-shell/blob/master/share/functions/fish_vi_key_bindings.fish) and in insert mode.

To Reproduce
Steps to reproduce the behavior:

  1. Enable vi-keybindings (fish_vi_key_bindings)
  2. See that pressing the touchbar keys do not do anything (the bell is triggered though)
  3. press "escape" to get into normal mode (out of insert mode)
  4. press the touchbar key again and see that it works :-)

Expected behavior
I'd expect it to work in insert-mode too.

Desktop (please complete the following information):

  • OS: macOS
  • Version 10.14.6
  • Fish: 3.0.2

not compatible with fzf.fish

Describe the bug
When I use fzf.fish, I am getting extra lines containing "1337;SetKeyLabel=" shown on the attached screenshot

To Reproduce
Steps to reproduce the behavior:

  1. fisher install rodrigobdz/fish-apple-touchbar plugin
  2. fisher install PatrickF1/fzf.fish
  3. Ctrl+R

Expected behavior
I'd like this extra output seen in the screenshot to go away.
Would it be possible that fish-apple-touchbar is not cleaning its output correctly?
Or maybe I didn't configure it correctly (see my config in section Aditionnal Information)

Screenshots
image

Desktop (please complete the following information):

  • OS: Mac Big Sur 11.4
  • Fish: 3.3.0
  • iTerm2: 3.4.6

Aditionnal Information
I configured fish-apple-touchbar like so:

cat  ~/.config/fish/conf.d/touchbar.fish
__fish_apple_touchbar_bind_key_custom 1 '๐Ÿ‘ˆ' 'prevd' '-s'
__fish_apple_touchbar_bind_key_custom 2 '๐Ÿ—„ jump' 'cdh' '-s'

Default key bindings just displays the touch code

Describe the bug
The touchbar only echos the key code to the terminal. The actual command does not run. I am guessing the binding is not happening like it should.

To Reproduce
Steps to reproduce the behavior:

  1. Go to iterm2
  2. Touch 'second view.'
  3. Touch 'pwd'
  4. Terminal displays 0Q

Expected behavior
The touchbar command should run.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: MacOS
  • Version 10.15.6 (19G2021)

Additional context
I tried with Tide installed and uninstalled and the problem persisted. I have completely closed iterm2 as well. I am not sure where to start debugging this problem. I haven't worked with fish packages before. Any ideas where I should start looking? Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.