On 03/22 03:23, vimNovice wrote:
> Hi,
> I am new to programming and currently taking some online tutorials on VIM text editor through https://www.learnenough.com/text-editor-tutorial. One of the instruction is requiring me to create an alias for the bash profile as shown
>
> ~/.bash_profile
> alias lr = 'ls -hartl'
>
> and then save it using command as shown
>
> :w.
>
> However every time i tried to save, i get an error message
> E17: "/users/atem" is a directory
>
> I have attached a screenshot
>
> Any help to fix this will be greatly appreciated
> Thank you
> ivo
>
> --
> --
> 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.
> For more options, visit https://groups.google.com/d/optout.
Hi ivo,
Welcome to the club ! :))
Try to us
:w
instead of
:w.
"." is the current directory ( and your UserID is probably "atem"...
;)
HTH!
Cheers
Meino
--
--
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.
For more options, visit https://groups.google.com/d/optout.
Wednesday, March 22, 2017
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment