On 4/25/06, Dave Roberts <[EMAIL PROTECTED]> wrote:
> I find that if I'm in "latin1" and (in insert mode) type ctrl-v alt-n to
> insert the character then get get out of insert mode and put the cursor
> on the character and use "ga" to see what it is I get but if I do
> the same thing when the enc
On 4/25/06, Halim, Salman <[EMAIL PROTECTED]> wrote:
> nmap :update
> imap
>
> The inconsistency I have noticed is when I am at the end of a line,
> typing away (making the line longer). If, while in insert mode, I hit
> , it performs the update, but leaves the cursor just before the last
> ch
[EMAIL PROTECTED] wrote:
> > Is there any vim plugin that shows a function declaration if I type the
> > function name? For example, if I type "memset(" it should show the
> > memset function declaration (at least its type of arguments).
I think K command is the closest vim thing to what you ask:
On 4/25/06, Eric Arnold <[EMAIL PROTECTED]> wrote:
> It isn't clear how the 't' mode is different from 'm'? I thought the
> point of feedkeys() was that all the keys were to be used as typed by
> a user?
The difference between 'm' and 'n' is like difference between
:norm and norm!. Keys coming fr
On 4/25/06, Robert Cussons <[EMAIL PROTECTED]> wrote:
> Bram's last announcement mentioned:
>
> - Added the feedkeys() function: put keys in the typeahead queue.
>
> Is this something that has been just added in Vim 7.0 or is it added in
> the sense of it had been left out of Vim 7.0 by mistake and
On 4/24/06, Marc Wiatrowski <[EMAIL PROTECTED]> wrote:
> I have tried the -u NONE option... Still get the same error.
>
> Must be something with my machine then...
>
> I'm no C/programming expert, but it seems my problem is coming from this
> function in src/memfile.c. Specifically the read size c
On 4/24/06, Steve Kreyer <[EMAIL PROTECTED]> wrote:
> :echo libcall("libc.so", "getenv", "HOME")
>
> this call fails with the following error message:
> "Library call for getenv() fails" or something like that.
This works for me:
echo libcall("/lib/libc.so.6", "getenv", "HOME")
Yakov
Please express you opinion about the best name for the new vim
function. The function inserts keys to the vim typeahead
queue(buffer). Candidates so far are:
pushkeys()
typeahead()
sendkeys()
feedkeys()
..
Your vote ?
Yakov
On 4/24/06, Meino Christian Cramer <[EMAIL PROTECTED]> wrote:
> Yes, CTRL-w o also works that way. But that often I am calling
> "HELP!" :) it is a little annoying to submit this command every
> time. That's why I am asking for a "global solution" :))
Another solution:
:au BufEnter * if &buft
> Yes, CTRL-w o also works that way. But that often I am calling
> "HELP!" :) it is a little annoying to submit this command every
> time. That's why I am asking for a "global solution" :))
:set helpheight=999
Yakov
:he hidden
Yakov
On 4/24/06, Meino Christian Cramer <[EMAIL PROTECTED]> wrote:
> From: "Yakov Lerner" <[EMAIL PROTECTED]>
> Subject: Re: Fullscreen help without loosing other buffers ?
> Date: Mon, 24 Apr 2006 05:23:36 +0300
>
> Hi Yakov,
>
> Thanks a
On 4/24/06, Meino Christian Cramer <[EMAIL PROTECTED]> wrote:
> I would like to know, whether it is possible to get a fullscreen help
> when doing
>
> :h
>
> or other help-actionis without loosing the buffers already loaded so
> far ?
:set hidden
:he 'hidden'
Yakov
On 4/23/06, Meino Christian Cramer <[EMAIL PROTECTED]> wrote:
> Write a ruby script (not related to vim itsself) in vim, then
> evetually save the script to a file, execute the script with ruby
> interpreter while getting the output (stdout + stderr) into another
> vim buffer, fix the bugs in t
On 4/23/06, Eric Arnold <[EMAIL PROTECTED]> wrote:
> I'm trying to highlight a rectangle.
>
> syn match EVB_window /\%>1l\%>1c\%<5c\%<4l/
> or
> syn match error /\%1l/
>
> don't work. This does:
>
> match VIsual /\%>1l\%>1c\%<5c\%<4l/
>
> It appears that I have to use this:
>
> syn c
On 4/23/06, Suresh Govindachar <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> Earlier today, I asked: "Unless called from the statusline,
> mode() mostly returns c or n. So how can one know the mode
> from viml?"
>
> Searching the archives, I found a tip from Tony Mechelynck
> about setting a
On 4/22/06, Eric Arnold <[EMAIL PROTECTED]> wrote:
> Now that I'm starting to use a single vim/gvim instance to hold
> everything I'm working on, I'm finding that the tabline is getting so
> full that it's finally getting useless to see what's in the tab from
> the label. If the tabline could wrap
On 4/22/06, Thomas Mellman <[EMAIL PROTECTED]> wrote:
> After upgrading to a new version of VIM a while back, I
> have now to type key-sequences slowly, or I get a visual bell
> (and no sequence recognized). Does anybody know what changed
> to cause this, and how I can turn it off?
>
>
> For examp
On 4/22/06, Meino Christian Cramer <[EMAIL PROTECTED]> wrote:
> is there a way to dump the colorscheme data of for example
> the default.vim?
Yes, most definitely. This command is ":hi" (no arguments).
To send output of this command to file, :help :redir
If you want to see settings for separate
Is it possible to tell :help to ignore distinction
between '-' and '_' ? (when completing and matching)
Another useful thing would be if :help considered
C-C as fair match to CTRL-C.
Yakov
On 4/22/06, Anton <[EMAIL PROTECTED]> wrote:
> Im'sorry for my simple question, but I'm newbie in using vim and just
> reying to create my own vimrc file
> The problem is:
> I want to enable option 'number' only if i run vim in a framebuffer, so
> I hawe to check screen size, I have no idea how to
On 4/22/06, Meino Christian Cramer <[EMAIL PROTECTED]> wrote:
> From: "Yakov Lerner" <[EMAIL PROTECTED]>
> Subject: Re: Help needed for colorschemes
> Date: Fri, 21 Apr 2006 21:50:29 +0300
>
> > On 4/21/06, Meino Christian Cramer <[EMAIL PROTECT
On 4/21/06, Meino Christian Cramer <[EMAIL PROTECTED]> wrote:
>
> I have hacked this colorscheme to set a black background itsself
> (Thanks Gary!).
>
> Butnow the Cursor disappears, since it is already black itsself.
>
> I treid to find a working instruction from a colorscheme which
> swi
On 4/20/06, Curtis Spencer <[EMAIL PROTECTED]> wrote:
> I am looking for a nice way to open up a file in subdirectory if I know
> the first few characters of the name, ie.:
>
> :open hel and then I see :open hello_world.c, if it is
> somewhere in some subdirectories of the current directory.
On 4/20/06, Mark Sargent <[EMAIL PROTECTED]> wrote:
> when I open a lot of files in vi, I sometimes forget which one I'm
> in...lol...is there a way to display in the terminal's title which file
> is opened by vi?
This is possible. But first, try this:
:set laststatus=2
and see if it helps.
Y
On 4/20/06, Mark Sargent <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I'm trying to get vi to display an ab like so(minus the \),
>
> ab htm
> \
> \
> \
> \NewUser
> \
> \
> \
> \
>
> but, when I input the text htm and press the spacebar, I get the following,
>
> Transitional//EN"> http-equiv="conten
On 4/19/06, Thomas Adam <[EMAIL PROTECTED]> wrote:
> What I am after is to unload various things when I switch buffers. So for
> example I sometimes run gvim. I do a lot of work using vim-latex, and when I
> edit a .tex file in gvim, I get a load of menus that load. That's great, but
> if I swit
On 4/19/06, Robert Hicks <[EMAIL PROTECTED]> wrote:
> If I open a file with a long enough path name Vim will stop loading
> until I "hit enter" to continue. How can I change this?
I see two or three methods. You get 'Hit Enter' prompt
because message is wider than terminal window.
Solution 1) use
Thanks everybody who answered.
Yakov
I wonder if anybody tried to build win32 native gvim
with mingw or/and cygwin (the native win32 gui vim).
Yakov
On 4/18/06, Yi Qiang <[EMAIL PROTECTED]> wrote:
> Using gvim, I find it very irritating that the Open File dialog always
> defaults to $HOME instead of the last browsed directory. Is there a way
> to change this behavior (it is not a limitation of the gtk file chooser) ?
In my linux/gtk gvim, fil
On 4/17/06, Tom Purl <[EMAIL PROTECTED]> wrote:
> os - Linux
> vim - VIM - Vi IMproved 7.0d02 BETA
> ant_menu - 0.5.4
>
> I'm a bit of a newbie when it comes to quickfix, so any help you can give
> me would be greatly appreciated.
>
> I'm using vim with the ant_menu plugin, which integrates the Apa
On 4/17/06, Daniel Nogradi <[EMAIL PROTECTED]> wrote:
> > Your ':syntax' commands are not reset when you just retype them.
> > To reset your syntax commands, you need to add something
> > like this at the beginning of your sequence of commands:
> >:syn clear | syn on
> > or
> >:syn off | s
On 4/17/06, Daniel Nogradi <[EMAIL PROTECTED]> wrote:
> I came across a strange problem, strange at least to me. I'm using vim
> 6.3 on a linux box.
>
> The thing has to do with folding. If I type
>
> :setlocal foldmethod=expr
> :setlocal foldexpr=0
>
> then the foldlevel of every line should be ze
On 4/17/06, Anthony Campbell <[EMAIL PROTECTED]> wrote:
> On 17 Apr 2006, Chris Allen wrote:
> > On 4/17/06, Anthony Campbell <[EMAIL PROTECTED]> wrote:
> > > configure:2673: checking for X
> > > configure:3532: checking if X11 header files can be found
> > > configure:3543: gcc -c -g -O2confte
On 4/17/06, Eddy Petrişor <[EMAIL PROTECTED]> wrote:
> On 4/17/06, Eric Arnold <[EMAIL PROTECTED]> wrote:
> >
> > It's a bit confusing what you are looking for. You originally asked for an
> > index of keywords, but here you're asking for contents. Both are indexed,
> > either through the :help ^
On 4/17/06, Robert Hicks <[EMAIL PROTECTED]> wrote:
> I have a log that has embedded null characters (i.e ^@). I need to get
> rid of them all.
:map :s/000//g
Then press F2
Yakov
On 4/17/06, Anthony Campbell <[EMAIL PROTECTED]> wrote:
> I've just had to reinstall vim after a crash of X on my Debian system
> (Sid)
>
> Vim reads its .vimrc file correctly but gvim does not read .gvimrc.
> Instead it seems to be reading some other configuration file with
> different mappings an
On 4/17/06, Eric Arnold <[EMAIL PROTECTED]> wrote:
> Are you saying that your substitution works for one file but not for
> many with argo?
>
> Anyway, specifying ^M isn't very portable, so you probably want
> \n instead. Also, you can save yourself using \/ everywhere by using
>
> :s;pattern1;p
On 4/16/06, Gerald Lai <[EMAIL PROTECTED]> wrote:
> On Sun, 16 Apr 2006, Mikolaj Machowski wrote:
>
> > Dnia niedziela, 16 kwietnia 2006 14:46, Georg Dahn napisa³:
> >>> That's it, thanks. 'showbreak'.
> >>
> >> Is there a possibility that wrapping respects indentation? That is, that
> >> the wrapp
> On 4/16/06, Eddy Petrişor <[EMAIL PROTECTED]> wrote:
> > My question is: how hard would it be to add an index for help topics
> > so one could say something like:
> >
> > :indexsearch
Help topics *are* indexed, Eddy. If you do
:he window
and press , you'll get list of topics (help tags)
co
That's it, thanks. 'showbreak'.
On 4/16/06, Eric Arnold <[EMAIL PROTECTED]> wrote:
> "showbreak"?
>
>
>
> On 4/16/06, Yakov Lerner <[EMAIL PROTECTED]> wrote:
> > I remember I used this vim option in the past but now I can't find its
I remember I used this vim option in the past but now I can't find its name.
This options does the following:
- when 'wrap' is on, and I have long (wrapped) lines in the buffer,
it displays each continuation line as if indented from
Nth column instead of column 1. It does not change buffer
contents
On 4/10/06, Bertram Scharpf <[EMAIL PROTECTED]> wrote:
> first thank you all very much for the backings. I'm on the
> way losing trust in my own mind.
>
> Could this be normal? I've been in two jobs during the past
> year and not one of these well-paid colleagues calling
> themselves degreed soft
On 4/12/06, Adam Krolnik <[EMAIL PROTECTED]> wrote:
>
>
> It is strange to see that the option foldignore doesn't seem to work for the
> '#' character.
>
> Here is a C program that has preprocessor statements. I'd like to fold this
> using
> indent and foldignore=^L`#
>
> When I do that and fold t
On 4/12/06, Nikolai Weibull <[EMAIL PROTECTED]> wrote:
> On 4/12/06, Yakov Lerner <[EMAIL PROTECTED]> wrote:
> > On 4/11/06, Nikolai Weibull <[EMAIL PROTECTED]> wrote:
> > > On 4/11/06, Yakov Lerner <[EMAIL PROTECTED]> wrote:
> > > >
On 4/11/06, Nikolai Weibull <[EMAIL PROTECTED]> wrote:
> On 4/11/06, Yakov Lerner <[EMAIL PROTECTED]> wrote:
> > On 4/11/06, Nikolai Weibull <[EMAIL PROTECTED]> wrote:
> > > As per your request, here's a syntax/kconfig.vim.
> >
> > Nice job Nik
On 4/11/06, Roger ABQ <[EMAIL PROTECTED]> wrote:
> I hope this is the right place to post such a
> question. If it is not, my apologies. What
> determines whether gvim has the top file menu or not?
> I can run the exact same version/build of gvim on two
> different machines. One displays the men
On 4/11/06, Yakov Lerner <[EMAIL PROTECTED]> wrote:
> On 4/11/06, Yakov Lerner <[EMAIL PROTECTED]> wrote:
> > On 4/11/06, Anatoli Sakhnik <[EMAIL PROTECTED]> wrote:
> > > Hello!
> > > Can anyone tell me what's wrong in the following function. I sel
On 4/11/06, Yakov Lerner <[EMAIL PROTECTED]> wrote:
> On 4/11/06, Anatoli Sakhnik <[EMAIL PROTECTED]> wrote:
> > Hello!
> > Can anyone tell me what's wrong in the following function. I select
> > something, press \/, enter _graph on the prompt
On 4/11/06, Anatoli Sakhnik <[EMAIL PROTECTED]> wrote:
> Hello!
> Can anyone tell me what's wrong in the following function. I select
> something, press \/, enter _graph on the prompt and get another prompt
> immediately...
>
> function! VisualRangeSearch(flags)
> let pat = input("'<,'>/")
>
On 4/11/06, Hugh Sasse <[EMAIL PROTECTED]> wrote:
> On Tue, 11 Apr 2006, Yakov Lerner wrote:
>
> > > Date: Fri, 7 Apr 2006 12:08:23 +0100 (WEST)
> > > From: Hugh Sasse <[EMAIL PROTECTED]>
> > > To: Vim Help list
> > > Subject: editing WinXP
On 4/11/06, Christoph Nodes <[EMAIL PROTECTED]> wrote:
>
> Is there a way to avoid that the changes a specific command makes are added
> to the undo history. I am missing something like histdel("undo", -1).
> "Set undolevels = -1" is no choice since I don't want to lose the changes
> I made before.
> Date: Fri, 7 Apr 2006 12:08:23 +0100 (WEST)
> From: Hugh Sasse <[EMAIL PROTECTED]>
> To: Vim Help list
> Subject: editing WinXP text files - multibyte?
>
> If, on WinXP, I do
>
> regedit /e regfile.reg
>
> I get a file with the contents of the registry. However, in my Gvim
> (6.4) I see nulls f
On 4/11/06, Nikolai Weibull <[EMAIL PROTECTED]> wrote:
> On 4/10/06, Yakov Lerner <[EMAIL PROTECTED]> wrote:
> > I found no syntax highlighting for Kconfig files (linux kernel
> > configuration).
> > I searched in vim7 runtime, and in vim.org/scripts, and in g
On 4/10/06, Bertram Scharpf <[EMAIL PROTECTED]> wrote:
> I read vim tip #1198 and I'm amazed the recursion doesn't
> lead to a stack overflow. I tried to force one and waited
> for estimately 150M executions:
>
> map :if strlen(getline("."))<78\|exec "norm
> Ax\e"\|else\|pu_\|endif\|redraw
>
>
ion "match" is not available. In the documentation I
> didn't find any hints how to do this. Any ideas?
>
> Again, thanks for your help.
>
> Marco
>
> Yakov Lerner wrote:
> > On 4/10/06, Marco Kunze <[EMAIL PROTECTED]> wrote:
> >> Hi,
> &
On 4/10/06, jagpreet <[EMAIL PROTECTED]> wrote:
>I just access to my home directory and don't have any access at all to
> the folders where vim is installed. /usr/share/vim/*
>
> Also, I downloaded some utility scripts from the site and want to use it.
> But for that I need to put the .vim scri
I found no syntax highlighting for Kconfig files (linux kernel configuration).
I searched in vim7 runtime, and in vim.org/scripts, and in google.
If anybody created Kconfig highlighting already, please post it either
to vim.org/scripts or for inclusion into vimruntime,
or send it to me, I am willi
On 4/10/06, Roth Shahar <[EMAIL PROTECTED]> wrote:
> Hi all,
> I'm using the wonderful mini-buffer explorer
> (http://vim.sourceforge.net/scripts/script.php?script_id=159) which
> displays a small toolbar of the opened buffers and allows easy
> navigation between them.
> The problem is that when I
On 4/10/06, Marco Kunze <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I often use things like
> (TODO blablabla)
> in my LaTeX documents in order to mark todos. However these are not
> highlighted
> as usual since they are not within a comment environment. Since LaTeX has no
> comments which can be used wi
On 4/10/06, Hjellvik Vidar <[EMAIL PROTECTED]> wrote:
> Hello,
>
> how do I create a macro in vim that fills a line with '-'s from the end end
> of the line to e.g. position 50
Put the following into file x.vim:
let m="--"
let x = m.m.m.m.m
map :%s/$/\=strpart(x,0,50-strlen(getline
On 4/9/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I personally don't like it. I only agree with the goals that you have;
> but this particular logo i don't like.
>
> The old was very good... it could simply be revamped.
I agree. I like the current(old) logo.
Yakov
On 4/10/06, Robert Cussons <[EMAIL PROTECTED]> wrote:
> Hi everyone,
>
> I at the moment have a little file that I got from somewhere, probably
> in the vim tips, that swaps caps lock and escape around this is it:
>
> remove Lock = Caps_Lock
> keysym Escape = Caps_Lock
> keysym Caps_Lock = Escape
>
On 4/9/06, Eric Arnold <[EMAIL PROTECTED]> wrote:
> --- Yakov Lerner <[EMAIL PROTECTED]> wrote:
>
> > Some of the files I use are 8-tabbed, some are 4-tabbed.
> > These files are readonly, so modelines are not an option.
> > (I am talking about \t tabs, not a
Some of the files I use are 8-tabbed, some are 4-tabbed.
These files are readonly, so modelines are not an option.
(I am talking about \t tabs, not about vim7 tabpages).
Viminfo remembers last position in the file. When I
reopen file, vim remembers last position.
Is there any way to tell vim to r
On 4/7/06, jagpreet <[EMAIL PROTECTED]> wrote:
> My queries are is it possible to view the file the way I stored. i.e. with
> the folds closed.
File netrw.vim opens with all folds closed. To see how it does is,
try to open the file netrw.vim:
:e $VIMRUNTIME/autoload/netrw.vim
You'll see
On 4/7/06, Eric Arnold <[EMAIL PROTECTED]> wrote:
>
> Is there a way to get full information about all the windows, i.e. whether a
> window is against the left/right/top/bottom side, or to the right of another
> window, etc.etc.?
I'd do it like this. I'd write 4 functions, GetWinOnRight, GetWinOnL
On 4/7/06, Sorav Bansal <[EMAIL PROTECTED]> wrote:
> Is it possible to display the name of the C function in which the
> cursor is currently placed? It would be great if I could get type
> (or any other key combo) to display the function name (along
> with filename and line number).
I use Cfname
801 - 868 of 868 matches
Mail list logo