Size: a a a

2019 February 18

RS

Richar Siri in NeoVim
Any insights or changes that you wanna share with me, i'm all ears
источник
2019 February 20

SA

Sergio Araujo in NeoVim
источник
2019 February 24

Q(

QoBi BeN NuN (THiaGo NuNeS) in NeoVim
Hey you guys, I'm sort of a very basic user of Neovim and I'd like to ask your help to set up my init.vim without the usage of any plugin.
источник

SA

Sergio Araujo in NeoVim
QoBi BeN NuN (THiaGo NuNeS)
Hey you guys, I'm sort of a very basic user of Neovim and I'd like to ask your help to set up my init.vim without the usage of any plugin.
There is a init called sensible vimrc, googling you will find it very easy
источник

SA

Sergio Araujo in NeoVim
источник

SA

Sergio Araujo in NeoVim
QoBi BeN NuN (THiaGo NuNeS)
Hey you guys, I'm sort of a very basic user of Neovim and I'd like to ask your help to set up my init.vim without the usage of any plugin.
Changing Tim Pop's sensible vimrc will make things easy for you
источник

Q(

QoBi BeN NuN (THiaGo NuNeS) in NeoVim
Sergio Araujo
Changing Tim Pop's sensible vimrc will make things easy for you
Thank you, buddie.
источник

SA

Sergio Araujo in NeoVim
QoBi BeN NuN (THiaGo NuNeS)
Thank you, buddie.
You are welcome
источник
2019 March 07

AM

Adolfo Masan® in NeoVim
Hi everybody
источник

SA

Sergio Araujo in NeoVim
Hi Adolfo, you are welcome!
источник

SA

Sergio Araujo in NeoVim
My RSS reader is full of vim like sites. The best of them: vim hot questions on stackoverflow
источник
2019 March 14

SA

Sergio Araujo in NeoVim
Hei guys. have a look on how remove html <p> tags one per line:
:%s,<p>\([^<]*\)</p>,\1
источник
2019 March 15

Q(

QoBi BeN NuN (THiaGo NuNeS) in NeoVim
Sergio Araujo
Hei guys. have a look on how remove html <p> tags one per line:
:%s,<p>\([^<]*\)</p>,\1
Comma instead of slash? How is it possible?
источник

SA

Sergio Araujo in NeoVim
as you can see, when doing a substitution you can use any delimiter, is very useful specially if you are dealing with operating system paths
источник

SA

Sergio Araujo in NeoVim
this is also possible in SED (stream editor)
источник

Q(

QoBi BeN NuN (THiaGo NuNeS) in NeoVim
Sergio Araujo
as you can see, when doing a substitution you can use any delimiter, is very useful specially if you are dealing with operating system paths
Cool!
источник

SA

Sergio Araujo in NeoVim
Let's see an explanation on SED
The slash as a delimiter

The character after the s is the delimiter. It is conventionally a slash, because this is what ed, more, and vi use. It can be anything you want, however. If you want to change a pathname that contains a slash - say /usr/local/bin to /common/bin - you could use the backslash to quote the slash:

sed 's/\/usr\/local\/bin/\/common\/bin/' <old >new

Gulp. Some call this a 'Picket Fence' and it's ugly. It is easier to read if you use an underline instead of a slash as a delimiter:

sed 's_/usr/local/bin_/common/bin_' <old >new

Some people use colons:

sed 's:/usr/local/bin:/common/bin:' <old >new

Others use the "|" character.

sed 's|/usr/local/bin|/common/bin|' <old >new
источник

SA

Sergio Araujo in NeoVim
источник

SA

Sergio Araujo in NeoVim
I have found a better way to remove <p> asdfadf</p> tags:
:%s,</\?p>,,g
источник

SA

Sergio Araujo in NeoVim
I am using a changed delimiter and an optional slash /\?
источник