Tagged Questions
1
vote
2answers
76 views
How do I set bash aliases and variables from within vim?
In cmdline mode, the following examples do not work for me.
!alias lol='echo lol'
!lol='echo lol'
3
votes
2answers
147 views
place the aliased version of an existing command in /usr/bin/
I use Vim a lot, and I know how I can start vim in insert mode. So I have an alias named vii in my .bash_aliases file.
On other hand I use Git a lot too, and I have this line in my .gitconfig:
...
2
votes
2answers
229 views
Specify an alias as preferred editor in rc files (like .cvsrc)?
I have in my .cvsrc:
cvs -q -e vim
I want to create an alias (like my-vim or something like that):
alias my-vim="vim -S ~/myscript.vim"
And do
cvs -q -e my-vim
Unfortunately, this doesn't ...