pindexis / marker

The terminal command palette
MIT License
2.02k stars 106 forks source link

-bash: bash_execute_unix_command: cannot find keymap for command #28

Open saptak opened 8 years ago

saptak commented 8 years ago

I am on OSX El Capitan. I upgraded bash with brew install bash. Then installed marker. But, when I try to activate with Ctrl+Space, I get the following error: -bash: bash_execute_unix_command: cannot find keymap for command

pindexis commented 8 years ago

what bash version are you using?

nodingneu commented 7 years ago

@pindexis I cannot speak for @saptak , but I am having exactly the same problem with bash 4.3.46:

$ bash --version
GNU bash, version 4.3.46(1)-release (x86_64-apple-darwin15.5.0)
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

I also installed bash 4.3+ via brew install bash.

tarto-dev commented 7 years ago

Any news about this ? Same here with 4.4.0 $ bash --version

GNU bash, version 4.4.0(1)-release (x86_64-apple-darwin15.6.0) Copyright (C) 2016 Free Software Foundation, Inc.

aydancoskun commented 7 years ago

Same thing here. Bump. Any chance to get this working and package this as a homebrew install?

$ bash --version
GNU bash, version 4.4.5(1)-release (x86_64-apple-darwin16.3.0)
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
mikkelwf commented 6 years ago

BUMP

xeor commented 6 years ago

And another one..... This is broke on osx..

Anyone figured this one out?

nodingneu commented 6 years ago

come oooon

pindexis commented 6 years ago

guys, I'm on OSX and couldn't reproduce this. Here's the bash version I installed with brew:

GNU bash, version 4.4.12(1)-release (x86_64-apple-darwin16.3.0)
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
pindexis commented 6 years ago

Ok so I finally succeeded to reproduce. It seems be related to Ctrl+space binding in Bash 4+. Switching the key-binding to something other that Ctrl+space will fix the issue. You can do that by setting the MARKER_KEY_GET env in .bashrc (before sourcing marker):

export MARKER_KEY_GET='\C-l'
[[ -s "$HOME/.local/share/marker/marker.sh" ]] && source "$HOME/.local/share/marker/marker.sh"

It would be good to try this on the latest tip of the master branch

yahanvesh commented 6 years ago

The issue seems resolved now, tried on macOS Sierra. It will great to add this as a note in README. Getting a key binding which is free was hard, i finally settled with C-^ [Ctrl+ ^] Dont use Ctrl+M - which is bound to "Enter" key by default. or Ctrl+l in bash will clear your screen.

AndKe commented 5 years ago

issue still exists with Ubuntu 18.04

transmit-receive commented 5 years ago

issue still exists with Ubuntu 18.04

Can confirm, same here. Duplicate of https://github.com/pindexis/marker/issues/45 , onknows fix works perfectly.

sametmax commented 5 years ago

I ubuntu, I set it to export MARKER_KEY_GET='\C-P', this way I have the same shortcut for Sublime Text, VSCode and marker.