Fix keybindings + make them more consistent
This commit is contained in:
parent
45ded63278
commit
45122cdea5
9 changed files with 75 additions and 68 deletions
|
@ -18,31 +18,33 @@
|
|||
|
||||
;; Map all refactor commands (see emr)
|
||||
(map! :map omnisharp-mode-map
|
||||
:n "gd" 'omnisharp-go-to-definition
|
||||
:m "gd" 'omnisharp-go-to-definition
|
||||
|
||||
:localleader
|
||||
:n "b" 'omnisharp-recompile
|
||||
(:localleader
|
||||
:n "b" 'omnisharp-recompile
|
||||
|
||||
:prefix "r"
|
||||
:n "fu" 'omnisharp-find-usages
|
||||
:n "fi" 'omnisharp-find-implementations
|
||||
:n "i" 'omnisharp-fix-code-issue-at-point
|
||||
:n "u" 'omnisharp-fix-usings
|
||||
:n "r" 'omnisharp-rename
|
||||
:n "ti" 'omnisharp-current-type-information
|
||||
:n "td" 'omnisharp-current-type-documentation
|
||||
:n "gf" 'omnisharp-navigate-to-current-file-member
|
||||
:n "gm" 'omnisharp-navigate-to-solution-member
|
||||
:n "gM" 'omnisharp-navigate-to-solution-file-then-file-member
|
||||
:n "gF" 'omnisharp-navigate-to-solution-file
|
||||
:n "gr" 'omnisharp-navigate-to-region
|
||||
:n "a" 'omnisharp-show-last-auto-complete-result
|
||||
:n "o" 'omnisharp-show-overloads-at-point
|
||||
(:prefix "r"
|
||||
:n "i" 'omnisharp-fix-code-issue-at-point
|
||||
:n "u" 'omnisharp-fix-usings
|
||||
:n "r" 'omnisharp-rename
|
||||
:n "a" 'omnisharp-show-last-auto-complete-result
|
||||
:n "o" 'omnisharp-show-overloads-at-point)
|
||||
|
||||
:prefix "t"
|
||||
:n "tr" (λ! (omnisharp-unit-test "fixture"))
|
||||
:n "ts" (λ! (omnisharp-unit-test "single"))
|
||||
:n "ta" (λ! (omnisharp-unit-test "all"))))
|
||||
(:prefix "f"
|
||||
:n "u" 'omnisharp-find-usages
|
||||
:n "i" 'omnisharp-find-implementations
|
||||
:n "f" 'omnisharp-navigate-to-current-file-member
|
||||
:n "m" 'omnisharp-navigate-to-solution-member
|
||||
:n "M" 'omnisharp-navigate-to-solution-file-then-file-member
|
||||
:n "F" 'omnisharp-navigate-to-solution-file
|
||||
:n "r" 'omnisharp-navigate-to-region
|
||||
:n "ti" 'omnisharp-current-type-information
|
||||
:n "td" 'omnisharp-current-type-documentation)
|
||||
|
||||
(:prefix "t"
|
||||
:n "r" (λ! (omnisharp-unit-test "fixture"))
|
||||
:n "s" (λ! (omnisharp-unit-test "single"))
|
||||
:n "a" (λ! (omnisharp-unit-test "all"))))))
|
||||
|
||||
|
||||
(def-package! shader-mode :mode "\\.shader$") ; unity shaders
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue