Thanks Tim,
Johns did work exactly the way I wanted it to.
I like yours too.
On Mon, Jun 19, 2017 at 8:37 PM, Tim Chase wrote:
> On 2017-06-19 22:29, John Passaro wrote:
> > use the expression register:
> >
> > s/\v\w+\="\zs\d\d+\ze"/\=submatch(0)-10/g
>
> Beware that
m
> http://www.soundcloud.com/a-straight-john-at-last
>
> On Mon, Jun 19, 2017 at 9:59 PM, stosss <sto...@gmail.com> wrote:
>
>> Placing cursor on the number and typing 10CTRL-X reduces it by the
>> desired amount but how do I do it in a search and replace pattern?
Placing cursor on the number and typing 10CTRL-X reduces it by the desired
amount but how do I do it in a search and replace pattern?
On Mon, Jun 19, 2017 at 7:14 PM, stosss <sto...@gmail.com> wrote:
> I have several hundred lines like the one below:
>
> stroke="#c0c0c0"
I have several hundred lines like the one below:
I want to change them like this:
The "ten" place holder needs to decrease by one.
x1="20" y1="45" x2="820" y2="45"
Can someone point me to something that would show me a fast way to do this?
I am thinking some how I should be able to use
On Thu, May 18, 2017 at 9:51 AM, Tim Chase wrote:
> On 2017-05-18 11:04, Charles E Campbell wrote:
> > gvim/vim compiled and linked ok; when I started it up that CRITICAL
> > message resulted (I'd just wiped out my vim directory+contents,
> > gotten the code via git,
I typed f2u expecting the cursor to jump to the 2nd "u" on the line but the
command deleted my last "p"ut command.
2fu did what I expected. Did f2u do what it was supposed to do?
Running Linux
vim --version
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Jan 16 2017 13:19:42)
Included patches:
Starting out with a number at the beginning of the line and want to change
it from a single or double digit to a triple digit such as 1 to 001 or 10
to 010 and 100 stays as is
:%s@\(\d\+\)@\=printf(%03d, submatch(1))@
I also want to add some more information around it such as
On Fri, Oct 25, 2013 at 6:01 PM, Paul Isambert zappathus...@free.fr wrote:
stosss sto...@gmail.com a écrit:
Starting out with a number at the beginning of the line and want to
change
it from a single or double digit to a triple digit such as 1 to 001 or 10
to 010 and 100 stays
On Wed, Jun 5, 2013 at 7:26 AM, Bram Moolenaar b...@moolenaar.net wrote:
Steve Litt wrote:
I'm using Vim 7.3 in Xubuntu 12.10. When editing my html files, this
happens when I set indentexpr?:
indentexpr=HtmlIndentGet(v:lnum)
That's no good because HtmlIndentGet(v:lnum) does a
This single character unit is showing up in a text file ^F the cursor only
stops on the ^ portion of it and never on the F portion. It shows up in the
middle of words only.
What can I type in the search or search and replace so I can quickly find
and remove all of them? Searching for ^F or ^ or F
On Wed, Apr 10, 2013 at 3:19 PM, Ben Fritz fritzophre...@gmail.com wrote:
On Wednesday, April 10, 2013 2:16:45 PM UTC-5, Jack Gates wrote:
This single character unit is showing up in a text file ^F the cursor
only stops on the ^ portion of it and never on the F portion. It shows up
in the
Hi Eric,
That is one of the very reasons that the Open Source Software community
came about. There are hundreds of thousands (maybe several million by now)
of people that disagree with the proprietary corporate ways of locking and
controlling what you can and can't do on a computer. Apple almost
On Sat, Mar 9, 2013 at 5:06 AM, Marc Weber marco-owe...@gmx.de wrote:
Excerpts from 孔晓泉's message of Sat Mar 09 05:42:23 +0100 2013:
hello everyone:
recently i write a new vim package/plugin manager .because it
operate like dbian's apt, so i call it vimapt.
here is the repository
On Thu, Mar 7, 2013 at 2:22 PM, Eric Weir eew...@bellsouth.net wrote:
Hacker's Keyboard for Google Nexus tablets.
https://play.google.com/store/apps/details?id=org.pocketworkstation.pckeyboardfeature=search_result#?t=W251bGwsMSwxLDEsIm9yZy5wb2NrZXR3b3Jrc3RhdGlvbi5wY2tleWJvYXJkIl0.
The app
On Thu, Mar 7, 2013 at 8:39 PM, Eric Weir eew...@bellsouth.net wrote:
On Mar 7, 2013, at 3:39 PM, Jeroen Budts jer...@lightyear.be wrote:
I use Hacker's Keyboard daily on my Nexus 7 btw. Together with
VimTouch and my entire Vim config (which I could just copy over to the
tablet, no special
On Wed, Feb 20, 2013 at 1:50 AM, Tony Mechelynck
antoine.mechely...@gmail.com wrote:
On 19/02/13 12:43, Franco wrote:
It seems I cannot unsubscribe from this mailing list.
I sent a mail both to vim-unsubscr...@vim.org and to the google address
one. I received the confirmation but replying
On Mon, Feb 18, 2013 at 3:51 AM, shawn wilson ag4ve...@gmail.com wrote:
How do I get the full path of the file I'm editing?
:Explore
will show you where you are and let you pick another file in the directory.
--
--
You received this message from the vim_use maillist.
Do not top-post! Type
On Sun, Feb 17, 2013 at 1:05 AM, Erik Christiansen
dva...@internode.on.net wrote:
On 16.02.13 20:02, John Little wrote:
Just had a quick look in my gmail spam folder, and didn't see any
headers like you report.
Why would you complain to Google?
Please examine the footer from your own post:
On Sat, Feb 2, 2013 at 2:11 PM, Linda W v...@tlinx.org wrote:
If vim can split a window and edit the same file in multiple places,
shouldn't
it be possible to have those windows be disconnected and really be
separate windows -- and still edit the same file?
I don't think there's is a way to
Marc, the time stamp on your computer is in the future.
On Sat, Feb 2, 2013 at 3:23 PM, Marc Weber marco-owe...@gmx.de wrote:
Excerpts from Linda W's message of Sat Feb 02 20:11:33 +0100 2013:
If vim can split a window and edit the same file in multiple places,
shouldn't
it be possible to
I might have had a slight window of opportunity when I had the 300 vim
emails in Spam if instead of moving them to Inbox I had attempted to train
their system, but at this point I feel so helpless I just want a real ISP.
sc
Things are going to get a lot worse in the USA real soon and all of
On Tue, Jan 15, 2013 at 1:47 AM, Christian Brabandt cbli...@256bit.org wrote:
On Tue, January 15, 2013 02:24, stosss wrote:
I just started creating :iabbrev for all sorts of simple things. They
all work just fine when Vim starts but they all break when .vimrc is
sourced.
I don't understand
SOLVED
On Tue, Jan 15, 2013 at 6:28 AM, Christian Brabandt cbli...@256bit.org wrote:
On Tue, January 15, 2013 12:06, stosss wrote:
On Tue, Jan 15, 2013 at 1:47 AM, Christian Brabandt cbli...@256bit.org
wrote:
On Tue, January 15, 2013 02:24, stosss wrote:
I just started creating :iabbrev
On Mon, Jan 14, 2013 at 8:45 AM, Tony Mechelynck
antoine.mechely...@gmail.com wrote:
On 13/01/13 08:15, stosss wrote:
On Sun, Jan 13, 2013 at 1:29 AM, John Beckett johnb.beck...@gmail.com
wrote:
stosss wrote:
This appears to be the only thing in help that seems to imply
you can yank part
I haven't found it in help yet because I'm probably not searching correctly.
I want save the yanked text from one large file and save it to another
file. I can do this manually with no problem but how to do it
automated has escaped me so far.
I want to generate file1.txt, file2.txt, file3.txt
On Mon, Jan 14, 2013 at 10:53 AM, Charles Campbell
charles.e.campb...@nasa.gov wrote:
stosss wrote:
On Mon, Jan 14, 2013 at 8:45 AM, Tony Mechelynck
antoine.mechely...@gmail.com wrote:
On 13/01/13 08:15, stosss wrote:
On Sun, Jan 13, 2013 at 1:29 AM, John Beckett johnb.beck...@gmail.com
On Mon, Jan 14, 2013 at 11:11 AM, Ben Fritz fritzophre...@gmail.com wrote:
On Sunday, January 13, 2013 3:18:49 PM UTC-6, Jack Gates wrote:
I think I saw something earlier about being able to use the current
file name in the current file. But now I can't find what I saw
earlier. I have been
On Mon, Jan 14, 2013 at 11:29 AM, Ben Fritz fritzophre...@gmail.com wrote:
On Saturday, January 12, 2013 8:52:50 PM UTC-6, Jack Gates wrote:
This appears to be the only thing in help that seems to imply you can
yank part of a line. But I can't figure out how to make that work. Am
I wrong
On Mon, Jan 14, 2013 at 11:15 AM, Ben Fritz fritzophre...@gmail.com wrote:
On Monday, January 14, 2013 9:41:42 AM UTC-6, Jack Gates wrote:
I haven't found it in help yet because I'm probably not searching correctly.
I want save the yanked text from one large file and save it to another
On Mon, Jan 14, 2013 at 11:53 AM, Ben Fritz fritzophre...@gmail.com wrote:
On Monday, January 14, 2013 10:42:27 AM UTC-6, Jack Gates wrote:
Manually that works. I did find that help section. But I want to do it
automated. Is my answer in that help file? I will go back and read it
again. If
On Mon, Jan 14, 2013 at 11:51 AM, Ben Fritz fritzophre...@gmail.com wrote:
On Monday, January 14, 2013 10:32:04 AM UTC-6, Jack Gates wrote:
In what context? Do you want to insert the file name into the file? Access
the file name on the command-line? Something else? If you tell us what
On Mon, Jan 14, 2013 at 3:49 PM, skeept ske...@gmail.com wrote:
Hi I was reading some documentation and I came across
|v_aquote| a extend highlighted area with a double
In my case I start visual mode and type a but nothing seems to happen. Is
this supposed to surround
On Mon, Jan 14, 2013 at 3:55 PM, stosss sto...@gmail.com wrote:
On Mon, Jan 14, 2013 at 3:49 PM, skeept ske...@gmail.com wrote:
Hi I was reading some documentation and I came across
|v_aquote| a extend highlighted area with a double
In my case I start visual mode
On Mon, Jan 14, 2013 at 4:06 PM, skeept ske...@gmail.com wrote:
On Monday, January 14, 2013 3:57:27 PM UTC-5, Jack Gates wrote:
On Mon, Jan 14, 2013 at 3:55 PM, stosss wrote:
On Mon, Jan 14, 2013 at 3:49 PM, skeept wrote:
Hi I was reading some documentation and I came across
I just started creating :iabbrev for all sorts of simple things. They
all work just fine when Vim starts but they all break when .vimrc is
sourced.
I don't understand.
--
You received this message from the vim_use maillist.
Do not top-post! Type your reply below the text you are replying to.
On Mon, Jan 14, 2013 at 9:57 PM, sc tooth...@swbell.net wrote:
On Mon, Jan 14, 2013 at 08:24:40PM -0500, stosss wrote:
I just started creating :iabbrev for all sorts of simple things. They
all work just fine when Vim starts but they all break when .vimrc is
sourced.
I don't understand.
I
on in your vimrc? Maybe a plugin is clearing them?
On Mon, Jan 14, 2013 at 6:24 PM, stosss sto...@gmail.com wrote:
I just started creating :iabbrev for all sorts of simple things. They
all work just fine when Vim starts but they all break when .vimrc is
sourced.
I don't understand.
No plugins
I didn't find anything in help about being able to see the commands in
a macro. When I create a mapping I can see what I have typed into the
mapping so I can figure out what I did wrong if my mapping doesn't
work as expected the first time. Is it possible to do something like
this with a recorded
Sorry I stopped reading the help file too soon!
On Sun, Jan 13, 2013 at 9:21 AM, stosss sto...@gmail.com wrote:
I didn't find anything in help about being able to see the commands in
a macro. When I create a mapping I can see what I have typed into the
mapping so I can figure out what I did
On Sun, Jan 13, 2013 at 9:55 AM, wolfv wolfvo...@gmail.com wrote:
Thanks Shlomi. What is usr_*?
I am sure he means the help files. some of the help files are named
usr_*.txt. replace * with a number.
--
You received this message from the vim_use maillist.
Do not top-post! Type your reply
I would like to know if I can put the contents of a register on the
RHS of a search and replace in a mapping.
Or I would like to know if a visual mode used in a mapping can be
accomplished based on the conditions. Example:
a href=filenames1.htmlFilenames 1/a
I need to be able to use visual mode
On Sun, Jan 13, 2013 at 1:25 PM, Bee fo...@calcentral.com wrote:
Correction:
That should be \a not \w because \w includes 0-9
:s#a href=\(\a\{4,13}\)\d\{1,3}\.html.*#\1#c
I appreciate the effort but that doesn't solve the problem. Also
thanks for the knowledge of the \a because I didn't know
Bill,
On Sun, Jan 13, 2013 at 2:26 PM, Bee fo...@calcentral.com wrote:
Sorry for the multiple errors,
A cold caught me :(
:help substitute
should be:
:help substitute()
I took a closer look at the \a you showed me and solved my problem
with that by adding in a few more command strings.
bpj
On Sun, Jan 13, 2013 at 2:28 PM, BPJ b...@melroch.se wrote:
On 2013-01-13 19:37, stosss wrote:
On Sun, Jan 13, 2013 at 1:25 PM, Bee fo...@calcentral.com wrote:
Correction:
That should be \a not \w because \w includes 0-9
:s#a href=\(\a\{4,13}\)\d\{1,3}\.html.*#\1#c
I appreciate
On Sun, Jan 13, 2013 at 3:29 PM, Bee fo...@calcentral.com wrote:
On Jan 13, 12:23 pm, stosss sto...@gmail.com wrote:
Bill,
On Sun, Jan 13, 2013 at 2:26 PM, Bee fo...@calcentral.com wrote:
Sorry for the multiple errors,
A cold caught me :(
:help substitute
should be:
:help
On Sun, Jan 13, 2013 at 3:56 PM, Bee fo...@calcentral.com wrote:
:help \a
is the collection [A-Za-z]
all upper and lower case alphabet characters
possibly faster than [A-Za-z]
:help /[]
a collection
create your own collection
[a-fz] only lower case letters a b c d e f z
:help \(
a
I think I saw something earlier about being able to use the current
file name in the current file. But now I can't find what I saw
earlier. I have been in too many help files today.
I hope some one understands what I am trying to ask.
--
You received this message from the vim_use maillist.
Do
On Sat, Jan 12, 2013 at 12:10 PM, skeept ske...@gmail.com wrote:
Would it be possible to define a mapping for p that, when in visual mode
checks if I have specified a register (with a) and in that case pastes the
contents of that register, and if not simply pastes a previously specified
This appears to be the only thing in help that seems to imply you can
yank part of a line. But I can't figure out how to make that work. Am
I wrong about this? Is the only way to yank part of a line in visual
mode only or search and replace if one gets technical?
On Sun, Jan 13, 2013 at 1:29 AM, John Beckett johnb.beck...@gmail.com wrote:
stosss wrote:
This appears to be the only thing in help that seems to imply
you can yank part of a line. But I can't figure out how to
make that work. Am I wrong about this? Is the only way to
yank part of a line
On Sun, Jan 13, 2013 at 2:15 AM, stosss sto...@gmail.com wrote:
On Sun, Jan 13, 2013 at 1:29 AM, John Beckett johnb.beck...@gmail.com wrote:
stosss wrote:
This appears to be the only thing in help that seems to imply
you can yank part of a line. But I can't figure out how to
make that work
On Fri, Jan 11, 2013 at 8:32 PM, Tim Chase v...@tim.thechases.com wrote:
On 01/11/13 19:26, skeept wrote:
If I have something stored in a specific register say register z
and select something visual then I try to paste over it with zp
but this doesn't seem to do anything...
Is there a easy
I start out with this:
texttext
more textmore text
still more textstill more text
I want to end up with this:
text text
more text more text
still more textstill more text
I have no idea what help to look for or if this is even possible
except for
Hi Chris,
On Mon, Jan 7, 2013 at 12:16 AM, Chris Schneider
ch...@christopher-schneider.com wrote:
q: most likely is what you're talking about. It is the history of all your
commands.
Similarly, q/ is your recent searches.
Thanks! I had thought about that myself.
--
You received this
On Sat, Jan 5, 2013 at 1:40 PM, Peng Yu pengyu...@gmail.com wrote:
use fortran code complete.
This will solve your problem
Hi,
I don't understand what you mean by fortran code complete. Would you
please help elaborate a little more? Thanks!
I think he means a plugin for Vim called fortran
On Mon, Dec 31, 2012 at 1:04 PM, Benjamin Klein b...@silver-chalice.com wrote:
On Dec 31, 2012, at 8:35 AM, Eric Weir eew...@bellsouth.net wrote:
Couple of questions: Do Android tablets have a file system? [Or is that
what would be provided by Jeroen's third option, installing a Debian
I found this
You have to use normal to execute normal mode commands in command mode:
:g/searchString/ normal ^A
Note that you have to press Ctrl-V Ctrl-A to get the ^A character.
I have
:s@\d\+@\=submatch(0) +1@g
to do what I want.
But can CTRL-A or ^A be used in a :s@search@replace@g
On Fri, Dec 28, 2012 at 11:28 PM, MacVlad vlad.ghitule...@gmx.de wrote:
Hello!
I have a text-file that looks like this:
---
R UNZK904326 57075
P UNZK904385 57127
P UNZK904328 57053
P ULZK908062 57101
P UNZK904322 56498
R UNZK904386 57108
P UNZK904288 56383
P UNZK904397 56383
P
Thanks again Benjamin Haskell see follow up question below
On Wed, Oct 17, 2012 at 10:47 PM, stosss sto...@gmail.com wrote:
On Wed, Oct 17, 2012 at 10:32 PM, Benjamin R. Haskell v...@benizi.com wrote:
On Wed, 17 Oct 2012, stosss wrote:
Okay I have something that should be achievable but I
On Sun, Dec 23, 2012 at 10:09 PM, stosss sto...@gmail.com wrote:
function! Incr()
let a = line('.') - line(')
let c = virtcol(')
if a 0
execute 'normal! '.c.'|'.a.\C-a
endif
normal `
endfunction
vnoremap C-a :call Incr()CR
I figured out how to use this. The next step
Hi Christian
On Wed, Dec 26, 2012 at 10:14 AM, Christian Brabandt cbli...@256bit.org wrote:
Hi stosss!
On Mi, 26 Dez 2012, stosss wrote:
What exactly is submatch(0) and submatch(1)? Obviously the 0 and 1
mean something but I am not sure what. I understand what :help
submatch is doing
On your web site you said you wanted feed back.
On Wed, Dec 26, 2012 at 10:07 PM, Sven Guckes guc...@guckes.net wrote:
* Tim Chase v...@tim.thechases.com [2012-12-27 03:02]:
On 12/26/12 18:05, Sven Guckes wrote:
. http://www.guckes.net/vimberlin/small_commands.txt.html
Gaaah...my eyes
Yes! Okay now I get it. Thanks!
On Dec 24, 2012 5:34 AM, sc tooth...@swbell.net wrote:
On Sun, Dec 23, 2012 at 08:55:48PM -0500, stosss wrote:
*CTRL-A*
CTRL-AAdd [count] to the number or alphabetic
character
I found this. I think it is what I want but I don't understand what it
is doing or how to initiate it.
http://vim.wikia.com/wiki/Substitute_with_incrementing_numbers
Incrementing selected numbers
function! Incr()
let a = line('.') - line(')
let c = virtcol(')
if a 0
execute 'normal!
*CTRL-A*
CTRL-A Add [count] to the number or alphabetic character at
or after the cursor. {not in Vi}
*CTRL-X*
CTRL-X Subtract
On Sun, Dec 23, 2012 at 8:33 PM, stosss sto...@gmail.com wrote:
I found this. I think it is what I want but I don't understand what it
is doing or how to initiate it.
http://vim.wikia.com/wiki/Substitute_with_incrementing_numbers
Incrementing selected numbers
function! Incr()
let
On Tue, Dec 18, 2012 at 10:23 PM, John Beckett johnb.beck...@gmail.comwrote:
:s#a href=\(.\{-}\).\{-}/a#[InternetShortcut]\rURL=\1#
Unless I am missing something you probably meant this. notice the in the
middle of the string next to the
:s#a
After I got the recent update of Vim from my Linux distro repo The \zs \ze
seem to not be working now.
I use to do something like this:
I have a dog.
:s/I have a \zsdog\ze\./cat/
and get
I have a cat.
That seems to not replace dog with cat like it used to do. It doesn't seem
to respond
Well I tried again a few times such as doing s/\zspattern\ze// and it is
working. So maybe I was just doing something wrong.
Sorry to bother you.
--
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,
On Fri, Dec 7, 2012 at 3:55 PM, Erik Falor ewfa...@gmail.com wrote:
Now I'm curious. I imagine that I could emulate much of the OmmWriter
experience by running Vim in a full-screened, chromeless terminal in a
compositing windowmanager with electric sheep running in the root
window, and
On Sun, Dec 2, 2012 at 9:39 PM, Tim Chase v...@tim.thechases.com wrote:
On 12/02/12 20:15, Jiaxing Wang wrote:
In :g/how are you?/.;/:-)/d,
Is '/how are you?/.;/:-)/' the pattern in
:[range]g[lobal]/{pattern}/[cmd]?
Would you mind explaining this pattern a little? I don't quite
understand
On Sun, Nov 25, 2012 at 4:54 PM, Benjamin R. Haskell v...@benizi.com wrote:
On Sun, 25 Nov 2012, Phil Dobbin wrote:
On 11/25/2012 06:50 PM, Marco wrote:
2012-11-25 Phil Dobbin:
As an aside, this topic is starting to generate spam originating from
China.
It's not addressed to the list but
On Mon, Nov 19, 2012 at 5:08 PM, Tim Chase v...@tim.thechases.com wrote:
On 11/19/12 16:03, ping wrote:
looks currently C-v i/a p is same as v i/a p for a paragraph...
Does the following do what you want?
v i/a p C-v
which should select the paragraph characterwise, then turn it into a
On Sun, Nov 18, 2012 at 8:50 AM, Ben Fritz fritzophre...@gmail.com wrote:
On Saturday, November 17, 2012 10:46:01 PM UTC-6, stosss wrote:
A couple weeks ago I had 4 files that I created on my Linux system and
did not move them or share them and some how they were showing a ^M
when I
Greetings,
This is one of my rear occasions to ask a question. I don't have any
idea what to search for to try to figure it out.
I did not create this. I have no idea how this works or what key
strokes trigger it. Can someone help me understand how to use it? It
looks like there are two or three
On Sat, Nov 17, 2012 at 11:39 AM, Christian Brabandt cbli...@256bit.org wrote:
Hi Tony!
On Sa, 17 Nov 2012, Tony Mechelynck wrote:
Depending on how the logging is done, in the case I mentioned there
could very well be quite a lot of CRs before the first NL, and,
let's say, something like
I have created my own maps to do html tags for the most common ones used.
On Nov 13, 2012 7:15 PM, Benjamin Klein b...@silver-chalice.com wrote:
I could be dreadfully wrong about this but tag-closing functionality seems
like a rather small feature to be available only in its own specific
On Tue, Nov 13, 2012 at 9:39 PM, stosss sto...@gmail.com wrote:
I have created my own maps to do html tags for the most common ones used.
Sorry about the top post. I was using my smart phone and realized the
mistake as soon as I sent it.
--
You received this message from the vim_use maillist
With so many Open Source apps that have very cryptic and mostly
useless documentation if any this is probably the best one around in
regards to documentation and tips or help that actually helps.
It is also nice to know there are number of people that like to keep
the docs and help and tips in
On Thu, Nov 8, 2012 at 6:23 AM, vicky b vickyb2...@gmail.com wrote:
I have started to learn vim in this modern enviroment where gui takes
prefers , one thing that still me back to other editors is the ease with
which we can copy and paste , can anybody help me out with safe effect in
vim or
On Sun, Nov 4, 2012 at 11:25 AM, Tony Mechelynck
antoine.mechely...@gmail.com wrote:
On 04/11/12 13:48, Marcin Szamotulski wrote:
On 11:53 Sun 04 Nov , Andre Majorel wrote:
In help.txt, tabs are used as if help.vim didn't strip the |
around tag references. Is it how it's supposed to be ?
On Sat, Nov 3, 2012 at 3:24 AM, John Little john.b.lit...@gmail.com wrote:
On Saturday, November 3, 2012 4:53:31 PM UTC+13, stosss wrote:
I don't find anything about using \? which does the same thing as \=
:-? Type
:help \?
and go straight to it. Says 'Cannot be used when searching
Greetings,
Just trying to learn
On Sat, Nov 3, 2012 at 3:24 PM, Tim Chase v...@tim.thechases.com wrote:
On 11/03/12 14:11, Chris Lott wrote:
I have a large text file in which I need to remove all punctuation,
all special characters (smart quotes) and the like, and a bunch of
selected words.
Are these different or the same? I don't see anything different in my display.
set display+=lastline
set display=lastline
--
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
On Fri, Nov 2, 2012 at 6:20 PM, sc tooth...@swbell.net wrote:
On Thu, Nov 01, 2012 at 01:53:47PM -0700, tjg wrote:
Thank you for your answer.
If I understand well, I must
- first search a pattern, e.g. /Robert
- then apply your local expression fold method, here leadero
Am I right ?
Trying to learn.
Okay what is Leader or leader
All I found when I ran :h leader
was these
*g:html_map_leader
*g:html_map_entity_leader
sorry found Leader when I used :h Leader
--
You received this message from the vim_use maillist.
Do not top-post! Type your reply below the text you
I don't understand most of this help doc pasted below.
If I have a map Leader instead of \ how do I execute the map?
If I have \A
I would just type those characters. What do I type for Leader ?
*Leader* *mapleader*
To define a mapping which uses the mapleader variable, the special string
On Fri, Nov 2, 2012 at 8:50 PM, Chris Lott ch...@chrislott.org wrote:
If you set mapleader to another chracter, you do the same thing you
have been doing with /A but you replace the '/' with the new
mapleader.
So, if you:
let mapleader = ,
Then you would type
,A
Thanks for the answer,
Thanks, nice explanation. You answered my question. You helped a lot.
On Fri, Nov 2, 2012 at 10:01 PM, Chris Lott ch...@chrislott.org wrote:
On Fri, Nov 2, 2012 at 5:47 PM, stosss sto...@gmail.com wrote:
I might just not understand the question. Let me try again:
My question is this:
I see
I decided to go through the the help doc again to learn some more and
see what I have over looked.
In:
*27.4* Matching multiple times
To match an optional item, use \=. Example:
/folders\=
Matches folder and folders.
I don't find anything about using \? which does the same thing
Thank You! I was thinking about that myself.
On Sun, Oct 28, 2012 at 9:48 PM, Tim Chase v...@tim.thechases.com wrote:
On 10/28/12 20:38, 王军 wrote:
I want to press F1 ,and display help windows at right side which
like used :vsp comand. Don’t like use :sp command.
:nnoremap f1 :vert
Hi Deepak,
The book that was mentioned, Learning the vi and Vim Editors Seventh
Edition is a good book for the most basic stuff but quickly becomes useless
for any thing beyond the most basic stuff. I don't mean anything way beyond
the basics just anything just past basics. I don't have any
On Tue, Oct 16, 2012 at 1:11 PM, Christian Brabandt cbli...@256bit.org wrote:
Hi Dotan!
On Di, 16 Okt 2012, Dotan Cohen wrote:
On Tue, Oct 16, 2012 at 2:48 PM, ping songpingem...@gmail.com wrote:
this is a really nice tip , even if sound simple, vim-golf best practice so
far I heard.
Okay I have something that should be achievable but I can't figure it
out. I have a lot of files with data for books. Each file is a book
and is in chapters with lines of text.
sample of existing data:
h21/h2p
1 line of text.br
2 another line of text.br
3 lines of text.br
...
10 More lines of
:
On Wed, 17 Oct 2012, stosss wrote:
Okay I have something that should be achievable but I can't figure it out.
I have a lot of files with data for books. Each file is a book and is in
chapters with lines of text.
sample of existing data:
h21/h2p
1 line of text.br
2 another line
Hello
I want to do :%s@\(br /\)\(1\)@\1linebreak\2@
and have it find br /1 and return:
br /
1
when I am finished running search and replace.
linebreak = whatever is correct
I know CR doesn't work because I tried it. It does this br / 1
I know {ctrl-v}{CR} doesn't work either but that seemed
On Fri, Dec 9, 2011 at 4:43 AM, John Beckett johnb.beck...@gmail.com wrote:
stosss wrote:
I want to do :%s@\(br /\)\(1\)@\1linebreak\2@
and have it find br /1 and return:
br /
1
I'm not sure what return means, but the following will change
each br /1 by inserting a newline before the 1
On Fri, Dec 9, 2011 at 11:23 AM, Ben Fritz fritzophre...@gmail.com wrote:
On Dec 9, 3:43 am, John Beckett johnb.beck...@gmail.com wrote:
I would be inclined to replace br / with br\s*/.
I'd go even further, with br\s*/\?
Good suggestions by both of you. In this case I knew what the break
On Wed, May 12, 2010 at 12:57 PM, yixiaodaf...@gmail.com
yixiaodaf...@gmail.com wrote:
Hi,
I want to compare the text in two different parts of the same file.
Instead of cut and paste to create two new files, are there any ways
to directly compare the two parts in vim? I am using vim 7.2.
On Mon, May 10, 2010 at 3:29 AM, robert song robertsong.ja...@gmail.com wrote:
Hello, everyone.
In vim, if I try to use :sp *.c to open mutiple C source files, and it
will stops with Too many file names error.
Is there any way to open multiple files in vim ?
Read man vim
vim -o[N]
vim
1 - 100 of 131 matches
Mail list logo