zbrad / emacskeys Goto Github PK
View Code? Open in Web Editor NEWEmacs key bindings for Visual Studio
License: Other
Emacs key bindings for Visual Studio
License: Other
Hi,
Is this project active? I've recently had to work with VS and C#. But I really want my Emacs bindings. Can it work with Community edition of VS 2015?
I've installed this extension on many VMs. A few times it worked properly. but most of the times the navigation key combinations didn't work at all. I eventually found that launching Visual Studio with the debugger attached with the extension in Experimental mode fixes the issue every time (I've done this ten times or more). After doing this, Visual Studio can be run normally with no issues.
Ctrl-K at end of line (or on empty line) does not correctly remove newline.
It is a binary file, and can't even been edited by VS. I think this is the file that defines the key mappings?
I see windows split vertically is working, but not horizontally. Any chance to get horizontal window split working?
This great plugin doesn't support vs 2019 preview.
Is there a workaround to use it with vs 2019?
Hi,
Thanks for the great extension.
I wonder if there is a way to generate the .vsk file manually so I can add extra editor commands.
A current limitation of the original version, is that it requires the copying of a "vsk" file, into the Visual Studio product folder, which requires running the extension installer as administrator.
To solve this, my next check-in will instead make use of the Visual Studio import/export bindings (vssettings), stored per user, with a specified set of Emacs key bindings, that can then be edited locally according to taste.
Hi,
Started using this extension and so far got so good, it's got several of the basic editing features which is all I was asking for. One things that is very annoying though, not sure if it is a bug or expected behavior, but this is not default behavior of recent GNU Emacs.
After a Ctrl-Y (Yank or Paste) the cursor is in highlight mode and highlights text starting from the end of the yank location. I have to cancel with Crtl-G to remove this highlighting.
If I copy some text (with C-k, C-w or M-w) and then I do C-s (to search) or M-% (to search and replace) I cannot paste (or yank) the copied text into the search box. C-y yanks the text in the main editor window, C-v does PgDown in the main editor window.
I am using the VS2015 fork from https://github.com/justcla/EmacsKeys, so I do not know if this also an issue in this version.
Centering text works with Ctrl-L but it does not have the full Emacs behavior: it can only put the cursor in the middle. Clicking Ctrl-L in Emacs will first put the cursor in the middle of the editor, then at the top then at the bottom before starting back and putting in the middle, etc. Is that something easy to add or not in there because of how VS works?
In Emacs default, highlighting a selection then pressing the DEL key deletes the entire selection. In the current EmacsKeys, it deletes only the first character as if I'd pressed C^d. Currently I have to C^w to cut the text but I'd like to keep my clipboard clean.
Edit:
I installed the version from: https://marketplace.visualstudio.com/items?itemName=JustinClareburtMSFT.EmacsEmulation#overview
For those of us from the emacs/make world, could someone please provide an INSTALL.txt file? I have no idea what to do with the files in this project.
I am used to emacs overwriting and replacing the selection, i.e. if I select text with the mouse and then start typing I expect the old text to be replaced with what I typed.
Using EmacsKeys this is not the case, the newly typed text is appended to the selected, no matter where the cursor is. It seems EmacsKeys behaves like (delete-selection-mode 1)
emacs manual
Is there a way to configure it to overwrite text just as it would do in standard VS?
Please help - the behavior is driving me nuts!
Thanks in advance
Thomas
I tried making Emacs Emulation work with Github Copilot. The problem is that Copilot expects Tab to accept a suggestion, however Tab does not interact with Copilot when Emacs Emulation is active. I've tried binding a new key to "Edit.InsertTab". However, this does not seem to have an effect. "Automatically indent when I type a tab" is disabled in C++ formatting. Is there a fix or workaround for this problem (other than disabling emacs emulation)?
This great plugin doesn't support vs 2022 preview.
Is there a workaround to use it with vs 2022?
The indentation code makes a bunch of assumptions that makes it hard to use and is a bit buggy, can you consider removing it ?
Running on a Windows 10 64-bit machine, Visual Studio 2017, with EmacsKeys from Visual Studio Marketplace.
*This should be easy to reproduce if not unique to my machine.
Package Management Console is 'non-responsive' after activating the EmacsKeys extension. After some headache and having someone else look at my machine, he found that the Enter key wasn't working as expected. So, I couldn't enter commands in the Package Management Console.
I'm guessing this is because EmacsKeys mapped my Enter key to something else in Visual Studio. If this is not the case it could have been an issue on my machine only, but if it is, I imagine this would be a quite important issue.
Thanks for reading and any insight or help
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.