Re: How to cancel [count] prefix?

2015-03-03 Thread David Fishburn
... The only solution for Visual mode i've found so far is to press '@_'. Is there a better way? ... The @_ is a nice trick though (files that away). ... Okay, I have tried: :h @ :h @_ :h registers :h \@_ I have tried it after visually selecting some text. I can't figure out what

Re: How to cancel [count] prefix?

2015-03-03 Thread Alexey
On Tuesday, March 3, 2015 at 5:33:14 PM UTC+1, David Fishburn wrote: Okay, I have tried: :h @ :h @_ :h registers :h \@_ I have tried it after visually selecting some text. I can't figure out what @_ is doing? Try :h _ 8. Black hole register _

Re: Can you explain to me what this script is doing?

2015-03-03 Thread Nikolay Pavlov
2015-03-03 17:17 GMT+03:00 at atorgovit...@gmail.com: I found the following code on a stackexchange post: http://tex.stackexchange.com/questions/1548/intelligent-paragraph-reflowing-in-vim The code is for environment-aware formatting in LaTeX. It's not longer working quite the way I want

Re: How to cancel [count] prefix?

2015-03-03 Thread Nikolay Pavlov
2015-03-03 19:33 GMT+03:00 David Fishburn dfishburn@gmail.com: ... The only solution for Visual mode i've found so far is to press '@_'. Is there a better way? ... The @_ is a nice trick though (files that away). ... Okay, I have tried: :h @ :h @ was correct :h. But you

Re: .gvimrc vs. .vimrc

2015-03-03 Thread Tim Chase
On 2015-03-02 12:11, Gary Johnson wrote: you should set your :colorscheme in ~/.gvimrc or with a GUIEnter autocommand because Vim won't know the background color of the GUI until it starts the GUI. Just for the record, I :colorscheme in my vimrc and it gets identified properly in both vim and

How to cancel [count] prefix?

2015-03-03 Thread Alexey
Hello, i need this for my custom mappings, but i am also curious in this question on its own right: How do you cancel the count prefix in Vim? 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'

gvim not showing unicode Devanagari - Hindi text

2015-03-03 Thread V S Rawat
Salutes from India I am a new user. Landed here primarily to ask this question. My gvim, vim 7.4 on w8 is not showing unicode Devanagari - Hindi text. What to do? Thanks. -- Rawat -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you

Re: .gvimrc vs. .vimrc

2015-03-03 Thread Christian Brabandt
Hi Gary! On Di, 03 Mär 2015, Gary Johnson wrote: On 2015-03-03, Tim Chase wrote: On 2015-03-02 12:11, Gary Johnson wrote: you should set your :colorscheme in ~/.gvimrc or with a GUIEnter autocommand because Vim won't know the background color of the GUI until it starts the GUI.

Re: How to cancel [count] prefix?

2015-03-03 Thread Christian Brabandt
Hi Tim! On Di, 03 Mär 2015, Tim Chase wrote: On 2015-03-03 05:39, Alexey wrote: How do you cancel the count prefix in Vim? 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

Re: inoremap C-`

2015-03-03 Thread Christian Brabandt
Hi Ethan! On Di, 03 Mär 2015, Ethan Hereth wrote: Hey everybody, I just got a wild hair and decided to try to create the following mapping: inoremap C-` Escb~ea I want to use this to twiddle the case of the current word I'm typing (e.g. if I've tab completed a word, and it's the

Re: How to cancel [count] prefix?

2015-03-03 Thread Tim Chase
On 2015-03-03 12:32, Alexey wrote: On Tuesday, March 3, 2015 at 9:29:16 PM UTC+1, Christian Brabandt wrote: It works in both modes and switches to visual mode from select mode but if you are already in visual mode it cancels the count, if one was given and it will also beep It beeps

Re: inoremap C-`

2015-03-03 Thread Ethan Hereth
On Tue, Mar 3, 2015 at 3:38 PM, Christian Brabandt cbli...@256bit.org wrote: Hi Ethan! On Di, 03 Mär 2015, Ethan Hereth wrote: Hey everybody, I just got a wild hair and decided to try to create the following mapping: inoremap C-` Escb~ea I want to use this to twiddle the case

Re: How to cancel [count] prefix?

2015-03-03 Thread Christian Brabandt
Hi Tim! On Di, 03 Mär 2015, Tim Chase wrote: On 2015-03-03 19:42, Christian Brabandt wrote: The only solution for Visual mode i've found so far is to press '@_'. Is there a better way? I generally just hit esc and then use gv to re-highlight the previously-selected

Re: Vim completion using reverse engineering Eclipse

2015-03-03 Thread Marc Weber
Excerpts from David Fishburn's message of Tue Mar 03 21:22:47 + 2015: I am hoping someone on this list has a passing familiarity with Eclipse. Lookup eclim.org project Marc Weber -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you

Re: How to cancel [count] prefix?

2015-03-03 Thread Tim Chase
On 2015-03-03 19:42, Christian Brabandt wrote: The only solution for Visual mode i've found so far is to press '@_'. Is there a better way? I generally just hit esc and then use gv to re-highlight the previously-selected region. The @_ is a nice trick though (files that away)

inoremap C-`

2015-03-03 Thread Ethan Hereth
Hey everybody, I just got a wild hair and decided to try to create the following mapping: inoremap C-` Escb~ea I want to use this to twiddle the case of the current word I'm typing (e.g. if I've tab completed a word, and it's the correct word but I don't want the first letter to be upper case.)

Re: How to cancel [count] prefix?

2015-03-03 Thread Alexey
On Tuesday, March 3, 2015 at 9:29:16 PM UTC+1, Christian Brabandt wrote: It works in both modes and switches to visual mode from select mode but if you are already in visual mode it cancels the count, if one was given and it will also beep It beeps for free! A. -- -- You received this

Vim completion using reverse engineering Eclipse

2015-03-03 Thread David Fishburn
I am hoping someone on this list has a passing familiarity with Eclipse. Eclipse knows how to complete lots of different languages. Vim already has XML / HTML completion and Mikolaj made it generic enough so that I can use the same gear for other languages. Eclipse already knows which tags and

RE: gvim not showing unicode Devanagari - Hindi text

2015-03-03 Thread John Beckett
V S Rawat wrote: My gvim, vim 7.4 on w8 is not showing unicode Devanagari - Hindi text. What is it showing? Vim requires that you have selected a suitable font which has to be mono-spaced. This shows that CJK can be handled with the right font so presumably some font would handle what you

Re: .gvimrc vs. .vimrc

2015-03-03 Thread Gary Johnson
On 2015-03-03, Tim Chase wrote: On 2015-03-02 12:11, Gary Johnson wrote: you should set your :colorscheme in ~/.gvimrc or with a GUIEnter autocommand because Vim won't know the background color of the GUI until it starts the GUI. Just for the record, I :colorscheme in my vimrc and it

Can you explain to me what this script is doing?

2015-03-03 Thread at
I found the following code on a stackexchange post: http://tex.stackexchange.com/questions/1548/intelligent-paragraph-reflowing-in-vim The code is for environment-aware formatting in LaTeX. It's not longer working quite the way I want it---I think it is interacting with one of my other plugins

Re: How to cancel [count] prefix?

2015-03-03 Thread Tim Chase
On 2015-03-03 05:39, Alexey wrote: How do you cancel the count prefix in Vim? 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