Skip to content

Instantly share code, notes, and snippets.

@sebble
Created March 25, 2015 08:59
Show Gist options
  • Save sebble/5d0f922fa836e87876bd to your computer and use it in GitHub Desktop.
Save sebble/5d0f922fa836e87876bd to your computer and use it in GitHub Desktop.
Start Goyo in Vim in terminal with note
mkdir -p '~/Notebooks/Vim' && xfce4-terminal --maximize -x bash -c 'source ~/.bashrc;vim +"norm i$(date -I)^M^M" +Goyo +startinsert "~/Notebooks/Vim/$(date -I)_$(zenity --entry --title="New Note" --text="~/Notebooks/Vim/$(date -I)\_<title>:" --entry-text="new_note")"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment