3
votes
1answer
147 views

Unset Fn key in emacs (console)

When I run emacs24 on the console the Fn key on both my Lenovo laptops sets the selection mark (in the same way as C-SPC). That's pretty crazy behavior as I need the Fn key to change screen ...
3
votes
1answer
125 views

Navigating the CLI: Go back N words

I'm a Vim user, so I'm learning Emacs commands for use in the Bash CLI. I know that on my systems I can use Vim-keybindings in Bash but I'd like to learn how to use it effectively in its default ...
2
votes
1answer
68 views

In emacs are any key sequences available for user macro bindings in all modes

I have recently started using org mode in emacs, but my macro bound in my initialisation file to C-x C-k T no longer works because this combination is used by outline mode which underpins org mode. I ...
2
votes
3answers
70 views

Emacs paste into search (C-s) field?

Let's say you are writing code in one of Emacs window and then want to search for a string that you have copied manually (M-w) some time before. The problem is, that by default, when you issue C-s, ...
0
votes
1answer
44 views

Keyboard shortcut to switch files in one Emacs instance?

I've multiple files opened in an Emacs client. Right now, to toggle between files, I've to click on the file name at the bar below in the editor. Any keyboard shortcuts for switching between files?
0
votes
2answers
95 views

Emacs “jump to class definition” functionality?

I want to jump to a class file "A" from another file "B" which defines objects "A". In eclipse, it is done using F3. Is there a way to achieve this in emacs?
7
votes
4answers
4k views

Ctrl-s hang terminal emulator?

I came across a sentence in vimdoc: Note: CTRL-S does not work on all terminals and might block further input, use CTRL-Q to get going again. and this key indeed hangs my vim. I was ...
5
votes
2answers
391 views

vim customized with emacs commands (insert mode only)

I was an emacs user, and I have to switch to vim. But I miss some basic emacs commands in vim insert mode: C-A C-E C-K C-Y C-x C-s ... and some other I know that I can press Escape and then press ...
1
vote
1answer
94 views

Associating a function in Emacs after looking up the code with M-x describe-key

I would like to associate the following function (which toggles on and off full-screen on the active buffer): (defun toggle-maximize-buffer () "Maximize buffer" (interactive) (if (= 1 (length ...
2
votes
1answer
609 views

Defining key sequences in Evil-mode Emacs

I couldn't find any instructions on defining key sequences in the Evil doc. The example given by the developers only covers a single key. (define-key evil-normal-state "w" 'foo) What do I need to ...
6
votes
4answers
790 views

Open terminal from emacs

Is there a fast way (keyboard shortcut) to open a terminal emulator (in my case urxvt) in the same directory as the file in the current emacs buffer?
3
votes
2answers
556 views

emacs - paste text from clipboard without formatting

I am using Emacs 24 for MacOSX and having some problem with pasting code from clipboard to Emacs. The code that I selected usually already nicely formatted (with tab, ident, ...). However, when I ...
2
votes
1answer
97 views

Make 'CTRL-/' behave the same in vtty and xterm

When I press Ctrl+/ in a graphical terminal (e.g. xterm) I get "undo". However, in a virtual terminal (e.g. Ctrl+Alt+F1) I get "backspace". In practice I run into this when I'm using emacs in a ...
6
votes
1answer
284 views

Emacs commands in xterm

I found that the commands I used to use in gnome-terminal, those I learned in Emacs, are only partially working in xterm. In some cases, I get strange chars like ÿ, æ, and â instead. Do you know how ...
3
votes
3answers
318 views

Scrolling on very long files (1M+ lines) on Emacs

I was wondering if besides the basic navigation commands: C-p : Jump backwards one line. C-n : Jump forward one line. C-v : Jump forward one full screen. M-v : Jump backwards one full screen. M-a : ...
2
votes
1answer
281 views

Problem with meta key on Emacs

I have a problem with meta key in Emacs. I trying to use M-> or M-< but in fedora meta key is left Alt that is key change layout (alt+shift) when i press M->(alt+shift+>). How people solve this ...
1
vote
0answers
209 views

uemacs 4.0.15 strange key bindings

Playing around with uemacs I noticed that some of the default alternative key bindings are set to the Fn key in combination with a different key (for example, an alternative for 'help' is set to ...
5
votes
2answers
311 views

Is it possible to stop emacs from down translating my key chords?

emacs has the default behaviour of double-guessing which key-combo (chord) I've pressed. It automatically down-translates to a lesser chord when the key-combo I pressed is unassigned, eg. ...
9
votes
1answer
880 views

Gnome stop grabbing my emacs keys

I am using Gnome in Ubuntu 11.04. I work a lot in Emacs, and I find that the Gnome window manager grabs some of the Emacs keys. To some extent, I can stop this by laboriously going through each of ...
4
votes
1answer
242 views

In emacs, how can I pass an argument to a function in a keybinding defintion

I want to create a keybinding for funcion end-of-line+ and pass a value of -1 to i. The function is declared as: (end-of-line+ &optional n) The first of the following snippets below, works ...
3
votes
2answers
799 views

Working with screen and emacs

I'm working with emacs (on the terminal) and I use screen to switch between terminals. The key combination Ctrl+A is grabbed by screen. Is there a way to change screen key binding?
4
votes
1answer
360 views

In Gnu Emacs how do I set up a global key to toggle the menu-bar?

Using Gnu Emacs 23.1.1 on Ubuntu 10.04... I'm currently a total newb with emacs, and I've decided to go cold turkey with the Gnome menu bar. (but I do want it to be "available" for the teething ...
6
votes
4answers
3k views

Emacs command to cut OR copy to system clipboard?

As a very new Emacs user, I've been using Ctrl+w and Ctrl+y to cut/copy and paste between buffers in Emacs. Is there a way to do the same thing so that not just Emacs, but the entire system, can have ...
6
votes
1answer
512 views

Emacs and windows manager keyboard shortcuts without “Super” key

I found a classic M-series keyboard and I want to use it. However, it does not have the "Windows" key (a.k.a "Super"), only the Shift, Control and Alt modifiers. My keyboard shortcuts are cluttered ...