spacemacs shift + tab does not <backtab> and says that <backtab> is undefined - emacs

I am on linux and using a standard keyboard.
i'm not able to use shift-tab at all for some reason. of course i can use < but not while in editing mode. i've looked online but i'm not able to find a solution for the backtab.
am i doing something wrong?

Related

Hide other windows (CMD + Option + H) shortcut for VS Code on macOS

In proper mac applications you can use command+option+H to hide all apps except the currently active program. This does not work in VS Code for some reason. Is there a way to get this functionality?
You could try this I found setting each app individually worked for me.
Senario
I wanted to prevent vscode from using Hide Visual Studio Code which, by default was mapped onto cmd+H keyboard shortcut. I changed it to the way illustrated in the screegrab and it worked. Perhaps you could do the same?
Edit
I actually attemped it and it worked with the same combo you wanted. See the screen grab below:
Happy coding =)

Is there a way to remap keys to change between tabs like Sublime Text/Atom and Browsers?

I was searching for some way to change Netbeans tabs behavior to act like Sublime Text or Google Chrome, but found nothing so far.
In sublime, you can change tabs using the CTRL + number (Or Command + number in OSX), as seen in the following image:
So my question is: Does anyone knows a way to do this in Netbeans ? I still love the IDE, but this feature is really important to me, because make me more productive.

shift-end not working in emacs terminal mode

I have set up my emacs so that I can highlight regions with shift + arrows, PgUp, PgDown, Home and End keys, and in window mode that works fine. In terminal mode the combinations Shift+End and Shift+Home do nothing. All other combinations work. Has anyone else encountered this and knows how to fix it? I'm using Gnome Terminal 3.6.2 and emacs 23.3.1.
Not sure what you mean by "set up my emacs so that I can highlight regions with shift + arrows" since AFAIK this is the default behavior, but if they do nothing I think it's because these key combinations are somehow caught by your window-manager.
At least here on Debian, with gnome-terminal 3.12.2 they work just fine.
Gnome-terminal (actually the underlying vte widget) has recently received many emulation fixes, including fixing the keys with modifiers. Upgrading to a recent version will fix your problem.
I see the same problem on Ubuntu 14.04 with gnome-terminal.
This is a problem with gnome-terminal. If I use XTerm, then it works as expected. There is a similar problem with Ctrl-Home and Ctrl-End. Those keys send the same key code as Home and End.

Some standard Emacs keybindings don't work on my Linux box

On my macbook everything worked nicely, but on my Archlinux box, with dwm as a window manager, the following keybindings don't work:
M-m
M-<
M->
It is kind of a pain to work without these bindings. I should note that many other Meta key bindings work fine.
Does anyone know how to fix this?
They're probably being intercepted by your window manager. I don't know dwm, but I'd try googling "dwm resetting keyboard shortcuts".
(A quick read of the results suggests dwm may need to be recompiled to do this, see http://dwm.suckless.org/)

How to change the meta key in Emacs?

I've just started to put in the time to get to learn emacs. By default my meta key is bound to Esc, and I'm finding that really inconvenient. I read somewhere however that it's not a good idea to change the binding to Alt. Is that true? If not, how could I go about doing that?
It's bound to Alt by default for me, and I have no problems with that. Are you on a Mac perhaps? There it is bound to one of the other keys like option.
If you are on a mac, the way to change the key will probably vary based on which version of Emacs you're using--e.g., I think changing it in the terminal would be different than changing it on one of the windowed varieties.
Another thing to try: http://www.jwz.org/xkeycaps/
Look through the keyboard layout with this and see if any key is assigned to Meta. If not, try assigning it; otherwise try changing it. I haven't actually tried this, but it looks promising.
If you are using a Mac, you can follow the directions from here:
"If you do not want to use the Esc key, you can specify a key to use as Meta. To specify a Meta key, select the Emulation tab of the Editor Preferences dialog."
You can then select to use Alt or Command as your Meta key.
I'm guessing that you're on Mac, because I had the same problem. This is how I fixed it:
Open Terminal
Open up the preferences
Open up the "Profiles" tab and choose the "Keyboard" tab with your current profile selected
Below the long scroll box are a couple check boxes. Check "Use Option as Meta key."
I'm using OS X 10.11.5, so I don't know about older versions of Terminal. I imagine that it would be similar.
For me, on my mac, it was bound to Alt by default, but I found it anoying because Alt is used for some special characters on Mac.
I added these lines on my .emacs
(setq mac-function-modifier 'meta)
(setq mac-option-modifier nil)
Thus in your case, you would have to add this in your .emacs (I tried this solution, and it worked for me)
(setq mac-option-modifier 'meta) ; set alt-key to meta
(setq mac-escape-modifier nil) ; set esc-key to nil
I had to do this for emacs while remotely connected to my raspberry pi.
Go to terminal.
type:
xmodmap -e "keysym Alt_L = Meta_L Alt_L"
This was suggested in xmodmap's manual
man xmodmap
Hope that helps :) I'm pretty new to this though so someone else may want to comment.