Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dot-emacs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Stéphane Del Pino
dot-emacs
Commits
2e5916bc
Commit
2e5916bc
authored
Mar 11, 2020
by
Stéphane Del Pino
Browse files
Options
Downloads
Patches
Plain Diff
Encore du nettoyage
parent
1efc5236
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
init.el
+3
-3
3 additions, 3 deletions
init.el
myinit.org
+28
-71
28 additions, 71 deletions
myinit.org
with
31 additions
and
74 deletions
init.el
+
3
−
3
View file @
2e5916bc
...
...
@@ -15,7 +15,7 @@
'
(
"gnu"
.
"http://elpa.gnu.org/packages/"
))
;; set is-standalone to true to use the local melpa archive
(
defvar
is-standalone
t
)
(
defvar
is-standalone
nil
)
(
if
is-standalone
(
setq
package-archives
'
((
"myelpa"
.
"~/.emacs.d/myelpa/"
)))
nil
)
...
...
@@ -60,9 +60,9 @@
;; 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.
'
(
aw-leading-char-face
((
t
(
:inherit
ace-jump-face-foreground
:height
3
.0
)))))
'
(
aw-leading-char-face
((
((
class
color
)
(
min-colors
16777215
))
(
:foreground
"#fb4933"
:background
"#282828"
:height
4.0
))
(((
class
color
)
(
min-colors
255
))
(
:foreground
"#d75f5f"
:background
"#262626"
:height
4
.0
)))))
;;; Local Variables:
;;; byte-compile-warnings: (not free-vars
unresolved
)
;;; byte-compile-warnings: (not free-vars)
;;; End: (provide 'init)
;;; init.el ends here
This diff is collapsed.
Click to expand it.
myinit.org
+
28
−
71
View file @
2e5916bc
...
...
@@ -812,8 +812,7 @@ Activation des ggtags
nil '(("\\<\\(FIXME\\|TODO\\|BUG\\|DONE\\)"
1 font-lock-warning-face t)))
))
)
)
))
#+END_SRC
* Markdown
...
...
@@ -823,64 +822,28 @@ Activation des ggtags
:mode (".md" ".markdown"))
#+END_SRC
* Clojure
#+BEGIN_SRC emacs-lisp
(use-package cider
:ensure t
:config
(add-hook 'cider-repl-mode-hook #'company-mode)
(add-hook 'cider-mode-hook #'company-mode)
(add-hook 'cider-mode-hook #'eldoc-mode)
;; (add-hook 'cider-mode-hook #'cider-hydra-mode)
(setq cider-repl-use-pretty-printing t)
(setq cider-repl-display-help-banner nil)
;; (setq cider-cljs-lein-repl "(do (use 'figwheel-sidecar.repl-api) (start-figwheel!) (cljs-repl))")
:bind (("M-r" . cider-namespace-refresh)
("C-c r" . cider-repl-reset)
("C-c ." . cider-reset-test-run-tests))
)
(use-package clj-refactor
:ensure t
:config
(add-hook 'clojure-mode-hook (lambda ()
(clj-refactor-mode 1)
;; insert keybinding setup here
))
(cljr-add-keybindings-with-prefix "C-c C-m")
(setq cljr-warn-on-eval nil)
:bind ("C-c '" . hydra-cljr-help-menu/body)
)
#+END_SRC
* Dumb jump
Permet de se déplacer *très* rapidement dans un texte
#+BEGIN_SRC emacs-lisp
(use-package dumb-jump
:bind (("M-g o" . dumb-jump-go-other-window)
("M-g j" . dumb-jump-go)
("M-g x" . dumb-jump-go-prefer-external)
("M-g z" . dumb-jump-go-prefer-external-other-window))
:config
;; (setq dumb-jump-selector 'ivy) ;; (setq dumb-jump-selector 'helm)
:init
(dumb-jump-mode)
:ensure
)
:ensure t)
#+END_SRC
* Origami folding
* Origami
Mode permettant le pliage (/folding/) de regions
#+BEGIN_SRC emacs-lisp
(use-package origami
:ensure t)
#+END_SRC
#+RESULTS:
* IBUFFER
* IBuffer
Un meilleur gestionnaire de /buffers/.
#+BEGIN_SRC emacs-lisp
(global-set-key (kbd "C-x C-b") 'ibuffer)
(setq ibuffer-saved-filter-groups
...
...
@@ -888,21 +851,17 @@ Activation des ggtags
("dired" (mode . dired-mode))
("org" (name . "^.*org$"))
("magit" (mode . magit-mode))
("IRC" (or (mode . circe-channel-mode) (mode . circe-server-mode)))
("IRC" (or (mode . circe-channel-mode)
(mode . circe-server-mode)))
("web" (or (mode . web-mode) (mode . js2-mode)))
("shell" (or (mode . eshell-mode) (mode . shell-mode)))
("mu4e" (or
(mode . mu4e-compose-mode)
(name . "\*mu4e\*")
))
("programming" (or
(mode . clojure-mode)
("mu4e" (or (mode . mu4e-compose-mode)
(name . "\\*mu4e\\*")))
("programming" (or (mode . clojure-mode)
(mode . clojurescript-mode)
(mode . python-mode)
(mode . c++-mode)))
("emacs" (or
(name . "^\\*scratch\\*$")
("emacs" (or (name . "^\\*scratch\\*$")
(name . "^\\*Messages\\*$")))
))))
(add-hook 'ibuffer-mode-hook
...
...
@@ -910,15 +869,13 @@ Activation des ggtags
(ibuffer-auto-mode 1)
(ibuffer-switch-to-saved-filter-groups "default")))
;; don't show these
;(add-to-list 'ibuffer-never-show-predicates "zowie")
;; Don't show filter groups if there are no buffers in that group
(setq ibuffer-show-empty-filter-groups nil)
;; Don't ask for confirmation to delete marked buffers
(setq ibuffer-expert t)
#+END_SRC
* Treemacs
#+BEGIN_SRC emacs-lisp
(use-package treemacs
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment