summaryrefslogtreecommitdiffstats
path: root/.emacs
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-10-11 14:53:57 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-10-11 14:53:57 +0200
commit5d0234d73b26fc48921f7d269eddb465d6658ad5 (patch)
tree7399e7e0694184fef6eb921da86efd6f127c72d5 /.emacs
parentAdded bspswallow (diff)
downloaddotfiles-bsd-5d0234d73b26fc48921f7d269eddb465d6658ad5.tar.gz
dotfiles-bsd-5d0234d73b26fc48921f7d269eddb465d6658ad5.tar.bz2
dotfiles-bsd-5d0234d73b26fc48921f7d269eddb465d6658ad5.tar.xz
dotfiles-bsd-5d0234d73b26fc48921f7d269eddb465d6658ad5.tar.zst
dotfiles-bsd-5d0234d73b26fc48921f7d269eddb465d6658ad5.zip
Changes
Diffstat (limited to '')
-rw-r--r--.emacs2
-rw-r--r--.emacs.d/org/config.org40
-rw-r--r--.emacs.d/org/elfeed/elfeed.org30
3 files changed, 9 insertions, 63 deletions
diff --git a/.emacs b/.emacs
index 10de927..c864bff 100644
--- a/.emacs
+++ b/.emacs
@@ -36,7 +36,7 @@
'(jdee-db-spec-breakpoint-face-colors (cons "#1c1f2b" "#676E95"))
'(objed-cursor-color "#ff5370")
'(package-selected-packages
- '(company-irony neotree irony xr font-utils org-evil evil-vimish-fold cl-format crontab-mode vterm symon toc-org evil-org org-bullets yaml-mode twittering-mode helm-slime helm-w3m helm-mu htmlize babel org-pdftools shell-pop which-key golden-ratio elfeed-org elfeed dmenu mingus lua-mode dionysos helm-c-yasnippet helm-emms emms font-lock-cl restart-emacs w3m string-utils go-mode major-mode-icons dired-icon mode-icons evil-collection sed-mode zones kaolin-themes gruvbox-theme helm-themes yasnippet-classic-snippets yasnippet-snippets auto-yasnippet php-auto-yasnippets el-autoyas yasnippet cargo evil-ediff windresize helm-make spacemacs-theme centaur-tabs evil-mu4e evil-magit dashboard slime ssh sudo-ext dockerfile-mode docker frame-local ov dash-functional helm-addressbook org-mime flyspell-correct pdf-tools websocket request emojify-logos emojify oauth2 circe mu4e-alert web-mode doom-themes doom-modeline all-the-icons-dired all-the-icons-gnus all-the-icons html5-schema phps-mode org-babel-eval-in-repl rust-mode smart-mode-line-powerline-theme eshell-prompt-extras eshell-fixed-prompt pyenv-mode s realgud-lldb ranger ## color-theme-modern auto-complete-c-headers command-log-mode auto-complete magit smart-tabs-mode airline-themes paredit autopair tabbar-ruler tabbar use-package-el-get color-theme-approximate diminish rainbow-delimiters color-identifiers-mode use-package helm evil-visual-mark-mode))
+ '(cl-format company-irony neotree irony xr font-utils org-evil evil-vimish-fold crontab-mode vterm symon toc-org evil-org org-bullets yaml-mode twittering-mode helm-slime helm-w3m helm-mu htmlize babel org-pdftools shell-pop which-key golden-ratio elfeed-org elfeed dmenu mingus lua-mode dionysos helm-c-yasnippet helm-emms emms font-lock-cl restart-emacs w3m string-utils go-mode major-mode-icons dired-icon mode-icons evil-collection sed-mode zones kaolin-themes gruvbox-theme helm-themes yasnippet-classic-snippets yasnippet-snippets auto-yasnippet php-auto-yasnippets el-autoyas yasnippet cargo evil-ediff windresize helm-make spacemacs-theme centaur-tabs evil-mu4e evil-magit dashboard slime ssh sudo-ext dockerfile-mode docker frame-local ov dash-functional helm-addressbook org-mime flyspell-correct pdf-tools websocket request emojify-logos emojify oauth2 circe mu4e-alert web-mode doom-themes doom-modeline all-the-icons-dired all-the-icons-gnus all-the-icons html5-schema phps-mode org-babel-eval-in-repl rust-mode smart-mode-line-powerline-theme eshell-prompt-extras eshell-fixed-prompt pyenv-mode s realgud-lldb ranger ## color-theme-modern auto-complete-c-headers command-log-mode auto-complete magit smart-tabs-mode airline-themes paredit autopair tabbar-ruler tabbar use-package-el-get color-theme-approximate diminish rainbow-delimiters color-identifiers-mode use-package helm evil-visual-mark-mode))
'(pdf-view-midnight-colors (cons "#EEFFFF" "#292D3E"))
'(pos-tip-background-color "#2E2A29")
'(pos-tip-foreground-color "#d4d4d6")
diff --git a/.emacs.d/org/config.org b/.emacs.d/org/config.org
index 7e4251b..eb423c3 100644
--- a/.emacs.d/org/config.org
+++ b/.emacs.d/org/config.org
@@ -13,8 +13,8 @@
(add-hook 'prog-mode-hook 'display-line-numbers-mode)
(add-hook 'text-mode-hook 'display-line-numbers-mode)
-(setq scroll-step 5)
-(setq scroll-margin 3)
+(setq scroll-step 1)
+;; (setq scroll-margin 1)
(setq echo-keystrokes 0.1)
(setq initial-scratch-message nil)
(defalias 'yes-or-no-p 'y-or-n-p)
@@ -199,6 +199,7 @@
(string-prefix-p "*helm" name)
(string-prefix-p "*Helm" name)
(string-prefix-p "*Compile-Log*" name)
+ (string-prefix-p "*compilation*" name)
(string-prefix-p "*lsp" name)
(string-prefix-p "*elfeed-log*" name)
(string-prefix-p "*elfeed-search*" name)
@@ -237,7 +238,7 @@
show-week-agenda-p t)
(setq dashboard-items '((projects . 10)
- (recents . 15)
+ (recents . 5)
(agenda . 5)))
(add-to-list 'evil-emacs-state-modes 'dashboard-mode)
@@ -814,40 +815,12 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."
;;no errors, make the compilation window go away in a few seconds
(progn
(run-at-time
- "0.5 sec" nil 'delete-windows-on
- (get-buffer-create "*compilation*"))
+ "0.5 sec" nil 'delete-windows-on "*compilation*")
(message "")))))
#+END_SRC
*** Compilation functions
#+BEGIN_SRC emacs-lisp
-;; (defvar my/cargo-f5-minor-mode-map
-;; (let ((map (make-sparse-keymap)))
-;; (define-key map [f5] 'cargo-process-run)
-;; map)
-;; "my/cargo-f5-minor-mode keymap")
-
-;; (define-minor-mode my/cargo-f5-minor-mode
-;; "A minor mode to execute cargo run with F5 in rust-mode only"
-;; :init-value t
-;; :lighter " my/cargo")
-
-;; (my/cargo-f5-minor-mode 0)
-
-;; (defun my/roff-comp ()
-;; ;; (interactive)
-;; (defvar name)
-;; (defvar ext)
-;; (defvar exec)
-;; (setq name (file-name-sans-extension buffer-file-name))
-;; (setq ext (file-name-extension buffer-file-name))
-;; (if (string-match "ms" ext)
-;; (setq exec (format "%s%s%s%s%s%s%s" "nroff -ms " name "." ext " -Tpdf -Kutf8 -Wall > " name ".pdf")))
-;; (if (string-match "ms" ext)
-;; (shell-command exec)))
-
-;; (add-hook 'after-save-hook 'my/roff-comp)
-
(defun my/exec-f5 ()
(interactive)
(defvar make)
@@ -905,10 +878,9 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."
(global-set-key [f4] 'helm-make-projectile)
(global-set-key [f5] 'my/exec-f5)
(global-set-key [f6] 'my/exec-f6)
-(global-set-key (kbd "C-x d") 'ranger)
+(global-set-key (kbd "C-x d") 'dired)
(global-set-key (kbd "M-1") 'shell-command)
(global-set-key (kbd "M-7") 'async-shell-command)
-;; (add-hook 'rust-mode-hook 'my/cargo-f5-minor-mode)
(shell-pop--set-shell-type 'my/shell-pop-shell-type my/shell-pop-shell-type)
#+END_SRC
diff --git a/.emacs.d/org/elfeed/elfeed.org b/.emacs.d/org/elfeed/elfeed.org
index 8435769..c113455 100644
--- a/.emacs.d/org/elfeed/elfeed.org
+++ b/.emacs.d/org/elfeed/elfeed.org
@@ -2,81 +2,55 @@
** News
*** Gentoo :news:
**** https://www.gentoo.org/feeds/news.xml
-
*** FreeBSD :news:
**** https://www.freebsd.org/news/rss.xml
-
*** Haiku :news:
**** https://www.haiku-os.org/index.xml
-
*** Luke Smith :news:
**** https://lukesmith.xyz/rss.xml
-
*** Pragmatic Emacs :news:
**** http://pragmaticemacs.com/feed/
-
*** The Lunduke Show :news:
**** http://vault.lunduke.com/LundukeShowMP3.xml
-
*** TrueAnon :news:
**** http://feeds.soundcloud.com/users/soundcloud:users:672423809/sounds.rss
-
** YouTube :youtube:
*** Tech :tech:
**** Luke Smith
***** https://www.youtube.com/feeds/videos.xml?channel_id=UC2eYFnH61tmytImy1mTYvhA
-
-
**** DistroTube
***** https://www.youtube.com/feeds/videos.xml?channel_id=UCVls1GmFKf6WlTraIb_IaJg
-
-
**** LGR
***** https://www.youtube.com/feeds/videos.xml?channel_id=UCLx053rWZxCiYWsBETgdKrQ
-
-
**** RoboNuggie
***** https://www.youtube.com/feeds/videos.xml?channel_id=UCxwcmRAmBRzZMNS37dCgmHA
-
-
**** Mental Outlaw
***** https://www.youtube.com/feeds/videos.xml?channel_id=UC7YOGHUfC1Tb6E4pudI9STA
-
-
*** Gaming :gaming:
**** Grubby
***** https://www.youtube.com/feeds/videos.xml?channel_id=UCCF6pCTGMKdo9r_kFQS-H3Q
-
**** PiG
***** https://www.youtube.com/feeds/videos.xml?channel_id=UC9OluGthYmZo0vsF9IjicFg
-
**** Artosis
***** https://www.youtube.com/feeds/videos.xml?channel_id=UCuOqvRRt9GqyIUVTwSB4Ucg
-
**** LowkoTV
***** https://www.youtube.com/feeds/videos.xml?channel_id=UCZNTsLA6t6bRoj-5QRmqt_w
-
*** Normies :normies:
**** Valek
***** https://www.youtube.com/feeds/videos.xml?channel_id=UCYdyGYM1aoLpAuCxsP86O1g
-
**** Le Raptor
***** https://www.youtube.com/feeds/videos.xml?channel_id=UC_i-uMpN1lEyuoUGDq-dajQ
-
**** MisterJDay
***** https://www.youtube.com/feeds/videos.xml?channel_id=UC2uPHgyyLv2rnkm4CfIgWcw
-
**** Sylvqin
***** https://www.youtube.com/feeds/videos.xml?channel_id=UCseGV3amBLISlIOMQodPfVQ
-
**** Kurzgesagt - In a Nutshell
***** https://www.youtube.com/feeds/videos.xml?channel_id=UCsXVk37bltHxD1rDPwtNM8Q
-
**** h3h3Productions
***** https://www.youtube.com/feeds/videos.xml?channel_id=UCDWIvJwLJsE4LG1Atne2blQ
-
**** El Rayhan
***** https://www.youtube.com/feeds/videos.xml?channel_id=UC1jpJQzugyhkf1HQQwWuUSA
-
**** Kitboga
***** https://www.youtube.com/feeds/videos.xml?channel_id=UCm22FAXZMw1BaWeFszZxUKw
+**** BOTCH
+***** https://www.youtube.com/feeds/videos.xml?channel_id=UCZpJLCV3gVP8R_sc8P30VpQ