Re: Calling silent expand abbrev

2007-06-03 Thread Yegappan Lakshmanan
Hi, On 6/1/07, Serhiy Boiko [EMAIL PROTECTED] wrote: Hi, all. In insert mode command C-] expand abbreviation. How to call this command in function? I try this way: execute normal i\C-] but it simply put ^] in text. To expand an abbreviation from a function, you can try using the following

Re: Remove the backup function ?

2007-06-02 Thread Yegappan Lakshmanan
Hi, On 6/2/07, Tintin72 [EMAIL PROTECTED] wrote: Hi, I'm using Vim 7 (under Win XP) and I'd like to remove the backup function. By default, Vim doesn't create backup files. In your setup backup is enabled, because you may be using the vimrc_example file or a system-wide vimrc file that

Re: good keys for mappings

2007-06-02 Thread Yegappan Lakshmanan
Hi, On 5/31/07, Arn [EMAIL PROTECTED] wrote: Hi, Any suggestions on keys/key combos that are good candidates for custom mappings etc? Maybe a dumb question but I hate having to unlearn something, I'd like to create a fair number of mappings that use a consistent convention and won't conflict

Re: VimWiki - First Beta

2007-05-29 Thread Yegappan Lakshmanan
Hi Sebastian, On 5/29/07, Sebastian Menge [EMAIL PROTECTED] wrote: Hi all Access the first beta here: http://tinyurl.com/34kfj5 I did a lot of experiments over the weekend. I mostly used a local mediawiki-installation and even from localhost to localhost a full import takes about an hour. Im

ANN: New version (4.4) of the taglist plugin

2007-05-27 Thread Yegappan Lakshmanan
Hi all, A new version (4.4) of the taglist plugin is available now. You can download this version from: http://vim.sourceforge.net/scripts/script.php?script_id=273 The taglist plugin is a source code browser plugin for Vim. For more information about this plugin, visit

spam in the Vim scripts section

2007-05-26 Thread Yegappan Lakshmanan
Hi all, The following spam html file has been recently uploaded to the Vim online scripts section: http://vim.sourceforge.net/scripts/script.php?script_id=1907 Can someone with admin privileges remove this? - Yegappan

Re: ctrl-] jump to files that already opened in another tabpage

2007-05-24 Thread Yegappan Lakshmanan
Hi, On 5/24/07, Franklin [EMAIL PROTECTED] wrote: Hi list, I have a question (or request?). I'm using tab pages opening all the files in my project. I also have a tags file for C program symbols. If I use ctrl-] to jump to a symbol definition that is in another file, which was already

Re: undo replace in multiple files

2007-05-23 Thread Yegappan Lakshmanan
Hi, On 5/23/07, Michael Henry [EMAIL PROTECTED] wrote: Tim Chase wrote: I think given those conditions (autowrite and nohidden), there seems to be no such way from my experimenting. However, if you switch to using hidden instead of nohidden, you can do :argdo u which will undo the

Re: Appending to Paste (*) Register

2007-05-15 Thread Yegappan Lakshmanan
Hi, On 5/14/07, zzapper [EMAIL PROTECTED] wrote: Hi I believe that the problem of Appending to Paste (*) Register was one of the points Bram was looking at (problem is no uppercase for a symbol) Was there/will there be any progress? Here's a hack I use let @w=:redir @*^M:g//^M:redir END

Re: taglist plugin launch ctags fail in gvim windows.

2007-05-14 Thread Yegappan Lakshmanan
Hi, On 5/13/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: A.J.Mechelynck [EMAIL PROTECTED] 写于 2007-05-14 13:21:47: If your shell is cmd.exe, /usr/bin/ctags will give Unknown command or file name. If you want to mix Dos shells and cygwin utilities, you will have to juggle with the

Re: map CR Nop gives me headache!

2007-05-14 Thread Yegappan Lakshmanan
Hi, On 5/14/07, Alberto Miorin [EMAIL PROTECTED] wrote: I hate the CR, because when i hit it for mistake, it moves the cursor. So I disable it with: nmap CR Nop nmap C-CR Nop I was happy, when I discovered that cmd-window needed the CR mapped. So I fixed it with: au

Re: [PATCH] new ex command :lscscope

2007-04-29 Thread Yegappan Lakshmanan
Hi, On 4/28/07, Navdeep Parhar [EMAIL PROTECTED] wrote: Hello, Currently :cscope has a variant :lcscope that allows the use of the location list instead of the quickfix list. However, :scscope has no equivalent that uses the location list. Please note that :scs splits

Re: [PATCH] new ex command :lscscope

2007-04-27 Thread Yegappan Lakshmanan
Hi Gary, On 4/27/07, Gary Johnson [EMAIL PROTECTED] wrote: On 2007-04-27, Gary Johnson [EMAIL PROTECTED] wrote: On 2007-04-26, Navdeep Parhar [EMAIL PROTECTED] wrote: Hello, Currently :cscope has a variant :lcscope that allows the use of the location list instead of the quickfix list.

Re: Changing directory on start-up

2007-04-27 Thread Yegappan Lakshmanan
Hi, On 4/23/07, Tim Chase [EMAIL PROTECTED] wrote: cd's to the directory that contains the file I'm editing. Does anyone know what's causing that or how I can turn if off? In more detail, what happens is this. I type something like: vi /some/other/dir/filename at the command line,

Re: button t useless?

2007-04-26 Thread Yegappan Lakshmanan
Hi, On 4/26/07, zzapper [EMAIL PROTECTED] wrote: zzapper [EMAIL PROTECTED] wrote in news:[EMAIL PROTECTED]: alebo [EMAIL PROTECTED] wrote in news:[EMAIL PROTECTED]: In fact VIM has many features that appear redundant but then one day (perhaps after many years) you realise their utility.

Re: problems compiling on solaris

2007-03-11 Thread Yegappan Lakshmanan
Hi all, On 3/7/07, Paul Stuart [EMAIL PROTECTED] wrote: Hi there, I'm having some problems compiling vim 7 on solaris 8, and I'd really appreciate it if someone could point me in the right direction. Here is the error I'm getting : make[1]: Entering directory

Re: Using right ctags file depending where Vim is started from - how?

2007-03-07 Thread Yegappan Lakshmanan
Hi, On 3/7/07, Zarko Coklin [EMAIL PROTECTED] wrote: Thanks to all who responded promptly. Special thanks to Michael Wookey. His solution is the most elegant one. It is based on upward search (which I did not know about). Therefore, setting following in .vimrc really did trick for me: Make

Re: [!] missing from :cb and related commands?

2007-03-06 Thread Yegappan Lakshmanan
Hi Gary, On 3/6/07, Gary Johnson [EMAIL PROTECTED] wrote: If I open a new window, read into it the results of a grep command, e.g., :r !grep -nH somepattern somefileset and then try to use that buffer as a quickfix list or location list with either the :cb or :lb commands, respectively, I

ANN: New version (4.3) of the taglist plugin

2007-02-25 Thread Yegappan Lakshmanan
Hi all, A new version (4.3) of the taglist plugin is available now. You can download this version from: http://vim.sourceforge.net/scripts/script.php?script_id=273 The taglist plugin is a source code browser plugin for Vim. For more information about this plugin, visit

Re: Marking an undo-block before ^U in insert-mode

2007-02-23 Thread Yegappan Lakshmanan
Hi, On 2/23/07, Andy Wokula [EMAIL PROTECTED] wrote: In my vimrc I have (for gVim 6.4, gVim 7.0) :imap cr crc-gu Each u goes back one line of text in the undo history. Note the imap instead of inoremap. This way abbreviations still work. Does it say in the help that if a key is mapped

Re: repetition of a map

2007-02-21 Thread Yegappan Lakshmanan
Hello, On 2/21/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Can someone assist with the following: How do I get a map to repeat a certain number of times? e.g., given a simple map like: :map = 0Ea ;^[j I'd like to be able to do something along the lines of 95. to get the map to repeat

Re: Marking an undo-block before ^U in insert-mode

2007-02-21 Thread Yegappan Lakshmanan
Hi, On 2/20/07, A.J.Mechelynck [EMAIL PROTECTED] wrote: Tim Chase wrote: :help nop but rather is being interpreted as less-than, en, oh, pee, greater-than and the en portion of it is trying to look for the last regexp. Try (untested): :inoremap c-u c-oltNopc-u This is the

Re: Quickfix window not working anymore

2007-02-19 Thread Yegappan Lakshmanan
Hi, On 2/19/07, Bill McCarthy [EMAIL PROTECTED] wrote: On Mon 19-Feb-07 7:21am -0600, A.J.Mechelynck wrote: Works for me. For me too. BTW, Tony, I've never used :copen before - I use :cw . There look the same but the documentation doesn't seem to indicate that they are the same. What's

Re: Omni Confusion

2007-02-18 Thread Yegappan Lakshmanan
Hi, On 2/18/07, Bill McCarthy [EMAIL PROTECTED] wrote: Hello Vim List, Writing in C, I have a function that looks like this: void myfunc( A *a, B *b, C *c ) { /* stuff */ } A, B and C are structures in a header file which is included. The included header file contains the structures

Re: Is _every_ command starting with a colon an ex command?

2007-02-17 Thread Yegappan Lakshmanan
Hi, On 2/17/07, A.J.Mechelynck [EMAIL PROTECTED] wrote: Larry Alkoff wrote: Tim Chase wrote: I know every ex command starts with a colon. Is the reverse true in every case? Is _every_ command that starts with a colon an ex command? Pretty much any command you can use in ex mode, one can

Re: Workspace concept ala TextPad

2007-02-15 Thread Yegappan Lakshmanan
Hi Eric, On 2/14/07, Eric Leenman [EMAIL PROTECTED] wrote: Hi Yeggapan, [...] You can try using the workspace manager plugin: http://vim.sourceforge.net/scripts/script.php?script_id=1410 [...] I got it so far working. One question. When I give the command af(AddFile) in the filebuffer, the

Problem with the expand() function

2007-02-14 Thread Yegappan Lakshmanan
Hi all, I am seeing a problem using the expand() function and the netrw plugin. I have the following autocmd: autocmd BufEnter * echomsg Entering buffer . expand(afile:p) I edit the current directory using the e . command and select a file for editing and then go back to editing the

Re: re-map up and down key behaviour

2007-02-10 Thread Yegappan Lakshmanan
Hi Eric, On 2/10/07, Eric Leenman [EMAIL PROTECTED] wrote: Hi, Is it possible to remap the up and down key to behave a bit different. For example I have text like below : b123 : d456 : g789 And then I want everything after the : starting with xx_ When I then move the b,

Re: Workspace concept ala TextPad

2007-02-06 Thread Yegappan Lakshmanan
Hi Eric, On 2/6/07, Eric Leenman [EMAIL PROTECTED] wrote: Hi, Is it possible to load a set of files when you start gvim? (Like in Textpad, for those who know this editor) For example: I have a project containing 20 files. I frequently uses 5 of them to modify and debug them. Can you give a

Re: open multiple files with wildcard from inside vim

2007-02-05 Thread Yegappan Lakshmanan
Hi, On 2/5/07, ben lieb [EMAIL PROTECTED] wrote: Cameron Simpson wrote: On 05Feb2007 01:44, ben lieb [EMAIL PROTECTED] wrote: | Have you tried: |:n path/file* [...] | That's better than where I was, thanks. Ideally the files would all be | visible, either split on the screen, or in

Re: Go to start of visual selection

2007-02-01 Thread Yegappan Lakshmanan
Hi Bill, On 2/1/07, Bill McCarthy [EMAIL PROTECTED] wrote: On Thu 1-Feb-07 11:51am -0600, Tim Chase wrote: vnoremap gt esc`:exec 'norm '.visualmode().'`lt'cr vnoremap gb esc`lt:exec 'norm '.visualmode().'`'cr Why do you use `lt instead of just ` ? Just a matter of preference? The

Re: vim turns xterm blinking cursor off

2007-01-21 Thread Yegappan Lakshmanan
Hi, On 1/15/07, Craig Westwood [EMAIL PROTECTED] wrote: Hello, Before a vim session, my xterm prompt cursor blinks nicely :), as noted via the vt100 menu (ctrl-middleMouse-Enable Blinking Cursor) - checked. As soon as vim in an xterm starts, the blinking stops. After exiting the edit

Re: How to list occurrences of a pattern in a *buffer*?

2007-01-10 Thread Yegappan Lakshmanan
Hi, On 1/10/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Assume I have an unnamed buffer which hasn't been saved to the disk. Can I list all occurrences in that buffer of a pattern in the QuickFix window, and navigate with double-clicking mouse-1 or :.cc? No. This is currently not

Re: Reformat in visual area - vmap question

2007-01-09 Thread Yegappan Lakshmanan
Hi, On 1/9/07, John Cordes [EMAIL PROTECTED] wrote: I have *very* little experience writing 'map' commands for my .vimrc (Linux). For some years I've had the following two commands for reformatting with the par utility. .. I never encountered leader before; I have just read :h on Leader

Re: multi-mark

2006-12-21 Thread Yegappan Lakshmanan
Hi, On 12/21/06, Alan G Isaac [EMAIL PROTECTED] wrote: On Thu, 21 Dec 2006, Yakov Lerner apparently wrote: I am looking for the multi-marks plugin. I want to mark multilpe lines (not with 'a,'b,'c, but with some kind of mark that can mark multiple lines), then cycle through the marked

Re: Re[2]: multi-mark

2006-12-21 Thread Yegappan Lakshmanan
Hi, On 12/21/06, Alan G Isaac [EMAIL PROTECTED] wrote: On Thu, 21 Dec 2006, Yegappan Lakshmanan apparently wrote: You can use the Vim7 location list feature to implement the anonymous marks support. I do not think that is right, but perhaps I do not understand location lists correctly. My

Re: auto complete function of the tab does not work

2006-12-14 Thread Yegappan Lakshmanan
On 12/13/06, A.J.Mechelynck [EMAIL PROTECTED] wrote: To see if Vim finds your vimrc, look at the top of the output of the :scriptnames command. To see _where_ it looks for a vimrc, use (on [g]vim for Windows) :echo $HOME :echo $VIM In Vim7, Vim sets the MYVIMRC

Re: Making C-] do something different

2006-12-14 Thread Yegappan Lakshmanan
Hi, On 12/13/06, Chuck Mason [EMAIL PROTECTED] wrote: In source code, C-] follows a tags file. In :help it follows links (Maybe there's a helptags file?). But I've created a new temp buffer from some vim code and I want C-] to do something different for only this buffer. For instance I have

Re: search within buffers

2006-12-08 Thread Yegappan Lakshmanan
Hi, On 12/8/06, Ben K. [EMAIL PROTECTED] wrote: Hi, Is there a way to do grep only within the open files (buffers)? I did :he grep and bufdo but it didn't seem to give me the option. You can try using the grep.vim plugin. You can download this plugin from:

Re: Do a grep -r without match .svn directory ?

2006-12-04 Thread Yegappan Lakshmanan
Hi, On 12/4/06, KLEIN Stéphane [EMAIL PROTECTED] wrote: Hi, In vim, I would like do a :grep -r but don't match .svn directory. Grep or vim have this feature ? If you use the grep.vim plugin, then you can set the Grep_Skip_Dirs variable to skip the .svn directory. You can get this plugin

Re: timeout, ttimeout, timeoutlen, ttimeoutlen

2006-12-03 Thread Yegappan Lakshmanan
Hi. On 12/3/06, Bob Rossi [EMAIL PROTECTED] wrote: On Sun, Dec 03, 2006 at 12:06:03PM +0100, A.J.Mechelynck wrote: Bob Rossi wrote: Hi, I'm using vim, and I have the default timeout, ttimeout, timeoutlen, ttimeoutlen options set. That is, timeout is on, ttimeout is off. The manual says:

Re: timeout, ttimeout, timeoutlen, ttimeoutlen

2006-12-03 Thread Yegappan Lakshmanan
Hi, On 12/3/06, Bob Rossi [EMAIL PROTECTED] wrote: Hi, I'm using vim, and I have the default timeout, ttimeout, timeoutlen, ttimeoutlen options set. That is, timeout is on, ttimeout is off. The manual says: 'timeout''ttimeout' action on on or off

Re: Using Tags In A Markdown Doc

2006-12-02 Thread Yegappan Lakshmanan
Hi, On 12/2/06, Tom Purl [EMAIL PROTECTED] wrote: I use the potwiki plugin to document all types of things, and often some of the files can get pretty large. I use the Markdown markup language to author my potwiki pages, and organize the larger ones with headings and sub-headings and such. I

Re: question on gf and path

2006-12-01 Thread Yegappan Lakshmanan
Hi, On 12/1/06, Ben K. [EMAIL PROTECTED] wrote: Is there a way to make gf open some.file from this line? Include(/includes/some.file); where the file is actually sitting under web server root, like /var/www/html/includes/some.file I tried adding /var/www/html to the :set

Re: Anyway to reduce the spaces in TagList Window for Taglist plugin?

2006-11-30 Thread Yegappan Lakshmanan
Hi, On 11/30/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I'd been used the taglist plugin for times but found it useful. The issue is it is too agressive on screen space. There are 4 spaces before all identifiers and 2 spaces before each group name. Normally I'll set the font size so

Re: How can I disable variable show in taglist plugin ?

2006-11-29 Thread Yegappan Lakshmanan
Hi, On 11/29/06, KLEIN Stéphane [EMAIL PROTECTED] wrote: Hi, When I code my php script I use Taglist plugin. Taglist is very useful but I want only see the functions. I don't want see the variables. Taglist has this feature ? If yes, how can I enable it ? Add the following line to your

Tutorial on mapping keys in Vim

2006-11-29 Thread Yegappan Lakshmanan
Hi all, I have created a tutorial on mapping keys in Vim. http://www.geocities.com/yegappan/vim_maps_tutorial.txt This tutorial describes mode specific maps, key notations, tips about maps in various modes, etc. Let me know if you have any comments or suggestions on improving this tutorial.

Re: VIM window restores incorrectly

2006-11-26 Thread Yegappan Lakshmanan
Hi Liu, On 11/23/06, Liu Yubao [EMAIL PROTECTED] wrote: Bram Moolenaar wrote: Yegappan Lakshmanan wrote: On 11/22/06, Bram Moolenaar [EMAIL PROTECTED] wrote: It does happen for me: gvim somefile maximize gvim window minimize gvim window gvim --remote-tab

Re: Calendar ?

2006-11-26 Thread Yegappan Lakshmanan
Hi Bill, On 11/26/06, Bill McCarthy [EMAIL PROTECTED] wrote: On Sun 26-Nov-06 8:55pm -0600, Yegappan Lakshmanan wrote: On 11/24/06, Bill McCarthy [EMAIL PROTECTED] wrote: From calendar.vim (which is in my AsNeeded directory): - snip

Re: VIM window restores incorrectly

2006-11-22 Thread Yegappan Lakshmanan
Hi Bram, On 11/22/06, Bram Moolenaar [EMAIL PROTECTED] wrote: VIM 7.0, MS-Windows 32 bit GUI version with OLE support Included patches: 1-162 run gvim a.txt; maximize the VIM window, then minimize it to task bar; run gvim --remote-tab b.txt; VIM window is

Re: VIM window restores incorrectly

2006-11-22 Thread Yegappan Lakshmanan
Hi Bram, On 11/22/06, Bram Moolenaar [EMAIL PROTECTED] wrote: VIM 7.0, MS-Windows 32 bit GUI version with OLE support Included patches: 1-162 run gvim a.txt; maximize the VIM window, then minimize it to task bar; run gvim --remote-tab b.txt; VIM window is brought to

ANN: Vim Taglist plugin home page moved to sourceforge

2006-11-13 Thread Yegappan Lakshmanan
Hi all, I have registered the Vim taglist plugin as a sourceforge project. The home page for the taglist plugin is now at: http://vim-taglist.sourceforge.net/ The sourceforge project page is at: http://sourceforge.net/projects/vim-taglist - Yegappan

Re: vim has quit unexpectedly

2006-11-11 Thread Yegappan Lakshmanan
Hi, On 11/11/06, Marc Weber [EMAIL PROTECTED] wrote: On Sat, Nov 11, 2006 at 04:27:50PM +0100, A.J.Mechelynck wrote: Marc Weber wrote: How would you try to track this error down? Causing vimscript code: echo tag_text is echo tag_text echo if echo len(tag_text)

Re: Creating a custom browser window.

2006-11-08 Thread Yegappan Lakshmanan
Hello, On 11/7/06, Alan Young [EMAIL PROTECTED] wrote: Please forgive me if I use the incorrect terms ... I've been using vim for years, but am just now getting into more than just the editing part. I am writing a vim plugin using perl's Net::Blogger so I can make my blogs entries from vim.

Re: Creating a custom browser window.

2006-11-08 Thread Yegappan Lakshmanan
Hi, On 11/8/06, Alan Young [EMAIL PROTECTED] wrote: Yegappan Lakshmanan wrote: You can use the tree control plugin to implement the above. Thank you. I will take a look. If you need a sample code that uses the tree control, you can use the attached file explorer plugin. Place this file

Re: Creating a custom browser window.

2006-11-08 Thread Yegappan Lakshmanan
Hi Alan, On 11/8/06, Alan Young [EMAIL PROTECTED] wrote: Yegappan Lakshmanan wrote: If you need a sample code that uses the tree control, you can use the attached file explorer plugin. Place this file in the ~/.vim/plugin directory. To open the file explorer, use the following command

Re: Creating a custom browser window.

2006-11-08 Thread Yegappan Lakshmanan
Hi Alan, On 11/8/06, Alan Young [EMAIL PROTECTED] wrote: A.J.Mechelynck wrote: Did you restart Vim after you put it in ~/.vim/plugin (for Unix) or I figured out my problem ... I've only got up to patch 110 installed. I'll have to recompile and try again. You need Vim 7.0.135 and above to

Re: Getting out of netrw

2006-11-04 Thread Yegappan Lakshmanan
Hi, On 11/3/06, Jean-Rene David [EMAIL PROTECTED] wrote: Say I open vim7's new super duper file explorer netrw to browse some local directory. Say then I decide I don't want to open any new file and just want to go back to what I was doing. What would be the standard way to do that? I can use

Re: execute command without adding it to command history

2006-11-03 Thread Yegappan Lakshmanan
Hi Yakov, On 11/3/06, Yakov Lerner [EMAIL PROTECTED] wrote: How do I execute command without adding it to command history ? (I need it for the command on the rhs of the mappnig) You can try using call histdel('cmd', -1) after executing a command from your map. - Yegappan

Re: projects manager/explorer

2006-11-02 Thread Yegappan Lakshmanan
Hi, On 11/2/06, victor NOAGBODJI [EMAIL PROTECTED] wrote: Hi, Just looking for something like that in gvim. Do you know something like that? You can use one of the following Vim plugins for managing projects and workspaces: http://vim.sourceforge.net/scripts/script.php?script_id=1410

Re: How do I implement boilerplate text?

2006-11-02 Thread Yegappan Lakshmanan
On 11/2/06, Bill McCarthy [EMAIL PROTECTED] wrote: On Thu 2-Nov-06 4:11pm -0600, Richard Querin wrote: The abbreviation method seems the simplest for me at the moment, but I can't seem to figure out how to make a multiline abbreviation in my .vimrc file. I've tried using CR characters in

Re: active links for opening files

2006-11-01 Thread Yegappan Lakshmanan
Hello, On 11/1/06, Michael M. Tung [EMAIL PROTECTED] wrote: Yakov Lerner [EMAIL PROTECTED] wrote: On 10/30/06, Michael M. Tung [EMAIL PROTECTED] wrote: Hi all: I am working on a simple plugin and want to make vim open a file which appears in text e.g. as [/tmp/test.txt]

Re: Jump to next unmatched square brackets?

2006-10-31 Thread Yegappan Lakshmanan
Hi Tim, On 10/31/06, Tim Chase [EMAIL PROTECTED] wrote: I occasionally use the ]) ]} [{ [( family of commands to jump to the associated unmatched paren/brace. However, I haven't found any such functionality for square brackets. Have I just overlooked

Re: Jump to next unmatched square brackets?

2006-10-31 Thread Yegappan Lakshmanan
On 10/31/06, Yegappan Lakshmanan [EMAIL PROTECTED] wrote: Hi Tim, On 10/31/06, Tim Chase [EMAIL PROTECTED] wrote: I occasionally use the ]) ]} [{ [( family of commands to jump to the associated unmatched paren/brace. However, I haven't found any

Re: Need Help with Change Last, First to First Last

2006-10-29 Thread Yegappan Lakshmanan
Hi, On 10/29/06, Mike Blonder [EMAIL PROTECTED] wrote: Hi. I want to reorder variable2 and variable3 from the following line structure for 44 lines in a datafile, the data field separator is a (( character variable1 data((variable2 data((variable3 data((variable4 data ((variable5

Re: Need Help with Change Last, First to First Last

2006-10-29 Thread Yegappan Lakshmanan
Hello, On 10/29/06, Mike Blonder [EMAIL PROTECTED] wrote: Hi. I want to reorder variable2 and variable3 from the following line structure for 44 lines in a datafile, the data field separator is a (( character variable1 data((variable2 data((variable3 data((variable4 data ((variable5

Re: Select just-pasted text

2006-10-28 Thread Yegappan Lakshmanan
Hello, On 10/28/06, Jimmy Mack [EMAIL PROTECTED] wrote: I really like the gv command, which starts visual mode and automatically selects the previous selection, regardless of where the cursor happens to be. I would like to see a similar command that starts visual mode and selects the block of

Re: BUG that will cause loss of edited text

2006-10-26 Thread Yegappan Lakshmanan
Hi, On 10/26/06, Yongwei Wu [EMAIL PROTECTED] wrote: Hi Bram and maintainers, I encountered this bug when editing files: 1) Open a file, change something. The file is marked as modifed. 2) Use Ctrl-W,Ctrl-] to go to the definition of any symbol in a new window. The newly opened file is

Re: chasing symlink

2006-10-26 Thread Yegappan Lakshmanan
Hi Yakov, On 10/20/06, Yakov Lerner [EMAIL PROTECTED] wrote: Let's say I edit file x (vim x) which is a symlink, x-y. (Linux). How can I make a script that opens y instead of x in the buffer (chases the symlinks and opens it) You can try using the resolve() Vim function to resolve the

Re: has('unix')

2006-10-26 Thread Yegappan Lakshmanan
Hi Martin, On 10/25/06, Martin Krischik [EMAIL PROTECTED] wrote: Am Mittwoch, 25. Oktober 2006 18:12 schrieb Tim Chase: for my font plug in I need to know which OS I am running on to choose an appropriate font. Now when Sun Solaris where added to the list of OS I use I run into a little

Re: missing setbufline()?

2006-10-23 Thread Yegappan Lakshmanan
Hi Bram, On 10/23/06, Bram Moolenaar [EMAIL PROTECTED] wrote: Yegappan Lakshmanan wrote: On 10/22/06, Hari Krishna Dara [EMAIL PROTECTED] wrote: On 10/22/06, Hari Krishna Dara [EMAIL PROTECTED] wrote: I see functions for creating new unlisted buffers (bufnr() with {create

Calling a non-existing dictionary function doesn't result in an error

2006-10-23 Thread Yegappan Lakshmanan
Hi all, When a non-existing dictionary function is invoked using the :call command, there is no error. But when it is used in an expression, an error message is displayed. Is this the expected behavior? let a = {} call a.xyz() The :call command silently returns without any errors. But the

Re: missing setbufline()?

2006-10-23 Thread Yegappan Lakshmanan
Hi Hari, On 10/22/06, Yegappan Lakshmanan [EMAIL PROTECTED] wrote: Hi Hari, On 10/22/06, Hari Krishna Dara [EMAIL PROTECTED] wrote: On 10/22/06, Hari Krishna Dara [EMAIL PROTECTED] wrote: I see functions for creating new unlisted buffers (bufnr() with {create} option

Re: Adding (put) more than a single line

2006-10-22 Thread Yegappan Lakshmanan
Hi, On 10/22/06, Meino Christian Cramer [EMAIL PROTECTED] wrote: By the way: Is there a way to puts more than a single line? Something like an HERE-doc? :h permutations of 'here-doc' gives me nothing... You can use any one of the following methods to add/put more than a single line:

Re: missing setbufline()?

2006-10-22 Thread Yegappan Lakshmanan
Hi Hari, On 10/22/06, Hari Krishna Dara [EMAIL PROTECTED] wrote: I see functions for creating new unlisted buffers (bufnr() with {create} option), and for reading the lines from the buffer using getbufline(), all without having to change the current buffer, but I don't see a setbufline() so

Re: missing setbufline()?

2006-10-22 Thread Yegappan Lakshmanan
Hi Hari, On 10/22/06, Hari Krishna Dara [EMAIL PROTECTED] wrote: On 10/22/06, Hari Krishna Dara [EMAIL PROTECTED] wrote: I see functions for creating new unlisted buffers (bufnr() with {create} option), and for reading the lines from the buffer using getbufline(), all without having to

Re: Quickfix behaviour

2006-10-20 Thread Yegappan Lakshmanan
Hi, On 10/19/06, Yegappan Lakshmanan [EMAIL PROTECTED] wrote: Hi, On 10/19/06, Marius Roets [EMAIL PROTECTED] wrote: On 10/19/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: 1) I would like to open a new window/tab, rather than use the one above the quickfix window. :h 'switchbuf

Re: Quickfix behaviour

2006-10-19 Thread Yegappan Lakshmanan
Hi, On 10/19/06, Marius Roets [EMAIL PROTECTED] wrote: On 10/19/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: 1) I would like to open a new window/tab, rather than use the one above the quickfix window. :h 'switchbuf' - split 2) If the buffer is already open in another tab page, I'd

Re: locked window

2006-10-19 Thread Yegappan Lakshmanan
Hi, On 10/19/06, Kim Schulz [EMAIL PROTECTED] wrote: On Thu, 19 Oct 2006 15:18:12 +0200 A.J.Mechelynck [EMAIL PROTECTED] wrote: [snip] Instead of calling the program vim, call it rview. Then you won't be able to write anything, nor to use a shell command. Is that safe enough? Maybe :help

Re: change counter ? -- test that buffer did not change between two calls

2006-10-19 Thread Yegappan Lakshmanan
Hi Yakov, On 10/19/06, Yakov Lerner [EMAIL PROTECTED] wrote: I'd like to cache some information about file, into b:variables, and be able to check in my function, whether buffer changed in any way between 2 calls to the function. Is there any change counter that I can store and compare later to

Re: locked window

2006-10-18 Thread Yegappan Lakshmanan
Hello, On 10/18/06, Kim Schulz [EMAIL PROTECTED] wrote: Hi I was wondering if there is a way to lock a window such that the content can only be changed by scripting/commands. Like a preview window or somthing like that. is that possible to make in Vim or should I make a feature request to get

Re: VIM as C++ IDE

2006-10-18 Thread Yegappan Lakshmanan
Hi, On 10/18/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Peng Yu [EMAIL PROTECTED] 写于 2006-10-18 23:18:14: On 10/15/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: for that simple, don't need any plugin: map F12 ESC:wkEnter:makekEnter:copekEnter You see, just add the :cope will do

Re: Generic tree control plugin for Vim

2006-10-15 Thread Yegappan Lakshmanan
Hi all, On 10/14/06, Yegappan Lakshmanan [EMAIL PROTECTED] wrote: On 10/13/06, Yegappan Lakshmanan [EMAIL PROTECTED] wrote: Hi all, I have developed a generic Vim tree control (non-GUI) plugin. This The tree control plugin exposed a bug in the way Vim handles recursive references to List

Generic tree control plugin for Vim

2006-10-13 Thread Yegappan Lakshmanan
Hi all, I have developed a generic Vim tree control (non-GUI) plugin. This control can be used by other Vim plugins to display information in a tree control. The tree control is similar to the one used by the taglist plugin. The tree control will work only in Vim version 7.0 and above. The tree

Re: debugging numbered functions... a pain in the a**

2006-10-11 Thread Yegappan Lakshmanan
Hi Hari, On 10/11/06, Hari Krishna Dara [EMAIL PROTECTED] wrote: I have observed this sometime back, but forgot to bring this up here (actually brought it up in another topic, but nobody was interested). I just got the below error: rror detected while processing function

Re: detecting whether the quickfix window is open

2006-10-06 Thread Yegappan Lakshmanan
Hi, On 10/6/06, Mike [EMAIL PROTECTED] wrote: On 10/6/06, Aaron Griffin [EMAIL PROTECTED] wrote: On 10/6/06, Mike [EMAIL PROTECTED] wrote: alternatively: is there a single command to toggle the quickfix window, rather than issuing :copen and :ccl? :help cwindow The problem with

Re: Autocommand-Event for Clipboard-Changed

2006-10-03 Thread Yegappan Lakshmanan
Hi Charles, On 10/3/06, Charles E Campbell Jr [EMAIL PROTECTED] wrote: Bram Moolenaar wrote: Suresh Govindachar wrote: Is it possible to add an autocommand-event for Clipboard Changed? Not really. This is not something that happens inside Vim. Polling for changes in the system is not

Re: Local scope ?

2006-10-03 Thread Yegappan Lakshmanan
Hi, On 10/3/06, Meino Christian Cramer [EMAIL PROTECTED] wrote: Hi, when writing a function in vim script sometimes it makes sense to change options of vim. Are these changes local to the function ? And if not: Can I simply assign the current value of the option to a variable, change the

Re: Questions regarding auto-guessing the encoding

2006-10-02 Thread Yegappan Lakshmanan
Hello, On 10/2/06, Yongwei Wu [EMAIL PROTECTED] wrote: * Is there a way to tell a user-defined command to have file name completion? Yes. You can use the -complete=file option when defining the command. For example, command -nargs=1 -complete=file EditFile edit args For additional

Re: scripting of listing commands

2006-09-30 Thread Yegappan Lakshmanan
Hi, On 9/30/06, Meino Christian Cramer [EMAIL PROTECTED] wrote: Hi, I want to write a little function in vim script to put all settings into a file. I want the output of :map :version :set (and more of this kind, if I will find them all...) to go into that file. From the

Re: The meaning of nothing... ?

2006-09-30 Thread Yegappan Lakshmanan
Hi, On 9/29/06, Meino Christian Cramer [EMAIL PROTECTED] wrote: I looked throught the term/terminfo/termcap/xterm/rxvt/* stuff and have more questions than answers now. Do you know a document or HowTo or something linke that which will give me more closer informations about the term*

Re: The meaning of nothing... ?

2006-09-30 Thread Yegappan Lakshmanan
On 9/30/06, Yegappan Lakshmanan [EMAIL PROTECTED] wrote: Hi, On 9/29/06, Meino Christian Cramer [EMAIL PROTECTED] wrote: I looked throught the term/terminfo/termcap/xterm/rxvt/* stuff and have more questions than answers now. Do you know a document or HowTo or something linke that which

Re: Single-File Vim?

2006-09-22 Thread Yegappan Lakshmanan
On 9/22/06, A.J.Mechelynck [EMAIL PROTECTED] wrote: trim For the sake of argument, glancing through your list again I find none of them to be essential. The only feature out of the list that I use most is the matchit, the rest, I don't either (regularly) use or need. Not even the help?

Re: What is the key nameing of...

2006-09-21 Thread Yegappan Lakshmanan
Hello, On 9/21/06, Meino Christian Cramer [EMAIL PROTECTED] wrote: From: A.J.Mechelynck [EMAIL PROTECTED] Subject: Re: What is the key nameing of... Date: Thu, 21 Sep 2006 18:02:19 +0200 Meino Christian Cramer wrote: Hi, I often have the problem to guess, how a certain keysequence is

Re: backreferences with expression-syntax?

2006-09-18 Thread Yegappan Lakshmanan
Hi, On 9/18/06, Yakov Lerner [EMAIL PROTECTED] wrote: On 9/19/06, Thomas Holder [EMAIL PROTECTED] wrote: Hi, when matching regular expressions with perl, backreferences will be stored in $1 to $9. Does vim do anything similar? I have a script with several lines like this if cline =~

Re: Any plugin for recent files?

2006-09-16 Thread Yegappan Lakshmanan
Hello, On 9/16/06, Preben Randhol [EMAIL PROTECTED] wrote: Hi On feature I miss in gvim is to be able to open recently edited files. I have tried the MRU plugins in vim.org, but they tend to break if I open more than one gvim open at the same time. Does anybody have sucess with these or other

Re: Perltidy,VIM for C/C++ visual block cleanup

2006-09-12 Thread Yegappan Lakshmanan
On 9/12/06, Chris Sutcliffe [EMAIL PROTECTED] wrote: On 9/12/06, Chris Sutcliffe [EMAIL PROTECTED] wrote: My Linux box indeed hasn't got cb, but it has got indent which is meant to beautify and reformat C code, e.g. by adding and removing spaces, tabs, linefeeds and blank lines, according

Re: Keeping tab indentation of blank lines

2006-09-11 Thread Yegappan Lakshmanan
Hello, On 9/9/06, Laurent Birtz [EMAIL PROTECTED] wrote: Hello, I need help to change the default behavior of the 'autoindent' option. The doc says: Copy indent from current line when starting a new line (typing CR in Insert mode or when using the o or O command). If you do not

Re: quick and dirty compile

2006-09-06 Thread Yegappan Lakshmanan
Hi, On 9/6/06, A.J.Mechelynck [EMAIL PROTECTED] wrote: Sibin P. Thomas wrote: Thank a lot to everyone! I added the following to my _vimrc file to get what I wanted nmap C-F9 :MakecompileCR nmap F5 :MakexecCR :!%.exeCR command Makecompile :se makeprg=gcc\ -o\ %.o\ % | :make! command

Re: C:\Temp permission issues with taglist

2006-09-06 Thread Yegappan Lakshmanan
Hi, On 9/6/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I'm using the taglist plugin and am running into the following issue: Error detected while processing function SNR16_Tlist_Window_Toggle..SNR16_TList_Window_Open..SNR ...[snip] line 57: E484: Can't open file C:/Temp/VIo10A9.tmp I've

  1   2   >