Re: CRLF behavior with :!

2010-10-13 Thread Gary Johnson
On 2010-10-13, Jürgen Krämer wrote: > Hi > > Jeenu wrote: > > > > I noticed that running commands like ':!svn info' from Vim in both > > Cygwin and Linux machines differ. On Linux machines, the output looked > > like how it's displayed in terminal. However, with Vim on Cygwin > > (PuTTYCyg client

Remove all mappings on a new buffer

2010-10-13 Thread Martin Lundberg
Hi, If I've created a new buffer in a script with 'new', how can I remove all normal mappings for that buffer/window? In my script I've mapped ctrl-p and ctrl-n to move the cursor to previous/next line. The problem is that the ctrl-n stops and wait for a second ctrl-n because of a mapping that I'v

Re: netrw and symbolic links

2010-10-13 Thread ThomasD
On Oct 12, 5:58 pm, Charles Campbell wrote: > Charles Campbell wrote: > > I'm thinking about making a map, gd, which would force treatment of the > > word under the cursor as a directory. > > For those who are interested: please try v141e available at my website > ashttp://mysite.verizon.net/astro

Re: CRLF behavior with :!

2010-10-13 Thread Jeenu
On Oct 13, 11:32 am, Jürgen Krämer wrote: > Jeenu wrote: > > > I noticed that running commands like ':!svn info' from Vim in both > > Cygwin and Linux machines differ. On Linux machines, the output looked > > like how it's displayed in terminal. However, with Vim on Cygwin > > (PuTTYCyg client)

Re: CRLF behavior with :!

2010-10-13 Thread ZyX
Ответ на сообщение «Re: CRLF behavior with :!», присланное в 11:33:47 13 октября 2010, Среда. Отправитель: Gary Johnson: Sometimes after I kill vim I get this stair-stepping in a terminal, but if I do ``stty onlcr'' everything gets fine (in zsh this can be fixed by putting ``ttyctl -f'' into .z

Re: CRLF behavior with :!

2010-10-13 Thread Jeenu
On Oct 13, 2:22 pm, ZyX wrote: > [...] > By the way, does the output of the following command echo the same stepping > formation?: >     :!stty -onlcr && ls -l My 'svn info' output looks normal after this. Jeenu -- You received this message from the "vim_use" maillist. Do not top-post! Type

Re: jumpto-diffs broken

2010-10-13 Thread frakel
[SOLVED] as it is dependent on the file structure on how the jumpto- diff commands work. They dont work if there are differences in each line of both files. This was my misunderstanding, as I compared two files that had slight differences, sometimes even only one character per line which is merked

Re: netrw and symbolic links

2010-10-13 Thread ThomasD
Oops, worked out what mapping refers to! However, typing gd on the file has no apparent effect. Regards, Thomas Dunkerley -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org

Re: Compiling Vim with Gui in Ubuntu 10.10 64bits

2010-10-13 Thread Felipe Orellana Castillo
I don't see any error message I've installed gnome-devel package because It may be useful, but not I'm keep recieving the same lines =/ checking for X... (cached) no checking if X11 header files can be found... yes checking --enable-gui argument... no GUI support checking for X11/SM/SMlib.h... (c

Re: Compiling Vim with Gui in Ubuntu 10.10 64bits

2010-10-13 Thread bill lam
Срд, 13 Окт 2010, Felipe Orellana Castillo писал(а): > I don't see any error message > > I've installed gnome-devel package because It may be useful, but not > I'm keep recieving the same lines =/ > > checking for X... (cached) no > checking if X11 header files can be found... yes > checking --en

vim leaving undeletable temporary files over CIFS

2010-10-13 Thread Neil Bird
I've been plagued for a while with hidden and undeletable files called cifs ( being some 4-char hex string) on my Windows XP box's share; my only recourse to being rid of them is to reboot and then delete them. I can't get anything but a filename from them, the file properties are

Home and End keys

2010-10-13 Thread Ven Tadipatri
Not sure if this is the place to post this, but my home and end keys don't appear to work when I set the mode in Bash to vi. The home and end keys work fine in vim. Does vim use some sort of different key map file? Maybe I could somehow bind the keys in bash so that they work as expected. Thanks,

Re: Home and End keys

2010-10-13 Thread Christian Brabandt
On Wed, October 13, 2010 5:11 pm, Ven Tadipatri wrote: > Not sure if this is the place to post this, but my home and end keys > don't appear to work when I set the mode in Bash to vi. > The home and end keys work fine in vim. Does vim use some sort of > different key map file? Maybe I could somehow

Re: vim leaving undeletable temporary files over CIFS

2010-10-13 Thread Christian Brabandt
On Wed, October 13, 2010 3:53 pm, Neil Bird wrote: > >I've been plagued for a while with hidden and undeletable files called > cifs ( being some 4-char hex string) on my Windows XP box's share; > my only recourse to being rid of them is to reboot and then delete them. > >I can't get

Re: Home and End keys

2010-10-13 Thread Christian Brabandt
On Wed, October 13, 2010 5:26 pm, Christian Brabandt wrote: > BTW: You can bind those keys using the readline library. man readline > should give you enough info (I did it before, but can't show you an > example right now). e.g. put something like this in your .inputrc: "\e[1~": beginning-of-line

Re: Copy Paste Issues

2010-10-13 Thread Ven Tadipatri
On Tue, Oct 12, 2010 at 8:42 AM, Ajay Jain wrote: > Hi, > > I am facing quite some issues with copy paste on vim. I expected It looks like a lot of people are having issues with copy and paste on vim. I think that this is definitely an issue that needs to be addressed with the next version of vim

Re: Compiling Vim with Gui in Ubuntu 10.10 64bits

2010-10-13 Thread Felipe Orellana Castillo
sorry I don't know what you mean with top-posting I'm not a native enlgish speaker, but I give my best On Oct 13, 10:45 am, bill lam wrote: > Срд, 13 Окт 2010, Felipe Orellana Castillo писал(а): > > > > > > > > > > > I don't see any error message > > > I've installed gnome-devel package because

Re: Home and End keys

2010-10-13 Thread Ven Tadipatri
On Wed, Oct 13, 2010 at 11:33 AM, Christian Brabandt wrote: > On Wed, October 13, 2010 5:26 pm, Christian Brabandt wrote: >> BTW: You can bind those keys using the readline library. man readline >> should give you enough info (I did it before, but can't show you an >> example right now). > > e.g.

Re: Home and End keys

2010-10-13 Thread Christian Brabandt
On Wed, October 13, 2010 6:20 pm, Ven Tadipatri wrote: > On Wed, Oct 13, 2010 at 11:33 AM, Christian Brabandt > wrote: >> On Wed, October 13, 2010 5:26 pm, Christian Brabandt wrote: >>> BTW: You can bind those keys using the readline library. man readline >>> should give you enough info (I did it

Re: .vimrc issue

2010-10-13 Thread Ben Fritz
On Oct 12, 1:12 pm, rudy b wrote: > Hi all, > I am having an issue with the ".vimrc" file. > There is a dos format file that I am opening with gvim, on a unix > platform. And as expected, when I open the file, I see carriage return > (^M) character at the end of each line. > Then I can clean up

Re: Copy Paste Issues

2010-10-13 Thread Yegappan Lakshmanan
Hi, On Tue, Oct 12, 2010 at 10:16 AM, Ajay Jain wrote: >> I am facing quite some issues with copy paste on vim. I expected >> things to work nicely in the default state, but I am wrong as I >> believe we need to do some key mappings. My .vimrc is simple:  It only >> has the following line: >> sou

Re: Copy Paste Issues

2010-10-13 Thread Ben Fritz
On Oct 13, 10:36 am, Ven Tadipatri wrote: > > I've been struggling with this for a while, and so far there doesn't > really seem to be a good, clean (as in not some elaborate clunky key > mapping in the vimrc), platform independent (works without relying on > xclip or Cygwin's clipboard) solutio

Re: Executing commands over a fold

2010-10-13 Thread Ben Fritz
On Oct 12, 10:33 am, Ven Tadipatri wrote: > > >> :folddocnormal! 'a' > > I tried this, and it says "mark unknown".  I'm assuming there's a > space between folddoc and normal? > > Sorry, as I mention, there is a typo. Omit the '' characters. Additionally I meant "type CTRL+R" (two keys) not "typ

Re: Compiling Vim with Gui in Ubuntu 10.10 64bits

2010-10-13 Thread ZyX
Ответ на сообщение «Re: Compiling Vim with Gui in Ubuntu 10.10 64bits», присланное в 20:09:18 13 октября 2010, Среда. Отправитель: Felipe Orellana Castillo: > sorry I don't know what you mean with top-posting It is explained in the message, appended at the end of each post: > Do not top-post! Typ

Re: CRLF behavior with :!

2010-10-13 Thread Gary Johnson
On 2010-10-13, ZyX wrote: > Sometimes after I kill vim I get this stair-stepping in a terminal, but if I > do > ``stty onlcr'' everything gets fine (in zsh this can be fixed by putting > ``ttyctl -f'' into .zshrc if you are interested. No calls to `stty' will be > required then). Try to examin

Re: Copy Paste Issues

2010-10-13 Thread François Ingelrest
> It is very difficult to do ANYTHING platform-independent if you're > working in a terminal. I'm also having issues with copy-pasting since I installed the latest Ubuntu a few days ago. I've been compiling my own Vim without GUI for a few years, and I was previously able to copy-paste using the m

Re: Copy Paste Issues

2010-10-13 Thread Yegappan Lakshmanan
Hi, 2010/10/13 François Ingelrest : >> It is very difficult to do ANYTHING platform-independent if you're >> working in a terminal. > > I'm also having issues with copy-pasting since I installed the latest > Ubuntu a few days ago. I've been compiling my own Vim without GUI for > a few years, and I

Re: Copy Paste Issues

2010-10-13 Thread Christian Brabandt
Hi Yegappan! On Mi, 13 Okt 2010, Yegappan Lakshmanan wrote: > Hi, > > 2010/10/13 François Ingelrest : > >> It is very difficult to do ANYTHING platform-independent if you're > >> working in a terminal. > > > > I'm also having issues with copy-pasting since I installed the latest > > Ubuntu a few

Re: Remove all mappings on a new buffer

2010-10-13 Thread Jostein Berntsen
On 13.10.10,09:48, Martin Lundberg wrote: > Hi, > > If I've created a new buffer in a script with 'new', how can I remove > all normal mappings for that buffer/window? In my script I've mapped > ctrl-p and ctrl-n to move the cursor to previous/next line. The > problem is that the ctrl-n stops and

Coloring a line by keystroke: TODO file in vim

2010-10-13 Thread Rahul
I maintain a simple Todo file using vim. Each line has a task. Sometimes for an important task it would be nice if I had a keystroke that would make the whole line (or visually selected set of lines) a particular color, say "Red". Is there a way of setting this up? I've colored before but it is vi

Re: Coloring a line by keystroke: TODO file in vim

2010-10-13 Thread Christian Brabandt
Hi Rahul! On Mi, 13 Okt 2010, Rahul wrote: > I maintain a simple Todo file using vim. Each line has a task. > Sometimes for an important task it would be nice if I had a keystroke > that would make the whole line (or visually selected set of lines) a > particular color, say "Red". > > Is there a

Re: Compiling Vim with Gui in Ubuntu 10.10 64bits

2010-10-13 Thread Felipe Orellana Castillo
On Oct 13, 2:19 pm, ZyX wrote: > Ответ на сообщение <>, > присланное в 20:09:18 13 октября 2010, Среда. > Отправитель: Felipe Orellana Castillo: > > > sorry I don't know what you mean with top-posting > > It is explained in the message, appended at the end of each post:> Do not > top-post! Type y

Changing the indention of the command "gg=G"

2010-10-13 Thread Jeri Raye
Hi, gg=G does reindent a file. Question 1: Is it possible to make this command filetype dependend? Question 2: Is it possible to change the way the indent-ion is done? Reason for asking is: I don't like how the indent is done on VHDL files. I would like to change it. Rgds, Jeri -- You receive

Re: Changing the indention of the command "gg=G"

2010-10-13 Thread Ben Fritz
On Oct 13, 3:23 pm, Jeri Raye wrote: > Hi, > > gg=G does reindent a file. > > Question 1: Is it possible to make this command filetype dependend? Yes. Turn on filetype indentation instead of autoindent, cindent, or smartindent, with this in your .vimrc: filetype plugin indent on (it is quite

Re: Remove all mappings on a new buffer

2010-10-13 Thread Martin Lundberg
Hi, I don't want to do that becuase then it will only unmap my specific mapping and if someone else uses the plugin they will probably have other mappings. -Martin On Wed, Oct 13, 2010 at 8:03 PM, Jostein Berntsen wrote: > On 13.10.10,09:48, Martin Lundberg wrote: >> Hi, >> >> If I've created a

Re: Coloring a line by keystroke: TODO file in vim

2010-10-13 Thread Stahlman Family
Christian Brabandt wrote: Hi Rahul! On Mi, 13 Okt 2010, Rahul wrote: I maintain a simple Todo file using vim. Each line has a task. Sometimes for an important task it would be nice if I had a keystroke that would make the whole line (or visually selected set of lines) a particular color, say

Re: Remove all mappings on a new buffer

2010-10-13 Thread Ben Fritz
On Oct 13, 3:45 pm, Martin Lundberg wrote: > Hi, > > I don't want to do that becuase then it will only unmap my specific > mapping and if someone else uses the plugin they will probably have > other mappings. > > -Martin It's rude enough when plugins override existing maps without warning. It w

What to do with vim_use and vim_dev pages and files?

2010-10-13 Thread Ben Fritz
I have been seeing this message on logging into the google groups interface recently: "Google Groups will no longer be supporting the Welcome Message feature. Starting January 13, you won't be able to edit your welcome messages, but you will still be able to view and download the existing content.