xah-fly-keys
xah-fly-keys copied to clipboard
When using C-u d on bash variable `${var}` gets transformed to `{var`
Hello,
When using C-u d on bash variable ${var}
gets transformed to {var
When its quoted its "${var}"
-> "{var"
I think it should work like this, leaving dollar sign:
"${var}"
-> "$var"
"${var}
-> $var
The same case is for $(cmd)
that's because emacs (backward-sexp) moves to the left of dollar sign, in shell-script mode. very annoying. i'll have to think about fix. don't want to add special cases for each mode. for now, if u put cursor on the left opening bracket, it works.
fixed