English 中文(简体)
在块形中的窗口之间有效切换 [重复]
原标题:Efficient switching between windows in emacs [duplicate]
This question already has answers here:
Closed 11 years ago.

Possible Duplicate:
How can I more easily switch between buffers in Emacs?

在与 emacs 合作时, 我倾向于保留许多打开的窗口。 不幸的是, 使用 < code> M-x other- window 相当烦恼。 到目前为止, 我在我的.emacs 文件中设置了键盘快捷键 : (Global- set- key (quote [backtab] (quote other- window))) 。 这让事情更容易一些, 但我正在寻找可以应用到窗口的命令 < code> next-buffer previus-buffer 的等同命令 。

最佳回答

将以下内容添加到您的. mamacs

(windmove-default-keybindings)
(setq windmove-wrap-around t)

然后您就可以用 Shifftleft, left, up, down, right {/code> 箭头在窗口之间切换。 Shift 修饰符是 windmove- default- key contract 的一个参数, 这样您就可以选择另一个参数 。

您可能想要激活一个 winner-mode 。 这是一个次要模式, 它会记住您的窗口配置, 您可以使用 winner- undo winner- redo 进入前一个/ 下一个配置 。

问题回答

暂无回答




相关问题
How to go to an error using only the keyboard in Eclipse?

Let s say I have a file with 10 lines and I have a problem with the name of the package (or something) and the cursor is on the last line of the text. How can I go directly to that line to see what ...

Switching focus between editor and terminal in Kate

When working in Unix with various programming languages I often use Kate as my primary editor. It has a really nice function of being able to open a built-in terminal window which is quite useful. ...

Shortcuts to change the active tab in my application

My application has a main window that contain a TabControl with about 7 TabItems. Inside each tabItem I put a UserControl. I would like that (no matter the active tab, or control) when the user press ...

Keyboard shortcut to build only startup project?

I ve tried to find a keyboard shortcut to build only the startup project In VS2008. I only found a configurable shortcut to build the project which is currently viewed, which isn t as good. Any ...

Custom Emacs key bindings are not working

The key bindings I ve defined in my .emacs file aren t working. Here s the file: ;init modes (menu-bar-mode 0) (tool-bar-mode 0) (cua-mode) (column-number-mode) (fset perl-mode cperl-mode) (cperl-...

ALT Key Shortcuts Hidden

I am using VS2008 and creating forms. By default, the underscore of the character in a textbox when using an ampersand is not shown when I run the application. ex. "&Goto Here" is not ...