Re: Python comments

2010-11-09 Thread Stephan Weller
Hi Tuomas, Sounds complicated. :-) I was thinking that there ought to be some setting in indent/python.vim or syntax/python.vim that I could modify, but apparently there isn't... :-/ You probably have smartindent on, see :help smartindent. In this case, autoindent is what you probably

Re: no echo output in command line

2010-11-09 Thread rameo
One more question: Why can't I keep the utf8 settings of a file? I don't have anything in my vimrc written about encoding. I have a file and do: set fenc=utf8 set enc=utf e! ++fenc=utf8 setlocal enc=utf8 Whatever I do, when I save the file and reopen the file again the encoding is latin1

Re: Python comments

2010-11-09 Thread Ben Fritz
On Nov 8, 3:34 pm, AK andrei@gmail.com wrote: On 11/08/2010 02:40 PM, Tuomas Pellonper wrote: Hello! When I am editing python code and I start inserting a comment by typing '#', vim shifts this character to the first column of the line. What might be causing this behavior and how

Re: Python comments

2010-11-09 Thread Tuomas Pellonperä
Sounds complicated. :-) I was thinking that there ought to be some setting in indent/python.vim or syntax/python.vim that I could modify, but apparently there isn't... :-/ T 2010/11/8 AK andrei@gmail.com: This only happens when you haven't typed anything on the line yet, so you can work

Re: Python comments

2010-11-09 Thread AK
On 11/09/2010 09:28 AM, Ben Fritz wrote: On Nov 8, 3:34 pm, AKandrei@gmail.com wrote: On 11/08/2010 02:40 PM, Tuomas Pellonper wrote: Hello! When I am editing python code and I start inserting a comment by typing '#', vim shifts this character to the first column of the line. What

Re: no echo output in command line

2010-11-09 Thread ZyX
Reply to message «Re: no echo output in command line», sent 10:36:13 09 November 2010, Tuesday by rameo: As you've indicated, I removed the silent! flag, removed the exe before setlocal..., changed exe matchadd to call matchadd. Still no echo output. Changed it to echomsg, but still no

Re: no echo output in command line

2010-11-09 Thread ZyX
Reply to message «Re: no echo output in command line», sent 17:07:01 09 November 2010, Tuesday by rameo: Why can't I keep the utf8 settings of a file? You can save encoding settings with a script, but before writing it try moving `latin1' before `default' in `fileencodings' option: set

Re: moving icons

2010-11-09 Thread lessthanideal
On Nov 5, 10:39 am, keith.bri...@bt.com wrote: The printer icon in the toolbar is right next to the save button and I often print by mistake when trying to save. Since printing is one of the least-used functions it would be good to have it on the right-hand edge. Is there a way to move

Re: Building gvim

2010-11-09 Thread Benjamin R. Haskell
On Mon, 8 Nov 2010, John Little wrote: I asked: Anyone know the yum (or whatever) equivalent for Red Hat derived distros? And Tony commented: I'm using openSUSE which, though being RedHat-derived, has its own package-management software, with a choice of two programs: - yast ... - zypper

Re: no echo output in command line

2010-11-09 Thread rameo
Hi, Thank you for both replies. On Nov 9, 5:51 pm, ZyX zyx@gmail.com wrote: Reply to message «Re: no echo output in command line», sent 10:36:13 09 November 2010, Tuesday by rameo: As you've indicated, I removed the silent! flag, removed the exe before setlocal..., changed exe

Now, that was funny...

2010-11-09 Thread aleCodd
:nunmap can also be used outside of a monastery. (map.txt) -- View this message in context: http://vim.1045645.n5.nabble.com/Now-that-was-funny-tp3257413p3257413.html Sent from the Vim - General mailing list archive at Nabble.com. -- You received this message from the vim_use

Re: Now, that was funny...

2010-11-09 Thread Tim Chase
On 11/09/10 12:24, aleCodd wrote: :nunmap can also be used outside of a monastery. (map.txt) Indeed :) (though IMHO, this should be outside of a convent) http://vim.wikia.com/wiki/Best_Vim_Tips#Easter_eggs -tim -- You received this message from the vim_use maillist. Do not

Re: matchit for oracle plsql

2010-11-09 Thread David Fishburn
On 11/9/2010 2:25 AM, talek wrote: Hi David, Can you try this version of the plugin. I have troubles locating this version of the plugin. From where I am supposed to get this new version? From the attachment I forgot to attach :-) Dave -- You received this message from the vim_use

Re: matchit for oracle plsql

2010-11-09 Thread talek
I've just tested this new version and I'm quite pleased about this new functionality. I noticed though that for indented loops (while, for, loop) matchit behaves differently than for if/end if or begin/end blocks. Whiles for if/end if the cursor is always put at the beginning of the if keyword,

Re: no echo output in command line

2010-11-09 Thread ZyX
Reply to message «Re: no echo output in command line», sent 20:33:36 09 November 2010, Tuesday by rameo: No, nothing about this in :messages. I run this script in menu.vim The script works fine, it colored all the non latin1 characters as I intended. I noted that the encoding lines

RE: Now, that was funny...

2010-11-09 Thread Martin Jernberg
thanks for the tip, me likes easter eggs :) Date: Tue, 9 Nov 2010 12:58:17 -0600 From: v...@tim.thechases.com To: vim_use@googlegroups.com CC: 33faceb...@gmail.com; v...@vim.org Subject: Re: Now, that was funny... On 11/09/10 12:24, aleCodd wrote: :nunmap can also be used outside of a

vim automount issue

2010-11-09 Thread Jim Green
Hi, Vimmers! I have vim configured to use grep and open quick fix window, now sth annoying is the files are stored on some automount storage and the path shown in the quick fix window looks ugly long and distracting, also when I do :pwd in vim, it shows the automount directory rather than the

clear buffer content via py3

2010-11-09 Thread winterTTr
I recently use py3 in vim and try to accomplish some function. I remember that in py( which means python2 ), we can clear the current buffer by : :py vim.current.buffer[:] = [] OR: :py del vim.current.buffer[:] But in py3 now, the former code return a error message, and i can't find other way to

Re: Building gvim

2010-11-09 Thread Tony Mechelynck
On 09/11/10 18:30, Benjamin R. Haskell wrote: On Mon, 8 Nov 2010, John Little wrote: I asked: Anyone know the yum (or whatever) equivalent for Red Hat derived distros? And Tony commented: I'm using openSUSE which, though being RedHat-derived, has its own package-management software, with