Linked Questions

0
votes
0answers
22 views

Org Mode Key Bindings In Terminal Not Working [duplicate]

I'm new to using Emacs in Ubuntu server terminal as opposed to GUI and noticed some of the standard org mode key binding (like M-DOWN or M-UP to move list items or subtrees up or down) don't work. Is ...
31
votes
4answers
9k views

Problems with keybindings when using terminal

I have the following line in init.el: (global-set-key [(control \;)] 'comment-region) It works very well in GUI window, but if emacs is invoked with the -nw option then C-; doesn't comment region, ...
8
votes
3answers
2k views

Why I can't bind Shift-<backspace>?

My system is debian wheezy, I tried to do the following (global-set-key (kbd "S-<backspace>") 'evil-shift-left-line) (global-set-key (kbd "<S-backspace>") 'evil-shift-left-line) (define-...
4
votes
3answers
946 views

Custom C-M-; key binding

I have a custom comment-dwim-line command that I want to bind to the key combination C-M-; (in other words, control, meta and ; buttons pressed simultaneously). The built-in comment-dwim command is ...
3
votes
1answer
516 views

How can I temporarily disable Spacemacs key bindings to work with org mode?

I am trying to learn an orgmode tutorial in Spacemacs (terminal mode) and it seems tha the Spacemacs key bindings are getting in the way. How can I revert the Spacemacs bindings temporarily for that ...
1
vote
2answers
239 views

In terminal, C-) and ) both execute evil-forward-sentence. I want C-) to run paredit-forward-slurp-sexp

If I type C-f paredit-forward-slurp-sexp, Emacs tells me the command is mapped to C-). Yet through C-h k I realized that both C-) and ) run evil-forward-sentence. If I do C-f evil-forward-sentence, ...
1
vote
1answer
412 views

How to bind meta-shift-arrow to mark one word at a time

I am having trouble of marking one word at a time (ctrl-shift-arrow or meta-shift f/b) when connecting from one of my terminals. I would like to bind it also to meta-shift-arrow. I couldn't find what ...
0
votes
1answer
410 views

Weird keyboard behaviour by Emacs in a terminal [duplicate]

I am having problems to configure my EMACS in -nw mode using linux thorough ssh. I am trying to map Ctrl+Shift+z to redo using undo-tree-redo. I tried the following code (defalias 'redo 'undo-tree-...
2
votes
1answer
356 views

'C-M--' on Emacs Terminal on OSX fails with “C-M-_ is undefined”

I'm trying to execute C-M-- from Emacs on Terminal (iTerm2) running on OSX, but I keep getting an error saying C-M-_ is undefined. Any ideas how to workaround this?
0
votes
0answers
42 views

C-S-n and C-= not working in emacs if running within terminal [duplicate]

I am running emacs inside tmux within iterm2 on OSX. For some reason these key bindings do not work properly C-S-n C-= C-+ C-; And some others too that are similar. All of these work when running ...