How I can assign :ALELint
(A command of lint tool https://github.com/w0rp/ale ) command to normal mode Ck in vim? (
I tried nnoremap Ck :ALELint
, But it does not work.
It's
nnoremap <C-k> :ALELint<CR>
The <
>
are required for making vim parse the contents as a key code. The <CR>
at the end represents pressing Return .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.