Developing environments used for kernel development

Daniel. danielhilst at gmail.com
Tue Dec 29 00:10:55 EST 2015


Well I found something that I use frequently on emacs and can't find
an alternative for vim. While visiting an .patch (or .diff) file from
emacs I can jump to the position of file just by pressing enter. I
just can't find something like this on vim. When developing I like to
review my changes before commit, doing little tweaks like removing
empty new lines and trailing whitespaces. On emacs I can get an diff
from the version control with C-x v =, then doing the fixes for
creating a nice patch, doing C-x v = will refresh the diff window, so
I do this until I think that is good enough. While I can get a diff
from file with %!git diff % at vim, I can't jump to modification on
file directly from the patch window. Any ideas on how to achieve this?

Regards,

2015-12-28 17:11 GMT-02:00 Daniel. <danielhilst at gmail.com>:
> This is fun: http://vimdoc.sourceforge.net/htmldoc/usr_41.html#script  :D
>
> 2015-12-28 12:05 GMT-02:00 Fernando Apesteguía <fernando.apesteguia at gmail.com>:
>>
>> El 28/12/2015 13:58, "Manuel Pégourié-Gonnard" <mpg at elzevir.fr> escribió:
>>>
>>> Hi,
>>>
>>> On 28/12/2015 13:28, Daniel. wrote:
>>> > Is there anybody using cscope inside vim? Is there an alternative
>>> > keybinds for the :cs commands?
>>> >
>>> I use this file from the cscope distribution, that defines normal mode
>>> bindings:
>>>
>>> http://cscope.sourceforge.net/cscope_maps.vim
>>>
>>
>> They're also available in the cscope help inside Vim. Once you get used to
>> them they're extremely useful, a real productivity booster, specially for
>> big projects.
>>
>>> Regards,
>>> Manuel
>>>
>>> _______________________________________________
>>> Kernelnewbies mailing list
>>> Kernelnewbies at kernelnewbies.org
>>> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>
>
> --
> "Do or do not. There is no try"
>   Yoda Master



-- 
"Do or do not. There is no try"
  Yoda Master



More information about the Kernelnewbies mailing list