I have a file with a bunch of lines like the following one:
AAE ..Above Aerodrome Elevation
I would like to replace the dots by a single tab.
I tried the following substitutions but it does not work.
%s/\.*/\t/
%s/[\.]*/\t/
vim keep seeing the dot in
On 2018-02-02 10:45, Bernard Fay wrote:
> I have a file with a bunch of lines like the following one:
>
> AAE ..Above Aerodrome
> Elevation
>
> I would like to replace the dots by a single tab.
>
> I tried the following substitutions but it does not work.
Add a g at the end, otherwise it will only replace the first dot
—
David
> On Feb 2, 2018, at 1:45 PM, Bernard Fay wrote:
>
> I have a file with a bunch of lines like the following one:
>
> AAE ..Above Aerodrome Elevation
>
> I
On Friday, February 2, 2018 at 2:17:27 PM UTC-5, Tim Chase wrote:
> On 2018-02-02 10:45, Bernard Fay wrote:
> > I have a file with a bunch of lines like the following one:
> >
> > AAE ..Above Aerodrome
> > Elevation
> >
> > I would like to replace the dots
On 2018-02-02, Andrew Pennebaker wrote:
> I would really like convenient access to ligatures in my word processing
> software. Unfortunately, none of the major text editing applications appears
> to
> handle ligatures intelligently: Each of Emacs, Vim, Nano, MS Word, Google
> Drive, Libre
Hi,
I search for a xpath plugin fast completion.
I tried https://github.com/actionshrimp/vim-xpath.git but it lags vim on
entering chars to set xpath expression.
Thank you
Niva
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you
> nnoremap s :%s/\<\(\)\>//g
>
> I was thinking that I would set the cursor where I need to insert
> the new word, as in "get#Something" where # represents the cursor
> and then I'd need to replace it like so:
> s/\<\(left-of-cursor)\zs\ze(right-of-cursor)\>/whatever/g
You might try something
On 02.02.18 16:31, Andrew Pennebaker wrote:
> I would really like convenient access to ligatures in my word processing
> software. Unfortunately, none of the major text editing applications
> appears to handle ligatures intelligently: Each of Emacs, Vim, Nano, MS
> Word, Google Drive, Libre
On Fri, Feb 2, 2018 at 11:47 PM, Gary Johnson wrote:
> On 2018-02-02, Andrew Pennebaker wrote:
>
>> I would really like convenient access to ligatures in my word processing
>> software. Unfortunately, none of the major text editing applications appears
>> to
>> handle
Hello,
I would really like convenient access to ligatures in my word processing
software. Unfortunately, none of the major text editing applications
appears to handle ligatures intelligently: Each of Emacs, Vim, Nano, MS
Word, Google Drive, Libre Office, and InDesign type a dumb "ae" when the
On 2018-02-03, Tony Mechelynck wrote:
> On Fri, Feb 2, 2018 at 11:47 PM, Gary Johnson wrote:
> > On 2018-02-02, Andrew Pennebaker wrote:
> >
> >> I would really like convenient access to ligatures in my word processing
> >> software. Unfortunately, none of the major text editing applications
> >>
Hello!
It's a standard practice of mine having to replace whole words with
something else, very useful when coding. I have the following mapping
in my vimrc:
nnoremap s :%s/\<\(\)\>//g
which lets me just hit \+s and replace the current word under the cursor.
Now I've found myself needing
12 matches
Mail list logo