summaryrefslogtreecommitdiffstats
path: root/jeschli/2configs/emacs.nix
diff options
context:
space:
mode:
Diffstat (limited to 'jeschli/2configs/emacs.nix')
-rw-r--r--jeschli/2configs/emacs.nix10
1 files changed, 9 insertions, 1 deletions
diff --git a/jeschli/2configs/emacs.nix b/jeschli/2configs/emacs.nix
index 5fc887477..1c92f601f 100644
--- a/jeschli/2configs/emacs.nix
+++ b/jeschli/2configs/emacs.nix
@@ -25,6 +25,10 @@ let
;; (require 'evil-org-agenda)
;; (evil-org-agenda-set-keys)
'';
+ ido = ''
+ (require 'ido)
+ (ido-mode t)
+ '';
windowCosmetics = ''
(menu-bar-mode -1)
(tool-bar-mode -1) ; Disable the button bar atop screen
@@ -42,6 +46,8 @@ let
(global-set-key "\C-cl" 'org-store-link)
(global-set-key "\C-ca" 'org-agenda)
(global-set-key "\C-cb" 'org-iswitchb)
+ (global-set-key "\C-c L" 'org-insert-link-global)
+ (global-set-key "\C-c o" 'org-open-at-point-global)
(setq org-link-frame-setup '((file . find-file))) ; open link in same frame.
(if (boundp 'org-user-agenda-files)
(setq org-agenda-files org-user-agenda-files)
@@ -49,7 +55,7 @@ let
)
'';
theme = ''
- (load-theme 'monokai-alt)
+ (load-theme 'monokai-alt t)
'';
recentFiles = ''
(recentf-mode 1)
@@ -58,6 +64,7 @@ let
'';
dotEmacs = pkgs.writeText "dot-emacs" ''
${evilMode}
+ ${ido}
${packageRepos}
${orgMode}
${recentFiles}
@@ -69,6 +76,7 @@ let
epkgs.melpaStablePackages.magit
epkgs.melpaPackages.nix-mode
epkgs.melpaPackages.go-mode
+ epkgs.melpaPackages.haskell-mode
epkgs.melpaPackages.google-this
epkgs.melpaPackages.monokai-alt-theme
]);