Skip to content
Snippets Groups Projects
Commit afec3c85 authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Affiche les numéros de lignes en marge gauche.

Nécessite la version 26 d'Emacs
parent 29403724
No related branches found
No related tags found
No related merge requests found
...@@ -35,11 +35,6 @@ ...@@ -35,11 +35,6 @@
(global-set-key (kbd "C-c ;") 'comment-or-uncomment-region) (global-set-key (kbd "C-c ;") 'comment-or-uncomment-region)
#+END_SRC #+END_SRC
** Affiche aussi le numéro de colonne
#+BEGIN_SRC emacs-lisp
(setq column-number-mode t)
#+END_SRC
** Désactive l'auto-save ** Désactive l'auto-save
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(setq auto-save-default nil) (setq auto-save-default nil)
...@@ -65,6 +60,15 @@ buffer ...@@ -65,6 +60,15 @@ buffer
(delete-trailing-whitespace)))) (delete-trailing-whitespace))))
#+END_SRC #+END_SRC
** Numéros de lignes
Affiche les numéros des lignes en marge
#+BEGIN_SRC emacs-lisp
(when (version<= "26.0.50" emacs-version)
(progn
(global-display-line-numbers-mode 'visual)
(add-hook 'pdf-view-mode-hook (lambda () (display-line-numbers-mode -1)))))
#+END_SRC
** Powerline ** Powerline
Un bel affichage pour la barre d'état (=mode-line=) Un bel affichage pour la barre d'état (=mode-line=)
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
......
...@@ -47,6 +47,7 @@ ...@@ -47,6 +47,7 @@
;; If there is more than one, they won't work right. ;; If there is more than one, they won't work right.
'(TeX-command-extra-options "-synctex=1") '(TeX-command-extra-options "-synctex=1")
'(all-the-icons-ivy-buffer-commands (quote (ivy-switch-buffer-other-window ivy-switch-buffer))) '(all-the-icons-ivy-buffer-commands (quote (ivy-switch-buffer-other-window ivy-switch-buffer)))
'(display-line-numbers-widen t)
'(elpy-rpc-backend "jedi" t) '(elpy-rpc-backend "jedi" t)
'(hydra-hint-display-type (quote posframe)) '(hydra-hint-display-type (quote posframe))
'(irony-cdb-search-directory-list (quote ("." "build"))) '(irony-cdb-search-directory-list (quote ("." "build")))
...@@ -60,7 +61,7 @@ ...@@ -60,7 +61,7 @@
'(org-startup-indented t) '(org-startup-indented t)
'(package-selected-packages '(package-selected-packages
(quote (quote
(better-shell flycheck-irony tabbar cmake-font-lock alect-theme zero-dark-theme autumn-light-theme solarized-dark-theme misterioso misterioso-theme zenburn sourcerer-theme flycheck-pos-tip flycheck-clojure ox-reveal posframe processing-snippets processing-mode rg deadgrep flycheck-rust cargo racer yasnippet-classic-snippets rustic lsp-rust lsp-java company-lsp lsp-ui lsp-mode lsp yasnippet-snippets counsel-spotify exec-path-from-shell easy-kill auto-yasnippet org-pdfview pdf-tools atomic-chrome mingus simple-mpc pcre2el ag wgrep-ag wgrep haskell-mode aggressive-indent prodigy origami dumb-jump cider ggtags circe-notifications circe org-gcal mu4e-alert git-timemachine git-gutter magit hydra default-text-scale smartparens projectile auctex tern-auto-complete tern js2-refactor ac-js2 js2-mode emmet-mode web-mode iedit expand-region multiple-cursors hungry-delete beacon undo-tree virtualenvwrapper elpy flycheck doom-modeline doom-themes tao-theme poet-theme faff-theme zerodark-theme alect-themes moe-theme base16-theme zenburn-theme color-theme-modern company-jedi irony-eldoc company-irony company counsel ace-window htmlize noflet org-bullets which-key try use-package))) (better-shell flycheck-irony tabbar cmake-font-lock alect-theme zero-dark-theme autumn-light-theme solarized-dark-theme misterioso misterioso-theme zenburn sourcerer-theme flycheck-pos-tip flycheck-clojure ox-reveal posframe processing-snippets processing-mode rg deadgrep flycheck-rust cargo racer yasnippet-classic-snippets rustic lsp-rust lsp-java company-lsp lsp-ui lsp-mode lsp yasnippet-snippets counsel-spotify exec-path-from-shell easy-kill auto-yasnippet org-pdfview pdf-tools atomic-chrome mingus simple-mpc pcre2el ag wgrep-ag wgrep haskell-mode aggressive-indent prodigy origami dumb-jump cider ggtags circe-notifications circe org-gcal mu4e-alert git-timemachine git-gutter magit hydra default-text-scale smartparens projectile auctex tern-auto-complete tern js2-refactor ac-js2 js2-mode emmet-mode web-mode iedit expand-region multiple-cursors hungry-delete beacon undo-tree virtualenvwrapper elpy flycheck tao-theme poet-theme faff-theme zerodark-theme alect-themes moe-theme base16-theme zenburn-theme color-theme-modern company-jedi irony-eldoc company-irony company counsel ace-window htmlize noflet org-bullets which-key try use-package)))
'(sp-escape-quotes-after-insert nil)) '(sp-escape-quotes-after-insert nil))
(custom-set-faces (custom-set-faces
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment