diff options
author | oreodave <aryadevchavali1@gmail.com> | 2019-07-24 02:13:55 +0100 |
---|---|---|
committer | oreodave <aryadevchavali1@gmail.com> | 2019-07-24 02:13:55 +0100 |
commit | b91a204fe66d67ed9bbe8fa327ed5307827a87e2 (patch) | |
tree | 0204269cd41265146371dc412d2257732a8b83d4 /doom.d | |
parent | de17dcebeb4fcfce35360a9d697c49cffe63b2b7 (diff) | |
download | dotfiles-b91a204fe66d67ed9bbe8fa327ed5307827a87e2.tar.gz dotfiles-b91a204fe66d67ed9bbe8fa327ed5307827a87e2.tar.bz2 dotfiles-b91a204fe66d67ed9bbe8fa327ed5307827a87e2.zip |
+C# configuration and keybinds
Diffstat (limited to 'doom.d')
-rw-r--r-- | doom.d/config.org | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/doom.d/config.org b/doom.d/config.org index 461929f..48bb97e 100644 --- a/doom.d/config.org +++ b/doom.d/config.org @@ -49,3 +49,25 @@ become my C one soon! (after! elcord (elcord-mode)) #+END_SRC +* Languages + +** C# +#+BEGIN_SRC emacs-lisp +(after! csharp-mode + (setq omnisharp-server-executable-path "~/bin/omnisharp/run") + (add-hook 'csharp-mode-hook '(lambda() (setq c-basic-offset 4))) ; Hook for csharp setting variables + + ; C# Keybinds + (map! + :map csharp-mode-map + :localleader + :desc "Format buffer" "=" 'omnisharp-code-format-entire-file + (:prefix "t" + :desc "Unit Test This" "t" 'omnisharp-unit-test-at-point + :desc "Unit Test Last" "l" 'omnisharp-unit-test-last + :desc "Unit Test All" "b" 'omnisharp-unit-test-buffer + ) + ) + ) +#+END_SRC + |