Hi all,
I have this bash alias:
alias my-date='date +"%A %d %B %Y"'
and this line in vimrc:
set shellcmdflag=-ic
I want to insert (prepend) a timestamp at the beginning of a non-empty
line, without line breaks, but if I type:
:r !my-date
this will print the timestamp on the next line, that is
On Di, 10 Sep 2019, 'Ottavio Caruso' via vim_use wrote:
> Hi all,
>
> I have this bash alias:
> alias my-date='date +"%A %d %B %Y"'
>
> and this line in vimrc:
> set shellcmdflag=-ic
>
> I want to insert (prepend) a timestamp at the beginning of a non-empty
> line, without line breaks, but
* Tobiah [190910 03:01]:
> We upgraded a server to 18.04 and now when I start typing
> a python file (seems to be triggered by the .py extension)
> the tabs default to 4 spaces. We have decades of code that
> use tab characters, and it has not been our intention to
> change that.
>
> I found a
* Marvin Renich [190910 14:56]:
> My opinion is that the defaults.vim file should only set options that
> almost all vim users will want, and should stay completely away from
> options that are "personal taste" (i.e. leave them with the vim internal
> default settings). The most noticeable
On Tue, Sep 10, 2019 at 7:32 AM 'Ottavio Caruso' via vim_use
mailto:vim_use@googlegroups.com>> wrote:
Hi all,
I have this bash alias:
alias my-date='date +"%A %d %B %Y"'
and this line in vimrc:
set shellcmdflag=-ic
I want to insert (prepend) a timestamp at the beginning of a non-empty
line,
On Tue, 10 Sep 2019 at 12:33, Christian Brabandt wrote:
>
>
> On Di, 10 Sep 2019, 'Ottavio Caruso' via vim_use wrote:
>
> > Hi all,
> >
> > I have this bash alias:
> > alias my-date='date +"%A %d %B %Y"'
> >
> > and this line in vimrc:
> > set shellcmdflag=-ic
> >
> > I want to insert (prepend) a
We upgraded a server to 18.04 and now when I start typing
a python file (seems to be triggered by the .py extension)
the tabs default to 4 spaces. We have decades of code that
use tab characters, and it has not been our intention to
change that.
I found a /usr/share/vim/vim80/indent/python.vim