diff options
author | w0rp <devw0rp@gmail.com> | 2017-11-13 10:27:20 +0000 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-11-13 10:27:25 +0000 |
commit | a5f7f51c9a13f103a51cb91b6abdd53fade3600a (patch) | |
tree | b4932b6d6e50501478620cf94c580ebf162b05bc /doc | |
parent | 584e0bc7f25563bf4ab3ae738b78d9d13a898f94 (diff) | |
download | ale-a5f7f51c9a13f103a51cb91b6abdd53fade3600a.zip |
#1121 Tell people how to lint when leaving insert mode with Ctrl+C
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ale.txt | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/doc/ale.txt b/doc/ale.txt index 3a43685d..353c6dbe 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -882,9 +882,16 @@ g:ale_lint_on_insert_leave *g:ale_lint_on_insert_leave* Type: |Number| Default: `0` - This option will make ALE run the linters whenever leaving insert mode when - it is set to `1` in your vimrc file. + When set to `1` in your vimrc file, this option will cause ALE to run + linters when you leave insert mode. + ALE will not lint files when you escape insert mode with |CTRL-C| by + default. You can make ALE lint files with this option when you use |CTRL-C| + with the following keybind. > + + " Make using Ctrl+C do the same as Escape, to trigger autocmd commands + inoremap <C-c> <Esc> +< g:ale_linter_aliases *g:ale_linter_aliases* *b:ale_linter_aliases* |