Re: Is there a key map conflict in my Vim?

2016-12-27 Thread Zhe Lee
On Saturday, December 24, 2016 at 7:36:55 AM UTC+8, Tony Mechelynck wrote: > On Fri, Dec 23, 2016 at 2:22 AM, Zhe Lee wrote: > > I use the two command below to map my `j` and `k`, the purpose of these > > command is that when the current line is too long, it will be

Re: Is there a key map conflict in my Vim?

2016-12-23 Thread Tony Mechelynck
On Fri, Dec 23, 2016 at 2:22 AM, Zhe Lee wrote: > I use the two command below to map my `j` and `k`, the purpose of these > command is that when the current line is too long, it will be wrapped in vim > window, and you don't want to jump it when you press j or k. So ~ >

Is there a key map conflict in my Vim?

2016-12-22 Thread Zhe Lee
I use the two command below to map my `j` and `k`, the purpose of these command is that when the current line is too long, it will be wrapped in vim window, and you don't want to jump it when you press j or k. So ~ nnoremap j v:count == 0 ? 'gj' : 'j' nnoremap k v:count == 0 ? 'gk' : 'k' It