Wednesday, July 10, 2019

Re: execute an alias with vim

I really don't understand what you want with your alias .bashrc???


And when you write
:new .
select and <Enter>
What do you mean? select what?



On mer., 2019-07-10 at 14:24 +0200, Kit wrote:
> > I love aliases since i am a child! i am absolutely fascinated by
> > them!
> > i dream of them every night :-)
>
> Try this alias:
> alias .bashrc="vim $HOME/.bashrc; . $HOME/.bashrc"
>
> > Hmmmm in fact aliases was the best way i found to do what i want.
> > Just
> > a ligne in ~/.bashrc, so simple. And just to type "bar" in my
> > terminal
> > to access the file.
>
> Try this:
> :new .
> select and <Enter>
>
> > So, I tried to create one file with shebang (in one directory in my
> > $PATH, ~/bin is not my path).
>
> add "$HOME/bin" into your PATH. This is the standard for your
> binaries.
> --
> Kit
>
> --

--
--
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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/345517c830af8d84ffb3305dda1950e7cc430d1b.camel%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments: