Re: How to cancel [count] prefix?

2015-03-04 Thread Alexey Muranov
On 4 mars 2015, at 20:37, Nikolay Pavlov zyx@gmail.com wrote: For Normal and Visual modes, i plan however to remap my `Esc` key using something like this: function s:NVMapExpr_EscKey() if v:count return '@_' else return \Esc endif endfunction

Re: How to cancel [count] prefix?

2015-03-04 Thread Alexey Muranov
On 4 mars 2015, at 11:44, Jürgen Krämer jottka...@googlemail.com wrote: Say, i've typed '42' before a motion key, but then changed my mind and decided to use a different motion or a different count. How do i cancel '42' if i am in Visual mode? (In Normal mode i can press Esc, but in

Re: How to cancel [count] prefix?

2015-03-04 Thread Alexey Muranov
On 4 mars 2015, at 15:30, Justin M. Keyes justi...@gmail.com wrote: Remapping esc is a bad idea. Could you tell why, please? (In fact, i have remapped more or less all the keys, and i am happy with it so far, but keep working on it.) Alexey. -- -- You received this message from the

Re: inconsistent cursor position after paste ('p')

2013-12-10 Thread Alexey Muranov
On 10 Dec 2013, at 20:06, Christian Brabandt cbli...@256bit.org wrote: On Di, 10 Dez 2013, Alexey wrote: Hello, can this be considered a bug, or is there a reason for it? If i paste with 'p' a piece of text that does not have line breaks in it, the cursor is left on the last character

tags without tags file

2013-12-05 Thread Alexey Muranov
I am trying to understand how tags work in Vim. I do not have crated any tags files, but TagBar works and shows some document sections, but not all. I would like to understand what is going on. Is there any way to find out what tags file is currently used in Vim? Or does TagBar work without