Re: Vim Windows Autocommand Filename = 8.3

2013-07-28 Thread sfx2k
Hey Ben, thanks for your reply. > Are you actually using the command-line with --remote-silent as you show, or > through a shortcut? If the latter, you can try the suggestion in :help > vim-default-editor. Yep, I am. But "%L" does not work either. But I found the reason; this little snippet i

Re: Gvim starting up in C:\temp??

2013-07-28 Thread Ben Fritz
On Thursday, July 25, 2013 2:48:20 PM UTC-5, Linda W wrote: > Ben Fritz wrote: > > > > I've never seen that problem, and I use shellslash in my config. > > > > Does it work with launching Vim as follows? > > > > > > > > gvim -N -u NONE -U NONE -i NONE --cmd "set shellslash" > > > fb17X/content

Re: perl-support equivalent for python

2013-07-28 Thread Ben Fritz
On Thursday, July 25, 2013 2:29:39 PM UTC-5, Jim Green wrote: > perl-support makes it so easy to write perl in vim. all the shortcuts, code > autogeneration. Is there a equivalent perl-support for python? > > Thanks! > Jim. I assume you mean this plugin (found with a Google search for "vim perl-

Re: Mapping Macro using smartindent

2013-07-28 Thread SVN77KMF
On Monday, July 29, 2013 3:45:56 AM UTC+2, Ben Fritz wrote: > On Sunday, July 28, 2013 9:09:42 AM UTC-5, Sven Kämpf wrote: > > > Hello, > > > > > > > > > > > > I try to speed up writing using mappings. > > > > > > Smartindent > > >

Re: Mapping Macro using smartindent

2013-07-28 Thread SVN77KMF
On Monday, July 29, 2013 3:45:56 AM UTC+2, Ben Fritz wrote: > On Sunday, July 28, 2013 9:09:42 AM UTC-5, Sven Kämpf wrote: > > > Hello, > > > > > > > > > > > > I try to speed up writing using mappings. > > > > > > Smartindent > > >

Re: Vim Windows Autocommand Filename = 8.3

2013-07-28 Thread Ben Fritz
On Saturday, July 27, 2013 6:19:25 PM UTC-5, sfx2k wrote: > I try to identify a file by its name. > > E.g. I have the following files: > > 2300039_2234552_779799_ABC.xml > 2234439_2456644_123423_XYZ.xml > and the following autocommand: > > autocmd BufRead,BufNewFile *.xml call CheckFileType() >

Re: Is it possible to redirect echo to either the Scratch buffer, or QuickFix?

2013-07-28 Thread Dahong Tang
On Sunday, July 28, 2013 8:44:01 PM UTC-5, Ben Fritz wrote: > On Sunday, July 28, 2013 1:31:32 PM UTC-5, Dahong Tang wrote: > > Hi, I have several vimscript string variables. One of them, x, has many > > lines. When I use the command :echo x, the screen is redrawn to make room > > for the echo ou

Re: Mapping Macro using smartindent

2013-07-28 Thread Ben Fritz
On Sunday, July 28, 2013 9:09:42 AM UTC-5, Sven Kämpf wrote: > Hello, > > > > I try to speed up writing using mappings. > > Smartindent > is on, but doesn't > work appropriatly. > > > >

Re: Is it possible to redirect echo to either the Scratch buffer, or QuickFix?

2013-07-28 Thread Ben Fritz
On Sunday, July 28, 2013 1:31:32 PM UTC-5, Dahong Tang wrote: > Hi, I have several vimscript string variables. One of them, x, has many > lines. When I use the command :echo x, the screen is redrawn to make room for > the echo output so that the top of the vim gets pushed out of the screen > (i.

Re: help for a command

2013-07-28 Thread Marcin Szamotulski
On 22:46 Sun 28 Jul , Sven Guckes wrote: > * Ajabu Tex [2013-07-28 22:30]: > > In an HTML file I want to solve the following task: > > for every and all the lines that end with '-' (without quotes) > > I want to delete the string '-' and > > join the line with the following one. > > :g:-$:s

Re: hide _viminfo

2013-07-28 Thread Ben Fritz
On Monday, July 22, 2013 9:16:11 AM UTC-5, jun wang wrote: > Hi: > > Vim7.4beta always set _viminfo as > hidden.  Can > change this behavior? I don't see anything about that in ftp://ftp.vim.org/pub/vim/patches/7.3/README and I've never noticed this behavior before. In fact, I wrote a plugin t

Re: Bug in opening partial path on windows (using '/' instead of '\'

2013-07-28 Thread Ben Fritz
On Sunday, July 21, 2013 12:25:05 PM UTC-5, Linda W wrote: > Ben Fritz wrote: > > > I've never seen that problem, and I use shellslash in my config. > > > Does it work with launching Vim as follows? > > > > > > gvim -N -u NONE -U NONE -i NONE --cmd "set shellslash" > > fb17X/content/firebug/ch

Re: help for a command

2013-07-28 Thread Sven Guckes
* Ajabu Tex [2013-07-28 22:30]: > In an HTML file I want to solve the following task: > for every and all the lines that end with '-' (without quotes) > I want to delete the string '-' and > join the line with the following one. :g:-$:s:-$::|normal gJ the :global command basically tags all lin

help for a command

2013-07-28 Thread Ajabu Tex
Hallo. In an HTML file I want to solve the following task: for every and all the lines that end with '-' (without quotes) I want to delete the string '-' and join the line with the following one. As an example: the file: just some li- nes to show the pro- blem I want to sol-

quickfix hidden marks

2013-07-28 Thread richard emberson
In the quickfix documentation there is the following: If you insert or delete lines, mostly the correct error location is still found because hidden marks are used. Sometimes, when the mark has been deleted for some reason, the message "line changed" is shown to warn you that the error locatio

Is it possible to redirect echo to either the Scratch buffer, or QuickFix?

2013-07-28 Thread Dahong Tang
Hi, I have several vimscript string variables. One of them, x, has many lines. When I use the command :echo x, the screen is redrawn to make room for the echo output so that the top of the vim gets pushed out of the screen (i.e., cutoff), and vim only returns to normal after I hit ENTER. I wou

Vim 7.4b ready for beta testing

2013-07-28 Thread Bram Moolenaar
Hello Vim users, Announcing: Vim (Vi IMproved) version 7.4b BETA This is the second BETA release of Vim 7.4. A number of problems have been fixed since 7.4a. If no big problems are reported then I will release 7.4 soon. Please report anything that isn't right. That includes a crash but al

Mapping Macro using smartindent

2013-07-28 Thread Sven Kämpf
Hello, Itry to speed up writing using mappings. Smartindent is on, but doesn't work appropriatly. Example: Assume the following mapping: imap { {}iko Typing "{" (Quotes for clarification) results in " { _ } " (where "_" is the cursor position) -> Perfect. But: ---> line n: for(int i(0);io

Re: Is there an "always on top" option for vim?

2013-07-28 Thread Tim Chase
On 2013-07-27 17:37, Dahong Tang wrote: > I am wondering, does anyone know if there is a way to keep vim > always on top, like always in the foreground? While AFAIK, vim doesn't have something like this built-in, this can be a function of your window-manager. On Win32/MacOSX, I don't believe the

Re: Is there an "always on top" option for vim?

2013-07-28 Thread Marcin Szamotulski
On 17:37 Sat 27 Jul , Dahong Tang wrote: > Hi, > > Whenever I use :make to compile, vim disappears from the screen and goes to > the background, and is replaced by the shell command line screen with the > message "Press ENTER or type command to continue". > > In this case, one could use a m