1) vi editor normally opens in Execution mode . We have to press ESC + i to go to edit mode .
But , I wanted the vi to open directly in edit mode .
2) One more query , When I create a NEW file using vi editor ....is there any way can I have the default text ......
For example : I work on perl . I wanted to type
#!/usr/bin/perl every time I create a new perl file using vi .
Is there any way , can I have the text
#!/usr/bin/perl by default when I open a new file (or) a new perl file ( I donot want to type
#!/usr/bin/perl everytime when I create a new perl file
)