This idea is still in the works but basically allow you to set commands that you're going to run a lot to certain keybindings. This might be how the C-c prefix will finally get used. I'm thinking that you can set them either via the command line args or via something like C-c s <number>. Here is an idea on how the CLI args might work:
$ ait -c"spell" -c"xsel" -c"fmt -w 70" foo.txt
That would set C-c 1 to the spell, C-c 2 to xsel, and C-c 3 to fmt -w 70.
This idea is still in the works but basically allow you to set commands that you're going to run a lot to certain keybindings. This might be how the `C-c` prefix will finally get used. I'm thinking that you can set them either via the command line args or via something like `C-c s <number>`. Here is an idea on how the CLI args might work:
```
$ ait -c "spell" -c "xsel" -c "fmt -w 70" foo.txt
```
That would set `C-c 1` to the `spell`, `C-c 2` to `xsel`, and `C-c 3` to `fmt -w 70`.
Going to close this and not actually do it. I've decided that it's easier to just make a little script that does this for you. I'll be committing my personal one in scripts/ eventually but it just lists out the commands you want and you can pick them out quickly. Probably not as fast as a keybinding but I prefer the simplicity over the ease.
Going to close this and not actually do it. I've decided that it's easier to just make a little script that does this for you. I'll be committing my personal one in `scripts/` eventually but it just lists out the commands you want and you can pick them out quickly. Probably not as fast as a keybinding but I prefer the simplicity over the ease.
This idea is still in the works but basically allow you to set commands that you're going to run a lot to certain keybindings. This might be how the
C-c
prefix will finally get used. I'm thinking that you can set them either via the command line args or via something likeC-c s <number>
. Here is an idea on how the CLI args might work:$ ait -c "spell" -c "xsel" -c "fmt -w 70" foo.txt
That would set
C-c 1
to thespell
,C-c 2
toxsel
, andC-c 3
tofmt -w 70
.Going to close this and not actually do it. I've decided that it's easier to just make a little script that does this for you. I'll be committing my personal one in
scripts/
eventually but it just lists out the commands you want and you can pick them out quickly. Probably not as fast as a keybinding but I prefer the simplicity over the ease.