diff --git a/Configuration.org b/Configuration.org index cbb991a6025aeadfd58ade3f5e946f7c1979fc98..c4b778dd68d30cce6b15172ddfe547409998c368 100644 --- a/Configuration.org +++ b/Configuration.org @@ -35,11 +35,6 @@ (global-set-key (kbd "C-c ;") 'comment-or-uncomment-region) #+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 #+BEGIN_SRC emacs-lisp (setq auto-save-default nil) @@ -65,6 +60,15 @@ buffer (delete-trailing-whitespace)))) #+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 Un bel affichage pour la barre d'état (=mode-line=) #+BEGIN_SRC emacs-lisp diff --git a/init.el b/init.el index 61c9896dfff8fd5b7beb058cb28ef287175f15c9..7f354529a335735fb5b5db21b1541be089fe64b3 100644 --- a/init.el +++ b/init.el @@ -47,6 +47,7 @@ ;; If there is more than one, they won't work right. '(TeX-command-extra-options "-synctex=1") '(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) '(hydra-hint-display-type (quote posframe)) '(irony-cdb-search-directory-list (quote ("." "build"))) @@ -60,7 +61,7 @@ '(org-startup-indented t) '(package-selected-packages (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)) (custom-set-faces