GitXplorerGitXplorer
n

omnisharp-demo

public
50 stars
8 forks
1 issues

Commits

List of commits on branch master.
Unverified
14cc22363d68c6e311dd0edf6b99d93d97d1800a

updated omnisharp-emacs

nnosami committed 10 years ago
Unverified
a978c44d2e4b234841c9d5ad1eb2479720ca8b9a

updating packages

nnosami committed 10 years ago
Unverified
0a7707ce6ca225df112b197eff4e2ad0aaa29f87

updating packages

nnosami committed 10 years ago
Unverified
be71af67092626c4d47011c083ff3f0e3b3778e5

automatic package restore

nnosami committed 10 years ago
Unverified
9c319ef648657596ef3d10302f4b580655341c74

fix tab key in ansi-term

nnosami committed 10 years ago
Unverified
b49f1c5d1312a7bc2cce333a548597530cc1db65

stop emacs from writing interlock files

nnosami committed 10 years ago

README

The README file for this repository.

omnisharp-demo

omnisharp-emacs screenshot Ready made emacs configuration for omnisharp-emacs with a bunch of plugins ready installed and keybindings designed to be familiar to VS/Resharper users.

Don't use this if you already have an emacs installation that you want to keep!!

This is meant for people who are new to emacs and want to get running quickly.

To install git clone https://github.com/nosami/omnisharp-demo.git ~/.emacs.d

For OSX, use http://emacsformacosx.com/ or brew install emacs -cocoa --with-gnutls

For Windows, use http://emacsbinw64.sourceforge.net/

To run k commands from emacs on OSX, you'll need to start it from the shell to ensure that your PATH is set correctly within emacs after kvm use .....

You might want to use an alias such as

alias e='/Applications/Emacs.app/Contents/MacOS/Emacs' in your ~/.bashrc or ~/.zshrc file.

Feature Keybinding Notes
Intellisense None Automatic
Goto Definition Cmd-D, F12 Might want to disable OSX F12 key
Find Usages Cmd-U or Shift-F12
Find Implementations Cmd-I
Rename F2 or Ctrl-R,R
Run test Ctrl-R-T Currently, only k test supported.
Run all tests Ctrl-R-A Start emacs from the shell
Run last tests Ctrl-R-L to get the PATH set up correctly
Find file in project Ctrl-, or Ctrl-P
Format Document Ctrl-K,D
Comment block or line Ctrl-K,C
Go to line number Ctrl-G
Duplicate line or region Ctrl-D
Open current file in Directory Listing Ctrl-Alt-L
Toggle directory view F7
Full screen mode Alt-Shift-Enter or Cmd-F
Jump to word Cmd-J Then first character of the word
Incremental search Ctrl-I, F3 to repeat Or Ctrl-S, and press again to repeat
Switch to previous buffer Ctrl-Tab
Expand selection Ctrl-Alt-Left
Contract selection Ctrl-Alt-Right
Find in files (incrementally!) Ctrl-Shift-F Requires ag https://github.com/ggreer/the_silver_searcher
Navigate split windows Alt- ← ↑ ↓ →
Navigate up to previous definition Cmd-Shift-up
Navigate down to next definition Cmd-Shift-down
Save file Cmd-S
Quit Cmd-Q

Snippets

Type abbreviation followed by tab key to complete. Press tab again to move between snippet placeholders.

Abbreviation Expands to
class Class with name from file
ctor Constructor with name generated from filename
cw Console.WriteLine
else else
elif else if { .. Condition .. }
for for
foreach foreach
if If
namespace Namespace from folder name
private private method
prop Public property
public public method
tcf Try Catch Finally
test NUnit test method
tf NUnit test fixture
while while