summaryrefslogtreecommitdiffstats
path: root/.emacs.d/org
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.d/org
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 '.emacs.d/org')
-rw-r--r--.emacs.d/org/config.org40
-rw-r--r--.emacs.d/org/elfeed/elfeed.org30
2 files changed, 8 insertions, 62 deletions
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