Re: How do I define function for toggling textwidth (and echoing along)?

2012-08-25 Thread Bee
On Aug 25, 2:07 am, Santosh Kumar wrote: > By default I have textwidth set to 78: > set textwidth=78 > > By this setting if I type more than 78 characters in a line, those > will be moved to next line. > I want a mapping that will toogle that textwidth to 0 (or say disable > textwidth), so that

Re: vim: mpage 1 page down instead of "M" page down

2012-08-25 Thread ping
On 11/18/2011 2:05 PM, Charles Campbell wrote: ping wrote: thanks Dr. chip ...but I still haven't figure it out yet ... :( regards ping On 11/09/2011 05:00 PM, Charles Campbell wrote: ping wrote: hi Dr chip: I'm using your MPage plugin for 2 days and I enjoy it. just one thing I

XML Autoindent

2012-08-25 Thread Brandon Olivares
Hello, I would like to have XML files be auto indented. I find an article that showed how to indent after doing gg=G, using xmlint, but I would like for it to also auto indent as I am typing, like it would in another programming language. How can I configure this? Thanks, Brandon -- You rece

Re: Typing "â" problem

2012-08-25 Thread Fernando Basso
On Saturday, August 25, 2012 10:36:40 PM UTC-3, Chris Jones wrote: > On Sat, Aug 25, 2012 at 08:33:16PM EDT, Fernando Basso wrote: > > > On Saturday, August 25, 2012 5:45:49 PM UTC-3, Chris Jones wrote: > > > > > > > > > Because that's what I get here in mutt: 'parâmetro' in his initial post

Re: Typing "â" problem

2012-08-25 Thread Chris Jones
On Sat, Aug 25, 2012 at 08:33:16PM EDT, Fernando Basso wrote: > On Saturday, August 25, 2012 5:45:49 PM UTC-3, Chris Jones wrote: > > > Because that's what I get here in mutt: 'parâmetro' in his initial post > > > > becomes 'parāmetro' in your reply, in the quoted text. > > > > > > > When di

Re: Typing "â" problem

2012-08-25 Thread Chris Jones
On Sat, Aug 25, 2012 at 08:25:25PM EDT, Tim Chase wrote: > On 08/25/12 15:45, Chris Jones wrote: [..] > I suspect Google Groups misbehavior. Checking the OP's message and my > sent-mail folder, they both have a-hat, not a-macron. My outbound was > encoded in ISO-8859-1 and your reply came in as

Re: Typing "â" problem

2012-08-25 Thread Tim Chase
On 08/25/12 15:45, Chris Jones wrote: > On Sat, Aug 25, 2012 at 04:01:49PM EDT, Tim Chase wrote: >> Depending on the environment and your terminal encodings, the ā >> character may also map to some (or >> depending on how it's created), so in addition to searching for a >> mapping directly to ā,

Re: problems with gf

2012-08-25 Thread Tim Chase
On 08/25/12 12:26, David H. Lynch Jr. wrote: > I use gf heavily to edit the file under the cursor. > > I am working on some projects with filenames that contain characters > like [ and ] that are not handled by the gf command. You want to tweak the 'isfname' setting to include the extra charact

Re: Typing "â" problem

2012-08-25 Thread Fernando Basso
On Saturday, August 25, 2012 5:45:49 PM UTC-3, Chris Jones wrote: > Because that's what I get here in mutt: 'parâmetro' in his initial post > > becomes 'parāmetro' in your reply, in the quoted text. > > > When did this start happening..? what encoding are you using in Vim..? > I use utf-8 f

problems with gf

2012-08-25 Thread David H. Lynch Jr.
I use gf heavily to edit the file under the cursor. I am working on some projects with filenames that contain characters like [ and ] that are not handled by the gf command. has anyone got any ideas on working around this ? -- You received this message from the "vim_use" maillist. Do not top

Re: Typing "â" problem

2012-08-25 Thread Tim Chase
On 08/25/12 15:45, Chris Jones wrote: > On Sat, Aug 25, 2012 at 04:01:49PM EDT, Tim Chase wrote: >> On 08/25/12 14:52, Fernando Basso wrote: >>> I have been facing an issue that when I type ā, like in the word >>> "Parāmetro", either the cursor jumps somewhere else in the file, or >>> the ā is just

Re: Typing "â" problem

2012-08-25 Thread Chris Jones
On Sat, Aug 25, 2012 at 04:01:49PM EDT, Tim Chase wrote: > On 08/25/12 14:52, Fernando Basso wrote: > > I have been facing an issue that when I type ā, like in the word > > "Parāmetro", either the cursor jumps somewhere else in the file, or > > the ā is just not inserted and I see only "Parmetro".

Re: Typing "â" problem

2012-08-25 Thread Tim Chase
On 08/25/12 14:52, Fernando Basso wrote: > I have been facing an issue that when I type ā, like in the word > "Parāmetro", either the cursor jumps somewhere else in the file, > or the ā is just not inserted and I see only "Parmetro". If I do > Ctrl-V ā then it works. > > I have checked all my mapp

Typing "â" problem

2012-08-25 Thread Fernando Basso
I have been facing an issue that when I type â, like in the word "Parâmetro", either the cursor jumps somewhere else in the file, or the â is just not inserted and I see only "Parmetro". If I do Ctrl-V â then it works. I have checked all my mappings and abbreviations in $MYVIMRC but couldn't fin

Re: Building Vim for Windows (like "Vim Without Cream")

2012-08-25 Thread Steve Hall
On Sat, Aug 25, 2012 at 10:02 AM, Michael Henry wrote: > > I'm interested in compiling Vim for Windows. Ideally, I'd like > to replicate the "Vim Without Cream" build associated with the > "Cream" project: > http://cream.sourceforge.net/ I'm the author and will be glad to help as much as I can.

Re: Building Vim for Windows (like "Vim Without Cream")

2012-08-25 Thread skeept
On Saturday, August 25, 2012 10:02:30 AM UTC-4, Michael Henry wrote: > All, > > > > I'm interested in compiling Vim for Windows. Ideally, I'd like > > to replicate the "Vim Without Cream" build associated with the > > "Cream" project: > > http://cream.sourceforge.net/ > > > > The Cream FA

Re: How do I define function for toggling textwidth (and echoing along)?

2012-08-25 Thread Gary Johnson
On 2012-08-25, Paul Isambert wrote: > Santosh Kumar a écrit: > > > > Still nothing is shown on the status bar. > > > > Can't we create a function named Toogletw() and call it on this mapping? > > I hadn't read "status-line"; my code prints the width in the command-line. > If you want the value o

Re: How do I define function for toggling textwidth (and echoing along)?

2012-08-25 Thread Paul Isambert
Santosh Kumar a écrit: > > Still nothing is shown on the status bar. > > Can't we create a function named Toogletw() and call it on this mapping? I hadn't read "status-line"; my code prints the width in the command-line. If you want the value of "textwidth" to be mentioned in the status line, t

Re: colorscheme highlights 88 color cterms

2012-08-25 Thread Chris Jones
On Fri, Aug 24, 2012 at 07:30:40PM EDT, richard emberson wrote: > I note that some scheme when setting highlights for > cterms use numbers in the range 0 to 255. > What happens if one is using a rxvt 88 color terminal? [..] Save from referring to the code, you could check this as follows: 1. cre

Building Vim for Windows (like "Vim Without Cream")

2012-08-25 Thread Michael Henry
All, I'm interested in compiling Vim for Windows. Ideally, I'd like to replicate the "Vim Without Cream" build associated with the "Cream" project: http://cream.sourceforge.net/ The Cream FAQ didn't seem to have anything about building from source: http://cream.sourceforge.net/faq.html I was ho

Re: How do I define function for toggling textwidth (and echoing along)?

2012-08-25 Thread Simon Ruderich
On Sat, Aug 25, 2012 at 02:37:43PM +0530, Santosh Kumar wrote: > [snip] > > Currently I have this mapping: > nnoremap tw :exe "set textwidth=" . (&tw ? 0 : 78) > > This does the work but I don't get notified if the work has been done. > All I want is along with toggling the setting I should be not

Re: How do I define function for toggling textwidth (and echoing along)?

2012-08-25 Thread Santosh Kumar
Still nothing is shown on the status bar. Can't we create a function named Toogletw() and call it on this mapping? On 8/25/12, Paul Isambert wrote: > Santosh Kumar a écrit: >> >> By default I have textwidth set to 78: >> set textwidth=78 >> >> By this setting if I type more than 78 characters i

Re: Good idea to remap s to $?

2012-08-25 Thread Tim Chase
On 08/25/12 05:53, Matteo Landi wrote: >> On Mon, Aug 06, 2012 at 00:56:36 +, Aaron Bohannon wrote: >>> $ and ^ > > What about mapping H and L to ^ and $? > > I have never had the need to move to the top/bottom of the screen. This would entirely be a personal thing--that would drive me nuts

Re: How do I define function for toggling textwidth (and echoing along)?

2012-08-25 Thread Paul Isambert
Santosh Kumar a écrit: > > By default I have textwidth set to 78: > set textwidth=78 > > By this setting if I type more than 78 characters in a line, those > will be moved to next line. > I want a mapping that will toogle that textwidth to 0 (or say disable > textwidth), so that I can type long

Re: Good idea to remap s to $?

2012-08-25 Thread Matteo Landi
On Aug/06, Adri Verhoef wrote: > On Mon, Aug 06, 2012 at 00:56:36 +, Aaron Bohannon wrote: > > $ and ^ > > are probably two of the least optimal built-in keystrokes, given how > > often they are needed. > > Since the keys and are on my keyboard, I try to use those instead > of ^ and $ (and

Re: Vim perl highlighting doesn't understand UTF-8? (vimRE needs perlRE enhancing)

2012-08-25 Thread Linda W
Benjamin R. Haskell wrote: While I've found Vim's RE difficult to memorize all of it's special cases, I didn't know it was also incompatible with it's default text mode. That is what I am stating. you point out \w \h below, but the character classes [:alpha:] and all of them don'

How do I define function for toggling textwidth (and echoing along)?

2012-08-25 Thread Santosh Kumar
By default I have textwidth set to 78: set textwidth=78 By this setting if I type more than 78 characters in a line, those will be moved to next line. I want a mapping that will toogle that textwidth to 0 (or say disable textwidth), so that I can type long sentences in a single line. Currently I