Tagged Questions
0
votes
1answer
30 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
32 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?
2
votes
4answers
98 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 ...
4
votes
2answers
127 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
70 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
315 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
3answers
293 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?
2
votes
2answers
226 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
72 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 ...
4
votes
1answer
156 views
Emacs commands in xterm
I found that the commands I used to use in gnome-terminal/bash, those I learned in emacs, are only partially working in xterm/bash. In some cases, I get strange chars like ÿ, æ, and â instead. Do you ...
2
votes
3answers
175 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
191 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
157 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
215 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. ...
5
votes
1answer
648 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
121 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
417 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?
3
votes
1answer
292 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 ...
5
votes
4answers
2k 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
423 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 ...
