:feature was a "catch-all" category. Many of its modules fit better in other categories, so they've been moved: - feature/debugger -> tools/debugger - feature/evil -> editor/evil - feature/eval -> tools/eval - feature/lookup -> tools/lookup - feature/snippets -> editor/snippets - feature/file-templates -> editor/file-templates - feature/workspaces -> ui/workspaces More potential changes in the future: - A new :term category for terminal emulation modules (eshell, term and vterm). - A new :os category for modules dedicated to os-specific functionality. The :tools macos module would fit here, but so would modules for nixos and arch. - A new :services category for web-service integration, like wakatime, twitter, elfeed, gist and pastebin services.
17 lines
580 B
EmacsLisp
17 lines
580 B
EmacsLisp
;;; tools/tmux/autoload/evil.el -*- lexical-binding: t; -*-
|
|
;;;###if (featurep! :editor evil)
|
|
|
|
;;;###autoload (autoload '+tmux:run "tools/tmux/autoload/evil" nil t)
|
|
(evil-define-command +tmux:run (bang &optional command)
|
|
(interactive "<!><fsh>")
|
|
(if (evil-visual-state-p)
|
|
(+tmux/send-region evil-visual-beginning evil-visual-end bang)
|
|
(+tmux/run command bang)))
|
|
|
|
;;;###autoload (autoload '+tmux:cd-here "tools/tmux/autoload/evil" nil t)
|
|
(evil-define-command +tmux:cd-here (bang)
|
|
(interactive "<!>")
|
|
(if bang
|
|
(+tmux/cd-to-here)
|
|
(+tmux/cd-to-project)))
|
|
|