Skip to content

Instantly share code, notes, and snippets.

narbs / ip2chrome.vim
Created May 2, 2012 14:17
This vim script converts an Instapaper csv file to a list of chrome bookmark links as html. Paste these into an empty chrome bookmark template and use this to import your links from Instapaper into Pinboard
%s/\(.*\),"\(.*\)"$/<DT><A HREF="\1">\2<\/A>/
narbs /
Created August 24, 2011 13:34
iTunes connect auto ingress bash script
yesterday=`date -v-1d +"%Y%m%d"`
if [ "$1" == "" ]; then
echo downloading file for yesterday: $yesterday
:fu! Taskpaper()
:return setline(line("."), getline(line(".")) . "@done(" . strftime("%Y-%m-%d") . ")")
:map <F11> <ESC>:call Taskpaper()<CR><ESC>
:imap <F11> <ESC>:call Taskpaper()<CR><ESC>
set nocompatible
source $VIMRUNTIME/vimrc_example.vim
behave xterm
set selectmode=mouse
set lines=50
set co=80
set vb
set ignorecase
set lcs=tab:>-,trail:-
set nolist