mirror of
https://github.com/tomru/DotfilesOld.git
synced 2026-03-04 15:07:23 +01:00
start over with empty conf with just some evil
This commit is contained in:
38
emacs/.emacs.d/init.el
Normal file
38
emacs/.emacs.d/init.el
Normal file
@@ -0,0 +1,38 @@
|
||||
(setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3")
|
||||
(require 'package)
|
||||
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/"))
|
||||
(package-initialize)
|
||||
|
||||
(eval-when-compile
|
||||
(require 'use-package))
|
||||
|
||||
(use-package evil
|
||||
:ensure t
|
||||
:config
|
||||
(evil-mode 1)
|
||||
:init
|
||||
(setq evil-shift-width 4))
|
||||
|
||||
(use-package evil-escape
|
||||
:ensure t
|
||||
:init
|
||||
(setq evil-escape-key-sequence "jk")
|
||||
(setq evil-escape-delay 0.3))
|
||||
|
||||
(use-package evil-surround
|
||||
:ensure t
|
||||
:config
|
||||
(global-evil-surround-mode 1))
|
||||
|
||||
(custom-set-variables
|
||||
;; custom-set-variables was added by Custom.
|
||||
;; If you edit it by hand, you could mess it up, so be careful.
|
||||
;; Your init file should contain only one such instance.
|
||||
;; If there is more than one, they won't work right.
|
||||
'(package-selected-packages (quote (evil-surround use-package evil evil-surround))))
|
||||
(custom-set-faces
|
||||
;; custom-set-faces was added by Custom.
|
||||
;; If you edit it by hand, you could mess it up, so be careful.
|
||||
;; Your init file should contain only one such instance.
|
||||
;; If there is more than one, they won't work right.
|
||||
)
|
||||
@@ -1,21 +0,0 @@
|
||||
# Private directory
|
||||
|
||||
The content of this directory is ignored by Git. This is the default place
|
||||
where to store your private configuration layers.
|
||||
|
||||
To create a new configuration layer:
|
||||
|
||||
SPC SPC configuration-layer/create-layer RET
|
||||
|
||||
Then enter the name of your configuration in the prompt.
|
||||
|
||||
A directory named after the created configuration layer will be created here
|
||||
along with template files within it (packages.el and extensions.el, more info
|
||||
on the meaning of those files can be found in the [documentation][conf_layers]).
|
||||
|
||||
Each created file has further guidance written in them.
|
||||
|
||||
Once the configuration is done, restart Emacs to load, install and configure
|
||||
your layer.
|
||||
|
||||
[conf_layers]: https://github.com/syl20bnr/spacemacs/blob/master/doc/DOCUMENTATION.org#extensions-and-packages
|
||||
@@ -1,6 +0,0 @@
|
||||
# Private directory for local packages
|
||||
|
||||
The content of this directory is ignored by Git.
|
||||
|
||||
This is the place to store the local packages that you define in
|
||||
the `dotspacemacs-additional-packages` variable of your dotfile.
|
||||
@@ -1,6 +0,0 @@
|
||||
# Private directory for Yasnippets snippets
|
||||
|
||||
The content of this directory is ignored by Git. This is the default place
|
||||
where to store your private yasnippets.
|
||||
|
||||
This path will be loaded automatically and used whenever Yasnippets loads.
|
||||
@@ -1,6 +0,0 @@
|
||||
# Private directory for Yatemplate templates
|
||||
|
||||
The content of this directory is ignored by Git. This is the default place
|
||||
where to store your private templates.
|
||||
|
||||
This path will be loaded automatically and used whenever Yatemplate loads.
|
||||
Reference in New Issue
Block a user