-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
evil-insert -> evil-insert-state & other upds
- it's improper to use evil-insert for switching Evli to insert mode, you need to use evil-insert-state - consult-yasnippet replaces yas-insert-snippet, because it allows to search for both - key and the snippet name - adds anki-editor-ui - treesit-fold, I think the issue with folding is fixed emacs-tree-sitter/ts-fold#48 - mpv stuff has it's own file now
- Loading branch information
Showing
15 changed files
with
74 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
;;; custom/web-browsing/autoload/mpv.el -*- lexical-binding: t; -*- | ||
|
||
;;;###autoload | ||
(defun mpv-speed-reset () | ||
(interactive) | ||
(mpv-speed-set 1)) | ||
|
||
;;;###autoload | ||
(defun mpv-open+ (&optional path) | ||
(interactive) | ||
(cond | ||
((eq major-mode 'dired-mode) | ||
(mpv-play (dired-get-file-for-visit))) | ||
(t (mpv-play path)))) | ||
|
||
(defvar osc-style "auto") | ||
|
||
;;;###autoload | ||
(defun mpv-toggle-osc () | ||
(interactive) | ||
(mpv-run-command | ||
"script-message" "osc-visibility" | ||
(setf osc-style (if (string= osc-style "auto") "always" "auto")))) | ||
|
||
;;;###autoload | ||
(transient-define-prefix mpv-transient () | ||
"mpv" | ||
["mpv" | ||
[("f" "follow" elfeed-tube-mpv-follow-mode) | ||
("w" "where" elfeed-tube-mpv-where)] | ||
[("k" "vol up" mpv-volume-increase :transient t) | ||
("j" "vol down" mpv-volume-decrease :transient t)] | ||
[("p" "prev" mpv-playlist-prev :transient t) | ||
("n" "next" mpv-playlist-next :transient t)] | ||
[("h" "<<" mpv-seek-backward :transient t) | ||
("l" ">>" mpv-seek-forward :transient t) | ||
("i" "osc" mpv-toggle-osc :transient t)] | ||
[("," "slower" mpv-speed-decrease :transient t) | ||
("." "faster" mpv-speed-increase :transient t) | ||
("0" "reset" mpv-speed-reset)] | ||
[("SPC" "pause" mpv-pause :transient t) | ||
("o" "play" mpv-open+ :transient t) | ||
("Q" "quit" mpv-kill)]]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters