Re: open file, go to last line, add blank line, change to insert

2015-05-31 Thread Rick Dooling
On Sunday, May 31, 2015 at 12:57:51 PM UTC-5, ZyX wrote: > 2015-05-30 23:21 GMT+03:00 Rick Dooling > > Hello, > > > > I frequently want to open a text file, go to the last line, open the fold, > > add one or two blank lines and begin writing. > > > > I'm trying to make an alias for vim that does t

Re: open file, go to last line, add blank line, change to insert

2015-05-31 Thread Nikolay Pavlov
2015-05-30 23:21 GMT+03:00 Rick Dooling : > Hello, > > I frequently want to open a text file, go to the last line, open the fold, > add one or two blank lines and begin writing. > > I'm trying to make an alias for vim that does this. Something like: > > alias note="gvim -c $ +foldo +put='' +star /

Re: open file, go to last line, add blank line, change to insert

2015-05-30 Thread Rick Dooling
On Saturday, May 30, 2015 at 3:50:31 PM UTC-5, Tim Chase wrote: > On 2015-05-30 13:21, Rick Dooling wrote: > > alias note="gvim -c $ +foldo +put='' +star /Users/name/Notes/notes.md" > > > > Everything works except the attempt to put a blank line. No matter > > what I try: :pu='' :$pu=' _' etc it w

Re: open file, go to last line, add blank line, change to insert

2015-05-30 Thread Tim Chase
On 2015-05-30 13:21, Rick Dooling wrote: > alias note="gvim -c $ +foldo +put='' +star /Users/name/Notes/notes.md" > > Everything works except the attempt to put a blank line. No matter > what I try: :pu='' :$pu=' _' etc it will not add blank lines for me. Try +put_ instead. :-) -tim -- --

open file, go to last line, add blank line, change to insert

2015-05-30 Thread Rick Dooling
Hello, I frequently want to open a text file, go to the last line, open the fold, add one or two blank lines and begin writing. I'm trying to make an alias for vim that does this. Something like: alias note="gvim -c $ +foldo +put='' +star /Users/name/Notes/notes.md" Everything works except the