Update modules/applications/emacs/default.nix modules/applications/emacs/init.el
This commit is contained in:
parent
04cb9e530b
commit
a328f311fd
@ -39,6 +39,7 @@
|
|||||||
arduino-mode
|
arduino-mode
|
||||||
elixir-mode
|
elixir-mode
|
||||||
company-box
|
company-box
|
||||||
|
ws-butler
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
;; Comment/uncomment these two lines to enable/disable MELPA and MELPA Stable as desired
|
;; Comment/uncomment these two lines to enable/disable MELPA and MELPA Stable as desired
|
||||||
(add-to-list 'package-archives (cons "melpa" (concat proto "://melpa.org/packages/")) t)
|
(add-to-list 'package-archives (cons "melpa" (concat proto "://melpa.org/packages/")) t)
|
||||||
(add-to-list 'package-archives (cons "melpa-stable" (concat proto "://stable.melpa.org/packages/")) t)
|
(add-to-list 'package-archives (cons "melpa-stable" (concat proto "://stable.melpa.org/packages/")) t)
|
||||||
|
|
||||||
(add-to-list 'package-archives '("cselpa" . "https://elpa.thecybershadow.net/packages/"))
|
(add-to-list 'package-archives '("cselpa" . "https://elpa.thecybershadow.net/packages/"))
|
||||||
(when (< emacs-major-version 24)
|
(when (< emacs-major-version 24)
|
||||||
;; For important compatibility libraries like cl-lib
|
;; For important compatibility libraries like cl-lib
|
||||||
@ -76,6 +76,11 @@
|
|||||||
|
|
||||||
(require 'gud-lldb)
|
(require 'gud-lldb)
|
||||||
|
|
||||||
|
(use-package ws-butler
|
||||||
|
:config
|
||||||
|
(ws-butler-global-mode)
|
||||||
|
)
|
||||||
|
|
||||||
(use-package auto-indent-mode
|
(use-package auto-indent-mode
|
||||||
:config
|
:config
|
||||||
(auto-indent-global-mode))
|
(auto-indent-global-mode))
|
||||||
@ -93,7 +98,7 @@
|
|||||||
:config
|
:config
|
||||||
(xah-fly-keys-set-layout "qwerty")
|
(xah-fly-keys-set-layout "qwerty")
|
||||||
(xah-fly-keys 1)
|
(xah-fly-keys 1)
|
||||||
|
|
||||||
(defun xah-fly-keys-russian-on ()
|
(defun xah-fly-keys-russian-on ()
|
||||||
"Add Russian layout keys.
|
"Add Russian layout keys.
|
||||||
Hook function for `xah-fly-command-mode-activate-hook'
|
Hook function for `xah-fly-command-mode-activate-hook'
|
||||||
@ -273,7 +278,7 @@ If point was already at that position, move point to beginning of line."
|
|||||||
:compile "nix-build shell.nix"
|
:compile "nix-build shell.nix"
|
||||||
:run "nix-shell")
|
:run "nix-shell")
|
||||||
(setq projectile-project-search-path '("~/projects/"))
|
(setq projectile-project-search-path '("~/projects/"))
|
||||||
|
|
||||||
(global-set-key (kbd "<f9>") 'projectile-compile-project)
|
(global-set-key (kbd "<f9>") 'projectile-compile-project)
|
||||||
(global-set-key (kbd "<f5>") 'projectile-run-project))
|
(global-set-key (kbd "<f5>") 'projectile-run-project))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user