Compare commits

...

3 Commits

  1. 2
      .config/emacs/site-lisp/dot-development.el
  2. 4
      .config/emacs/site-lisp/dot-elpaca.el
  3. 4
      .config/emacs/site-lisp/dot-evil.el
  4. 2
      .config/emacs/site-lisp/dot-keybinds.el
  5. 6
      .local/bin/play

2
.config/emacs/site-lisp/dot-development.el

@ -463,7 +463,7 @@
;;; YASnippet
(elpaca-setup yasnippet
(:autoload yas-insert-snippet)
(:autoload yas-expand yas-insert-snippet)
(setq yas-snippet-dirs (list (expand-file-name "snippets" dot-emacs-dir)))
(setq yas-prompt-functions '(yas-completing-prompt))
(:when-loaded

4
.config/emacs/site-lisp/dot-elpaca.el

@ -9,13 +9,13 @@
;; -----------------------------------------
;; Elpaca bootstrap
(defvar elpaca-installer-version 0.5)
(defvar elpaca-installer-version 0.6)
(defvar elpaca-directory (expand-file-name "elpaca/" user-emacs-directory))
(defvar elpaca-builds-directory (expand-file-name "builds/" elpaca-directory))
(defvar elpaca-repos-directory (expand-file-name "repos/" elpaca-directory))
(defvar elpaca-order '(elpaca :repo "https://github.com/progfolio/elpaca.git"
:ref nil
:files (:defaults (:exclude "extensions"))
:files (:defaults "elpaca-test.el" (:exclude "extensions"))
:build (:not elpaca--activate-package)))
(let* ((repo (expand-file-name "elpaca/" elpaca-repos-directory))
(build (expand-file-name "elpaca/" elpaca-builds-directory))

4
.config/emacs/site-lisp/dot-evil.el

@ -59,7 +59,9 @@ Vim equivalence: <C-D>"
"Shift line right, retains cursor position.
Vim equivalence: <Tab>"
(interactive)
(insert "\t"))
(when (not (yas-expand))
(insert "\t")))
(defun dot/evil-visual-shift-left ()
"Shift visual selection left, retains the selection.

2
.config/emacs/site-lisp/dot-keybinds.el

@ -521,7 +521,7 @@
"t w" '(visual-line-mode :which-key "Toggle line wrapping")
;; Update packages
"U" '(elpaca-update-all :which-key "Update packages")
"U" '(elpaca-merge-all :which-key "Update packages")
;; Version control
"v" '(:ignore t :which-key "git")

6
.local/bin/play

@ -1,6 +1,6 @@
#!/bin/sh
# Depends: GNU getopt, mpv, socat, streamlink
# Depends: GNU getopt, mpv, socat, streamlink, xclip
SOCK="/tmp/umpv-fifo"
@ -255,8 +255,12 @@ elif [ $shuffleOption -eq 1 ]; then
shuffle "$*"
elif [ $queueOption -eq 1 ]; then
queue "$*"
else
if [ "$*" = "" ]; then
play "$(xclip -o)"
else
for url in "$@"; do
play "$url"
done
fi
fi

Loading…
Cancel
Save