This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun fsharp-ac/electric-dot () | |
(interactive) | |
(unless (company-in-string-or-comment) | |
(company-complete))) | |
(define-key evil-insert-state-map (kbd "<f12>") | |
(lambda () | |
(interactive) | |
(fsharp-ac/electric-dot))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; http://endlessparentheses.com/permanent-auto-indentation.html | |
(defun endless/indent-defun () | |
"Indent current defun. | |
Do nothing if mark is active (to avoid deactivaing it), or if | |
buffer is not modified (to avoid creating accidental | |
modifications)." | |
(interactive) | |
(ignore-errors | |
(unless (or (region-active-p) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(define-key evil-insert-state-map (kbd "C-k") 'nil) | |
(define-key global-map (kbd "C-k") 'lispy-kill) | |
(defun my-remove-lispy-key (key) | |
(define-key lispy-mode-map-base key nil) | |
(define-key lispy-mode-map-lispy key nil) | |
(define-key lispy-mode-map-oleh key nil) | |
(define-key lispy-mode-map-paredit key nil) | |
(define-key lispy-mode-map-special key nil) | |
(define-key lispy-mode-map-x key nil)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(require 'prodigy) | |
;; omnisharp-emacs development hacks | |
(setenv "PATH" (concat (getenv "PATH") | |
":/home/mika/.cask/bin" | |
":/home/mika/bin/")) | |
(defmacro def-omnisharp-service (name command &optional args-to-command) | |
(let ((omni-dir "/home/mika/git/omnisharp-emacs/")) | |
`(prodigy-define-service |