marker icon indicating copy to clipboard operation
marker copied to clipboard

-bash: bash_execute_unix_command: cannot find keymap for command

Open saptak opened this issue 9 years ago • 13 comments

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

saptak avatar Jun 12 '16 18:06 saptak

what bash version are you using?

pindexis avatar Jul 03 '16 13:07 pindexis

@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.

nodingneu avatar Sep 12 '16 17:09 nodingneu

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.

tarto-dev avatar Sep 20 '16 11:09 tarto-dev

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.

aydancoskun avatar Nov 16 '16 13:11 aydancoskun

BUMP

mikkelwf avatar Aug 03 '17 08:08 mikkelwf

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

Anyone figured this one out?

xeor avatar Sep 18 '17 19:09 xeor

come oooon

nodingneu avatar Sep 23 '17 11:09 nodingneu

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 avatar Sep 30 '17 17:09 pindexis

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

pindexis avatar Sep 30 '17 19:09 pindexis

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.

yahanvesh avatar Nov 03 '17 01:11 yahanvesh

issue still exists with Ubuntu 18.04

AndKe avatar Oct 16 '18 19:10 AndKe

issue still exists with Ubuntu 18.04

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

transmit-receive avatar Oct 28 '18 21:10 transmit-receive

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.

sametmax avatar Feb 08 '19 08:02 sametmax