473,473 Members | 1,924 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Emacs/Vim style buffer/window switching

Hi

Is there a way to enable Emacs/Vim style buffer switching in the VC++
editor? For those that don't know this is where you hit a shortcut key
in Emacs/Vim and then type the partial name of the file/buffer/window
and it provides a list of matches to the partial name. It's kinda like
hitting Ctrl+i and doing an incremental search except it matches file
names instead of text.

Any alternative suggestions for quickly moving between files would be
appreciated. Currently I do one of the following:
1) Ctrl-Alt-l to move to the solution explorer and use arrow keys to
move up or down.
2) Ctrl-Tab

I think that the Emacs/Vim style switching would be quicker depending on
context, so it would be nice if there was a way to do it.

Thanks

--
sashan
http://www.cs.auckland.ac.nz/~sgov008/


Nov 17 '05 #1
4 2021
sashan <no*****@important.com> wrote:
Is there a way to enable Emacs/Vim style buffer switching in the VC++
editor? For those that don't know this is where you hit a shortcut key
in Emacs/Vim and then type the partial name of the file/buffer/window
and it provides a list of matches to the partial name. It's kinda like
hitting Ctrl+i and doing an incremental search except it matches file
names instead of text.


Not exactly, but close. Try assigning the command Window.Windows to your
desired key. It will bring up a list of currently open windows. You can
start typing the name of the file you want and the highlight will move as
in an incremental search. Hit Enter on the one you want, and you're there.

--
harry
Nov 17 '05 #2

Not exactly, but close. Try assigning the command Window.Windows to your
desired key. It will bring up a list of currently open windows. You can
start typing the name of the file you want and the highlight will move as
in an incremental search. Hit Enter on the one you want, and you're there.

Ok thanks.

Nov 17 '05 #3
I have written a Visual Studio add-in that does something like this. See:

http://www.gotdotnet.com/Community/W...8-b12a7deb9fe2

Jonathan

"sashan" <no*****@important.com> wrote in message
news:c0**********@lust.ihug.co.nz...
Hi

Is there a way to enable Emacs/Vim style buffer switching in the VC++
editor? For those that don't know this is where you hit a shortcut key
in Emacs/Vim and then type the partial name of the file/buffer/window
and it provides a list of matches to the partial name. It's kinda like
hitting Ctrl+i and doing an incremental search except it matches file
names instead of text.

Any alternative suggestions for quickly moving between files would be
appreciated. Currently I do one of the following:
1) Ctrl-Alt-l to move to the solution explorer and use arrow keys to
move up or down.
2) Ctrl-Tab

I think that the Emacs/Vim style switching would be quicker depending on
context, so it would be nice if there was a way to do it.

Thanks

--
sashan
http://www.cs.auckland.ac.nz/~sgov008/

Nov 17 '05 #4
I have written a Visual Studio add-in that does something like this. See:

http://www.gotdotnet.com/Community/W...8-b12a7deb9fe2

Jonathan

"sashan" <no*****@important.com> wrote in message
news:c0**********@lust.ihug.co.nz...
Hi

Is there a way to enable Emacs/Vim style buffer switching in the VC++
editor? For those that don't know this is where you hit a shortcut key
in Emacs/Vim and then type the partial name of the file/buffer/window
and it provides a list of matches to the partial name. It's kinda like
hitting Ctrl+i and doing an incremental search except it matches file
names instead of text.

Any alternative suggestions for quickly moving between files would be
appreciated. Currently I do one of the following:
1) Ctrl-Alt-l to move to the solution explorer and use arrow keys to
move up or down.
2) Ctrl-Tab

I think that the Emacs/Vim style switching would be quicker depending on
context, so it would be nice if there was a way to do it.

Thanks

--
sashan
http://www.cs.auckland.ac.nz/~sgov008/

Nov 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

49
IDE
by: Thomas Lindgaard | last post by:
Hello I am probably going to start a war now... but so be it :) I just want to hear what all you guys who eat pythons for breakfast use for python coding. Currently I use Kate, but I would...
1
by: tschulz | last post by:
In emacs' python-mode, a file can be executed by pressing Ctrl-C Ctrl-C. If the code execution terminates with an Exception, emacs swaps the source code window and the python output window. Is...
1
by: damonwischik | last post by:
I'm using GNU Emacs 21.3.1 with python-mode 1.0alpha under Windows XP. Whenever I execute a command in an edit window (with py-execute-region), the output window steals the focus. How can I stop...
7
by: T J Rogers | last post by:
Hi folks, Below is a script that I use on a site to detect the size of the browser window then automatically load an alternative stile sheet when appropriate. Its a bit clumsy, and I don't...
2
by: Gary Wessle | last post by:
Hi python users I am using emacs and python-mode.el under dabian testing. is there a way to debug python code where I can step over each line and watch the value of all the variables and be able...
5
by: levander | last post by:
I've been using pdb under emacs on an Ubuntu box to debug python programs. I just upgraded from Ubuntu Edgy to Feisty and this combo has stopped working. Python is at 2.5.1 now, and emacs is at...
331
by: Xah Lee | last post by:
http://xahlee.org/emacs/modernization.html ] The Modernization of Emacs ---------------------------------------- THE PROBLEM Emacs is a great editor. It is perhaps the most powerful and...
1
by: Xah Lee | last post by:
Text Processing with Emacs Lisp Xah Lee, 2007-10-29 This page gives a outline of how to use emacs lisp to do text processing, using a specific real-world problem as example. If you don't know...
4
by: Richard Szopa | last post by:
Hi All, I am a devoted Emacs user and I write a lot in Python. However, I never managed to get my Emacs configuration right for this purpose. There were some discussions on this, but the threads...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.