[sprdlinux] Re: 答复: vim script for kernel coding

  • From: Orson Zhai <orsonzhai@xxxxxxxxx>
  • To: sprdlinux@xxxxxxxxxxxxx
  • Date: Wed, 10 Dec 2014 22:54:20 +0800

this command will setup a hot-key instead of long input.

On 2014年12月10日 14:35, Chunyan Zhang (张春艳) wrote:
> Ho, this plugin is very useful for checking indentation and syntax errors.
>
> But, what do these two below sentences mean?
>
> An example of mapping applying the settings using the command key:
> nnoremap <silent> <leader>k :SetLinuxFormatting<cr><cr>
>
>
> Best regards
> Chunyan
>
>
> ________________________________________
> 发件人: Orson Zhai <orsonzhai@xxxxxxxxx>
> 发送时间: 2014年12月9日 23:54
> 收件人: sprdlinux@xxxxxxxxxxxxx
> 抄送: Chunyan Zhang (张春艳)
> 主题: vim script for kernel coding
>
> this is the original one
>
> http://www.vim.org/scripts/script.php?script_id=4369
>
> and greg revise version is here
>
> https://github.com/gregkh/kernel-coding-style
>
> good for checking tab and spaces...


Other related posts: