Skip to content

Instantly share code, notes, and snippets.

@seanfarley
Last active April 18, 2017 05:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seanfarley/913fb761a0c99196f8279279f44393a6 to your computer and use it in GitHub Desktop.
Save seanfarley/913fb761a0c99196f8279279f44393a6 to your computer and use it in GitHub Desktop.
cvim config
let barposition = "bottom"
set cncpcompletion
let hintcharacters = "asdfghjkl"
set noautofocus
unmap b
map <C-x>b :buffer<Space>
map <C-n> j
map <C-p> k
map <C-v> d
map <A-√> u
map <A-≈> :
org_capture -> {{
var uri = 'org-protocol://capture?url=' +
encodeURIComponent(location.href) +
'&title=' +
encodeURIComponent(document.title) +
'&body=' +
encodeURIComponent(window.getSelection());
location.href = uri;
}}
map <C-c>c :call org_capture<CR>
org_link -> {{
var uri = 'org-protocol://store-link?url=' +
encodeURIComponent(location.href) +
'&title=' +
encodeURIComponent(document.title) +
'&body=' +
encodeURIComponent(window.getSelection());
location.href = uri;
}}
map <C-c>l :call org_link<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment