Re: Developing environments used for kernel development

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>:
> 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@xxxxxxxxx>:
>>
>> El 28/12/2015 13:58, "Manuel Pégourié-Gonnard" <mpg@xxxxxxxxxx> 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@xxxxxxxxxxxxxxxxx
>>> 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

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux