Merge pull request #323 from mcarton/fix-file

#320 Add the `fix_file` rule
This commit is contained in:
Vladimir Iakovlev
2015-07-30 18:05:50 +03:00
3 changed files with 256 additions and 0 deletions
+1
View File
@@ -146,6 +146,7 @@ using the matched rule and runs it. Rules enabled by default are as follows:
* `docker_not_command` – fixes wrong docker commands like `docker tags`;
* `dry` – fixes repetitions like `git git push`;
* `fix_alt_space` – replaces Alt+Space with Space character;
* `fix_file` – opens a file with an error in your `$EDITOR`;
* `git_add` – fixes *"Did you forget to 'git add'?"*;
* `git_branch_delete` – changes `git branch -d` to `git branch -D`;
* `git_branch_list` – catches `git branch list` in place of `git branch` and removes created branch;