On Thursday, June 02, 2011 09:36:07 Gary Johnson wrote:
>while i > 0
>let istr = istr . ' '
>let i = i - 1
>endwhile
i bet this was written before we had the repeat() function
sc
--
You received this message from the "vim_
heir own flavor of shell that's
disturbingly different from linux bash
which is all a long winded way of saying i dunno, sorry
sc
--
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/maillist.php
ept what's in @/
(your last search item), and oo unfolds everything --
i am finding this eminently useful -- it reminds me of the cms
kedit 'all' command
kedit blows (blew?) the doors off ISPF
sc
--
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/maillist.php
isconfigured? Maybe I
> don't even need the leader. I can move up and down using k
> and j. Maybe that's how it supposed to work.
> I would like to be able to issue the command while I'm in one
> of the upper file windows but it might not be designed to do
> that. T
it (which you can add back yourself if you use them)
:helpgrep no_plugin_maps
returns 3 hits, the first in filetype.txt and the other 2 in
usr_41.txt describing how to support the option in your newly
created plugin
sc
--
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/maillist.php
ysin i can do
ls -AlgG * | vhs
and i have a listing of the current directory in a vim
throw-away buffer -- incredibly useful
sc
--
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/maillist.php
nix command has: alias sort " sort i", but not work in vim.
in vim we call them abbreviations, and we have several classes
of them -- the one you are looking for is the commandline
abbreviation, since that is where you will be using it
if you put
cabbrev sort sort i
in your ~/.vimr
m use folds but when i encounter them i make use of a
mapping i think i got from Charles -- it's a fold toggle:
nnoremap :exe 'silent! normal! '.
((foldclosed('.')>0)? 'zMzx' : 'zc')
should be all one line if your mail client wrapped it, and you
can use
On Saturday 26 February 2011 08:40:08 Andy Wokula wrote:
> Am 25.02.2011 21:12, schrieb sc:
> > all--
> >
> > the help for CTRL-^ says it is the same as e #, but it is
> > clearly different when the alternate buffer is a Scratch
> > buffer -- if you try to
> the stuff after it enforces the problem that the | will be
> part of the normal command.
> And you probably need a space at the end of normal to delimit
> it from its argument.
> So try
> command! BD exe "normal \" | bd #
that's what i was shooting for -- t
was i deleted the scratch
buffer -- so i put the delete inside the quotes as
command! BD exe "normal | bd #"
and nothing happened
is there a way to do this or should i just type them as two
commands every time?
with 4 gig of ram i probably should just hit CTRL-^ and leave
the visi
nyone have a way around that?
admittedly, most often the one i want to see is the first one,
not the posix one, but sometimes a language specific page is
the one i want to see, like maybe the c++ one for printf
ok never mind -- i just tried
vman 3 printf
and it brought it right up
cool be
On Tuesday 18 January 2011 12:20:42 you wrote:
> sc wrote:
> >> (even though it is a GEcko based almost FireFox clone&
> >> from Mozilla). So I am limited to YAHOO
> >> classic as far as mail filters ... And even those filters
> >> seem to not work.
ght, notice 'Options', then
Mail Options
over on the left you'll see mail filters -- if you set up a
filter that moves email From vim-use to your vim-use folder i
do believe it will stay out of the Spam folder
sc
--
You received this message from the "vim_use" maillist.
t and it does
> try to use it in a call to gtk_window_move() but it doesn't
> seem to be working. any idea why that might be?
i'd forget gtk options -- source a script that specifies
winsize and winpos -- will those work for you on the mac?
:h winsize
:h winpos
sc
--
You
On Thursday 13 January 2011 11:52:49 sc wrote:
> On Thursday 13 January 2011 11:04:37 Adrian Johnson wrote:
> > I have 2 GB file tab-delim file. I want to fill the empty
> > columns spaces with 0. If I use Vim , vim hangs due to
> > memory.
> >
> > Is there a
ke to do following:
>
> $ cat myfile | awk ''''do some magic' > my_new_file.
the magic will probably turn out to be very similar to what you
were attempting in vim -- the substitute command is the same
hth,
sc
--
You received this message from the &quo
olumnize.awk
{ print "%-18s %9s %9s %9s", $1, $2, $3, $4 }
and call it from a vim session with
:%!awk -f columnize.awk
i haven't tested this so it may need tweaking to your taste
sc
--
You received this message from the "vim_use" maillist.
Do not top-post! Type y
On Wednesday 22 December 2010 10:52:53 Ben Fritz wrote:
> Or, add a file in your $HOME/vimfiles/after/ftplugin directory
> called netrw.vim, containing your mapping:
> noremap i
of course that's the one i meant to say
sc
--
You received this message from the "vim_use&qu
right
about the path
the mapping is in a function called BrowserMaps and looks
like:
nnoremap i :call NetrwListStyle(1)
to comment it out just put a double quote at the beginning of
the line
sc
--
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/maillist.php
ligence in creating a masterful plugin, i was able to create
a CSASnapshot of biogoo, re-de-install CSApprox, and now vim
starts in 63 milliseconds AND has all the colorful bells and
whistles -- the best of both worlds (i can keep cursorline
turned on for both gvim and vim)
sc
--
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/maillist.php
hemes being updated and such.’
woah! cool beans chris -- i will be checking into this
sc
--
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/maillist.php
On Saturday 18 December 2010 10:38:57 Matthew Visser wrote:
> Personally, though, if I want to yank something to the
> clipboard, I use "+y or "*y .
which can be accomplished in a script with
let @+ = my_accumulated_stuff_for_pasting
sc
--
You received this message f
x from my autoload,
doc, and plugin paths, and my startup time for vim dropped
from 194 milliseconds to 60 ms -- the last thing i want is
more plugins -- i'm down to just netrw now -- when i need to
see pretty colors i'll use gvim
sc
--
You received this message from the "vim_use&qu
- makes me wonder
how much i want to keep using CSApprox -- it's using over half
of all startup time -- then again, vim would be a shadow of
its former self without it, a conundrum
sc
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below t
sic mechanism: e.g.,
> :hi Normal ctermbg=blue
> You can also use color numbers.
> :help cterm-colors
> :help xterm-color
or, download and install the CSApprox plugin and everything
you apply for the gui will apply to vim:
http://www.vim.org/scripts/script.php?script_id=2390
sc
--
You
at help for mkview shows one of the settings it
tampers with is current pwd -- the first thing i'd try would
be removing these autocommands and seeing if the problem
persists
also i would check the setting of 'autochdir' and set it
explicitly in my .vimrc to the way i wanted it
s
wk -f ~/sumlw.awk
to read in the sum, but this hangs and i have to ctrl-c it to
regain control
the awk works fine on the [bash] commandline, but i have to
use the appropriate head and tail to get the desired range,
then copy the sum back into my buffer
any help will be appreciated
sc
--
You rec
out
nmap :set paste"+gP\|:set nopaste
imap :set paste+\|:set nopaste
the above two mappings started out as two lines, may be more
by the time you see them
sc
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are rep
On Tuesday 02 November 2010 19:51:49 Tim Johnson wrote:
> * sc [101102 16:20]:
> > On Tuesday 02 November 2010 18:48:30 Tim Johnson wrote:
> <.>
> > first, test my theory by testing iskeyword with
> >
> > :verbose set iskeyword?
> <..&g
th iskeyword -- perhaps you have a plugin installed that is
setting it -- so tell us what you see when you do the verbose
query
sc
--
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/maillist.php
at way there won't be a space after the
first paren
sc
--
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/maillist.php
mapping issue.
if you still have
set paste
in your .vimrc, take it out
sc
--
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/maillist.php
On Wednesday 06 October 2010 16:10:50 Charles E Campbell Jr
wrote:
> I admit that I'm guessing that, while in the shell,
> tcl somefile
> will launch tcl script.
actually it's 'tclsh', but tcl folks will know that
sc
--
You received this message from the "
or and hit the asterisk -- a real convenience
feature -- asterisk searches forward, hash searches backward
sc
--
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/maillist.php
ke sure and start klipper beforehand
sc
--
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/maillist.php
_vimrc?
to trace backwards, you can execute
:verbose map u
and it will tell you what it's mapped to and where it was set
hth,
sc
--
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/maillist.php
oductive in the windows shell -- i
forget if it was cmd.exe or command.com
with the utilities from
http://unxutils.sourceforge.net
installed in your path, you'll be amazed what you can do
sc
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your r
On Thursday 09 September 2010 17:47:38 Rahul wrote:
> On Sep 9, 5:17 pm, sc wrote:
> > the first thing i'd try is renaming those files so they end
> > with .vim -- restart vim and see if you can't use it now
> Did that. Renamed files. Restarted vim
> > yo
On Thursday 09 September 2010 16:47:31 Rahul wrote:
> On Sep 9, 3:43 pm, sc wrote:
> > On Thursday 09 September 2010 15:06:39 Rahul wrote:
> > you need at least a big build to have conceal, normal won't
> > include it -- look at the output of
> >
> > :v
lines from the top -- mine says
Big version with GTK2 GUI.
yours will be similar, but the size of the build has to be at
least big for conceal to be included
when you run configure, add
--with-features=big
or
--with-features=huge
to get a build that will include it
hth,
ith that setting
[full disclosure: i use as few plugins as possible so i don't
have a wide plugin experience]
sc
--
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/maillist.php
On Tuesday 07 September 2010 19:44:32 livim wrote:
> Hi !
> Can I produce key information in vimrc?
> Such as I want to put in a function in vimrc.
perhaps
:h usr_41
would be a good starting place for you
sc
--
You received this message from the "vim_use" mailli
bram is the BDFL for vim, but doubt he can dictate
anything the distros do -- at most i think he can suggest
personally i think your argument should be to remove such an
invasive autocommand from the example_vimrc, and you'll have a
greater chance of success
sc
--
You received this message
and it will be added to your local spellfile, never to be
flagged as an error again
this has the added benefit that now you've fixed a bug you can
call yourself a programmer
sc
--
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/maillist.php
dditional plugins:
netrw supports the mouse -- in a vim session you can open it
with
:e .
to "edit" the current directory (the period)
see
:h netrw
for more information if you need it
sc
--
You received this message from the "vim_use" maillist.
Do not top-post! T
On Thursday 02 September 2010 18:14:41 ZyX wrote:
> I think that 'tabline' and 'guitablabel' options are more
> suitable in this case.
oops -- he did say "title of the tab" didn't he -- my bad
sc
--
You received this message from the "vim_use&quo
ess but you might have a look at the
'titlestring', see if you can define your own without the path
see
:h titlestring
for an explanation and some examples
sc
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the tex
On Wednesday 01 September 2010 11:55:27 jyk271 wrote:
> On Aug 26, 11:27 pm, sc wrote:
> > On Thursday 26 August 2010 16:46:34 Charles Campbell wrote:
> > > jyk271 wrote:
> > > > > From the command line I enter `vim`.
> > > >
> > > > I a
On Friday 27 August 2010 08:35:53 Vivek Bhat wrote:
> Hasn't any one else faced this problem... ?
i think we've all faced it and realized it really isn't a
problem -- there isn't room for gvim to show another line, and
he doesn't do partials
sc
--
You received th
g:netrw_sort_direction = "normal"
if &modified
Sexplore .
else
Explore .
endif
normal gg
try
silent normal n
normal zz
catch
endtry
let @/ = save_locate
endfunction
nmap :call MyExplore('')
imap :call MyE
#x27;t want to print the
whole thing -- see
:h 2html.vim
for a more complete description
sc
--
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/maillist.php
net
i see the first search box is labeled "Search the latest
documentation (Updated 2009-06-13 for Vim 7.2.197):"
i think the site should be updated or whacked...
sc
--
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/maillist.php
cursor pos)
>
> There are much more. I usually split the window before I start
> jumping around. Then all I have to do is quit it and I'm
> back. That works best for me and keeps kind of context. BUt
> c-w s etc were mentioned already as well.
my favorite is
sc
--
Yo
er
setlocal nonumber
else
setlocal number
endif
endif
endfunction
which makes it a three-way toggle including the surprisingly
useful relative numbers
sc
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below t
t; au BufWrite * if &ft == '' | filetype detect | fi
cool beans gary -- i've always hit the :e to get vim to
recognize my buffer -- this will save many keystrokes over the
course of the next decade or so
interestingly, it works with fi or endif
sc
--
You received this message from
to count myself among those who like a lean build
with no extra languages compiled in and as few plugins running
as possible
whatever your modules do i would not consider them if they
require a python enabled vim
sc
--
You received this message from the "vim_use" maillist.
Do not top-post
the window, I could not move the cursor using the
> movement command such as j, k. If I move it use the mouse,
> then it will jump back automatically. The cursor is always at
> the first line and first column.
>
> Could anyone help me to find out why?
just a shot in the dar
t; said. I think I will try using an imap instead of an
> abbreviation.
without changing the function, feed it a '\n' instead of an '\s'
when you call it -- it will do exactly what you want then
sc
--
You received this message from the "vim_use" maillis
mple i use in all my iabbrs:
func Eatchar(pat)
let c = nr2char(getchar(0))
return (c =~ a:pat) ? '' : c
endfunc
iabbr if if ()=Eatchar('\s')
you have to read down a way to see it
as coded, it will eat a space and invoke the iabbr, but if you
trigger with a it leave
ur buffer, with the
additional benefit that you can use the same script from a bash
shell if you want to
see
:h complex-change
for a description of the various ways filtering can be performed
sc
--
You received this message from the "vim_use" maillist.
Do not top-post! Type y
; the user fixes it.
>
> I know about the :map and maparg() function. Can
> anyone give me suggestions for how to gracefully handle
> keymapping conflicts?
many ppl will have
let g:no_plugin_maps = 1
in their .vimrc to help avoid this very thing
see
:h filetype-plugins
and sc
ll come to a link to the
'joinspaces'
option, which is i believe the one you are looking for
sc
--
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/maillist.php
On Tuesday 25 May 2010 4:16:24 pm Ben Fritz wrote:
> but unless I'm missing something, launching vimdiff with no
> files by double-clicking on the desktop icon is pretty
> worthless.
perhaps it's there for drag-n-drop duties
sc
--
You received this message from the "v
oke it as 'bash ...'" implies it, but the quoting is
> possibly problematic.
>
> The solution in the other thread (make a proper script in your
> path) is probably preferable to trying to get the quoting
> right (which is probably best done by wrapping the bash
>
ll be
limited only by your imagination as to the commands you are
allowed to invoke
your script can open that certain file, and be named as the file
itself -- by virtue of its being on your ~/bin path there will be
no confusion
sc
--
You received this message from the "vim_use" ma
ring these symptoms, but really, (and thankfully) their
numbers are few
please forgive me for trying to thank you, that was my reason for
posting, i see i cannot be understood, so i'll try, i promise i
will, to stay quiet
sc
--
You received this message from the "vim_use"
ous at finding new ways of being stupid, and that
little tidbit is indeed left out, so yes, cryptic
carry on, john, i applaud your efforts
sc
--
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/maillist.php
utocmd BufReadPost *
\ if line("'\"") > 1 && line("'\"") <= line("$") |
\ exe "normal! g`\"" |
\ endif
you can either source that same file (dangerous in my opinion) or
add the above code to your .vimrc
hth,
sc
ly -- i had 'ddp' and 'ddkP'
mappings i have now modified to use the unamed register freeing
':m+' and ':m-2' commands
it's hard to know for sure what Peng meant when he doesn't repost
to his own thread -- i thought he meant what tim thought
On Friday 30 April 2010 9:57:07 pm stosss wrote:
> On Fri, Apr 30, 2010 at 10:46 PM, sc
wrote:
> > On Friday 30 April 2010 9:17:57 pm stosss wrote:
> >> I went to :he y and I see:
> >> :[range]y[ank] [x]Yank [range] lines [into register x].
> >>
> >
27;t get what I yanked.
>
> What I am doing wrong?
> What register is my yanked text in?
i think it'll be in the un-named register (")
i think what you wanted to do was
:'y,'zyc
if you want it in register c
sc
--
You received this message from the "vim_
x27;t find the tag file any more.
the simplest will be to
:set autochdir
in your _vimrc, although this setting has its detractors, and
some plugins misbehave with it set, or did in the past -- i edit
files all over the place and have come to rely on the fact that
no matter where i am, :pwd i
text with the nauseating animated
> banner ad pushing the text right.
> screen shot:
> http://skitch.com/lloydbudd/dbnhh/switching-case-of-character
> s-vim-tips-wiki
i don't see any ads at all when i go to that site -- of course
i'm using firefox + adblock plus
sc
--
You r
:-)
>
> I am glad I am not the only one. Does any one know how to use
> info at the shell prompt? I don't think I have ever seen
> positive feedback about info.
me either -- if you want to take the time to learn it,
info info
will get you started
sc
--
You received
e any chance you could upgrade to a newer vim?
current is 7.2 with 411 patches
and
2) could you be more specific about the nature of the problem
you are having with this old plugin?
i should probably also ask whether info works properly for you
at the (bash?) command prompt
sc
--
You received
tings is an annoying PITA.
stop being annoyed and be sensible instead
> I like working in Vim but want to try GVim. Maybe some one can
> point out any benefits I could gain by using GVim instead of
> Vim.
the font is a big reason -- colors are another, but with the
advent of CSA
fo on how the Leader commands work
one of the fun things about vim is there are usually dozens of
ways of performing the same task -- you get to pick the one
that makes the most sense to you
--
sc
--
You received this message from the "vim_use" maillist.
Do not top-post! Type you
y so i can vote (with grumbling),
and i plead with any and all to vote for this (it's called
relative numbers) patch
or maybe relative numbers was mis-labelled "add IDE features"
and i have nothing to concern myself with here
sc
--- End Message ---
he approved way, but the way i do it is to
create symbolic links to my user stuff:
su -
cd
ln -s /home//.vimrc ./.vimrc
ln -s /home//.vim ./.vim
exit
or something along those lines should do the trick for you
sc
--
You received this message from the "vim_use"
hout changing window layout
> > and without changing filenames of any window ?
>
> exe "bufwinnr(1)" wincmd w
>
> instead of 1 insert your buffer number.
>
> See
>
> :h bufwinnr()
> :h bufname()
> :h exe
> :h wincmd
that looks backwards to
less and until the user puts
let java_allow_cpp_keywords = 1
in their .vimrc -- this leads me to think perhaps the help on
this subject isn't really clear on this matter
sc
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text
s the numbers into your vim instance as an added
feature
with the relative numbers on, whatever line the cursor is on is
line 0, and the numbers increase in both directions away from
current line
you could probably get a lot of good ideas for your
implementation by downloading and examining char
c
>
> In retrospect, though, that answer didn't really address what
> you were trying to do. If all you want is for vim to use
> your colorscheme when it starts up, the normal way to do it
> is to put that scheme in ~/.vim/colors/foo.vim, and then to
> add
>
>
tion, after the function call, eg (untested):
:call searchcollines()set hls
or words to that effect
sc
--
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/maillist.php
= 1
oh ya i forgot i allow vimball too, which saves keystrokes
installing netrw
this makes for a lean and mean vim -- you don't need a tiny build
to get speed, just go for a sensible build and you'll have
something useful and fast
sc
--
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/maillist.php
On Wednesday 10 March 2010 05:32:18 pm corykendall wrote:
> I do this all the time in firefox... I close a tab and
> immediately realize "Shit! I need that!". So I reopen it
> with Control-Shift-t. Is there a way to do this in vim?
>
CTRL-^ (actually ctrl-6) wor
nge the listing
format, and when i do, it's to get dates and sizes with one press
of 'i'
sc
--
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/maillist.php
trwTreeListing 1"? dialog
-- after i select No it shows the next format, from which i am
able to quit without errors
i am using netrw v137g
sc
--
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/maillist.php
yet has good differention
> betweel 0/O, I/l/1, and other common confusions. Could
> someone please recommend a font!
i haven't heard my favorite mentioned:
set guifont=SUSE\ Sans\ Mono\ 10
of course i doubt it's available to other than openSUSE users,
but maybe i can inspir
On Thursday 04 March 2010 01:25:44 pm Antony Scriven wrote:
> It might be worth mentioning that in google groups and gmail
> at least, there is an option to display a message in a fixed
> width font. --Antony
>
kmail too
sc
--
You received this message from the "vim_use"
ggested visual block mode for the deletion -- i'm surprised
no-one suggested it for the copy/paste of the columns here -- to
me that is simplest way
sc
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to
y, but
possibly this knowledge can guide you to the Other Button
sc
--
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/maillist.php
ut (B) can be easily handled by assigning ":help" to
keywordprg in your .vimrc thusly:
set keywordprg=:help
then you just hit K in normal mode with your cursor on the
keyword and up pops the help for that keyword
hth,
sc
--
You received this message from the "vim_use"
nr("")
exe "bdelete" i
let dc += 1
endif
let i += 1
endwhile
echo 'buffers deleted:' dc
endfunction
in my .vimrc -- you could easily modify it (by removing the
"&& i != bufnr("")"
) to
r choice
if you are a fan of lisp and want to work on your buffer with it,
there's no need for a lisp-enabled vim, just send whatever part
of your buffer is relevant out to your lisp code and let it send
back the modifications
you are limited only by your imagination
sc
--
You receive
On Tuesday 16 February 2010 07:00:43 pm Tim Chase wrote:
> sc wrote:
> > On Tuesday 16 February 2010 06:33:28 pm Ben Schmidt wrote:
> >> :let g:a=0|%s/^\*/\=Inc(g:a).")"
> >
> >
> > don't you need an ending forward slash for the substitute?
&
On Tuesday 16 February 2010 06:33:28 pm Ben Schmidt wrote:
> Then I can do
>
> :let g:a=0|%s/^\*/\=Inc(g:a).")"
don't you need an ending forward slash for the substitute?
sc
--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
ave 'filetype indent on' (i believe 'on' is the
default)
you can add 'filetype indent off' to your .vimrc, see if that
fixes it, and if it does you might also want to determine why vim
thinks you are editing code -- check filetype with
:set filetype?
or the more informational
:verbose set filetype?
that's my guess anyway,
sc
--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
e with the utilities available at
http://unxutils.sourceforge.net/ you can turn even cmd.exe into a
useable shell
this may not be the vim solution you were hoping for, but it will
get it done
sc
--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
101 - 200 of 266 matches
Mail list logo