Article 573RN vim mapping a function key to open a specific file and in the same time , G go to the last line of the file

vim mapping a function key to open a specific file and in the same time , G go to the last line of the file

by
andrewysk
from LinuxQuestions.org on (#573RN)
i use vim.
i have a journal file that i use everyday and constantly on and off. i decided to map a function key to it.
how to Code::e journal.txt G?
what i want to achieve is map this function key F6 to open this journal file, and go to the last line "G" . but vimrc prompt error.

need help

thxlatest?d=yIl2AUoC8zA latest?i=dDwRfoN3tZg:UPZkzNylcvw:F7zBnMy latest?i=dDwRfoN3tZg:UPZkzNylcvw:V_sGLiP latest?d=qj6IDK7rITs latest?i=dDwRfoN3tZg:UPZkzNylcvw:gIN9vFwdDwRfoN3tZg
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments