@@ -7,12 +7,12 @@ A simple plugin for [taskfiles](https://taskfile.dev/)
77
88## Features
99
10- - Run a specfic task directly within Neovim
10+ - Run a specific task directly within Neovim
1111- Browse available tasks with a floating window
1212- Preview each task’s command before execution
1313- Run tasks in a floating terminal
1414- Automatically scroll to bottom of output (optional)
15- - Rerun last task via command or keymap
15+ - Rerun last task via command or key-map
1616
1717## Requirements
1818
@@ -32,7 +32,8 @@ A simple plugin for [taskfiles](https://taskfile.dev/)
3232
3333### Configuration
3434
35- You can pass options to the ` setup() ` function:
35+ You can pass options to the ` setup() ` function to customise behaviour.
36+ All fields are optional and shown below with their default values:
3637
3738``` lua
3839require (' taskfile' ).setup ({
@@ -52,36 +53,11 @@ require('taskfile').setup({
5253 auto = true , -- Auto-scroll output to bottom when new lines are printed
5354 },
5455 keymaps = {
55- rerun = " <leader>tr" -- Keymap to rerun the last executed task
56+ rerun = " <leader>tr" -- Key-map to rerun the last executed task
5657 },
5758})
5859```
5960
60- All fields are optional. These are the default values:
61-
62- ``` lua
63- {
64- windows = {
65- output = {
66- width = 0.8 ,
67- height = 0.8 ,
68- border = " rounded" ,
69- },
70- list = {
71- width = 0.6 ,
72- height = 0.4 ,
73- border = " rounded" ,
74- },
75- },
76- scroll = {
77- auto = true ,
78- },
79- keymaps = {
80- rerun = " <leader>tr" ,
81- },
82- }
83- ```
84-
8561## Usage
8662
8763This plugin reads your Taskfile and displays available tasks.
@@ -93,3 +69,11 @@ This plugin reads your Taskfile and displays available tasks.
9369- ` :TaskRerun ` : Rerun the last executed task
9470
9571You can also bind a key to rerun using the ` keymaps.rerun ` config.
72+
73+ <!-- panvimdoc-ignore-start -->
74+
75+ ## Demo
76+
77+ ![ Demo GIF] ( ./demo/demo.gif )
78+
79+ <!-- panvimdoc-ignore-end -->
0 commit comments