Skip to content

Instantly share code, notes, and snippets.

@sgur
Created August 5, 2015 06:29
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 sgur/57cfce1f25a7e537dc99 to your computer and use it in GitHub Desktop.
Save sgur/57cfce1f25a7e537dc99 to your computer and use it in GitHub Desktop.
noremap <expr> j <SID>cast('j')
noremap <expr> k <SID>cast('k')
noremap <expr> h <SID>cast('h')
noremap <expr> l <SID>cast('l')
function! s:cast(key) "{{{
return repeat('gs', !v:count) . a:key
endfunction "}}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment