Re: How to use virtualenv in Vim ?

2012-08-25 Thread chris
Excerpts from [ Ben Fritz ] On [2012-08-24 07:15:20 -0700]: I have no idea what PowerLine does or how it works. Probably it messes with your statusline option. Try disabling PowerLine temporarily to get the statusline working before you start trying to get it working in PowerLine. I do

Re: How to use virtualenv in Vim ?

2012-08-25 Thread chris
Excerpts from [ Benjamin R. Haskell ] On [2012-08-24 11:57:46 -0400]: On Fri, 24 Aug 2012, chris wrote: I added plugin virtualenv (https://github.com/jmcantrell/vim-virtualenv) into my runtimepath. I'm new to virtualenv. The Vim plugin virtualenv has a function for statusline show the

Re: How to use virtualenv in Vim ?

2012-08-25 Thread chris
Excerpts from [ Benjamin R. Haskell ] On [2012-08-24 12:10:59 -0400]: Also forgot to mention: Try running :PowerlineClearCache Yes, I execute this too. -- [ stardiviner ] {I hate all of you ! Leave me alone} IRC(freenode): stardiviner \\ Twitter: @numbchild \\ GnuPG Key

Re: How to use virtualenv in Vim ?

2012-08-25 Thread chris
Excerpts from [ Benjamin R. Haskell ] On [2012-08-24 12:10:59 -0400]: solved problem: reason: I set g:virtualenv_dir = '~/.virtualenvs/' But I execute command `$ virtualenv test` in `~/Templates/test/` That's why Vim plugin virtualenv can't find virtualenv. -- [ stardiviner ] {I

Re: help on vim indenting for php

2012-08-25 Thread Gary Johnson
On 2012-08-24, merry42 wrote: Hi, I have installed vim 7.3.429 on my linux box (ubuntu 12.04) and php.vim is set to the latest version 1.35 (it was 1.33 -- I updated it manually) globlly (file is /usr/share/vim/vim73/indent/php.vim) and my test file is the following: if ($a ) {

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

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

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 Home and End are on my keyboard, I try to use those instead of ^ and $ (and

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

2012-08-25 Thread Paul Isambert
Santosh Kumar sntshkm...@gmail.com 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

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 since I

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 zappathus...@free.fr wrote: Santosh Kumar sntshkm...@gmail.com a écrit: By default I have textwidth set to 78: set textwidth=78 By this setting if I

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 silent leadertw :exe set textwidth= . (tw ? 0 : 78)cr 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

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

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.

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

2012-08-25 Thread Paul Isambert
Santosh Kumar sntshkm...@gmail.com 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

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 of textwidth

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 FAQ didn't seem to

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 v...@drmikehenry.com 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

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 find

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 mappings and

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. If I do

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 not inserted

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

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 for

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

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 alt+{char} (or meta+{char} depending on how it's created), so in addition to searching for a mapping

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 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 did this start

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

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

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 sntshkm...@gmail.com 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