Skip to content

Instantly share code, notes, and snippets.

@mokanfar
Last active May 30, 2023 19:31
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mokanfar/9244e30b4e2fa8e87cfc to your computer and use it in GitHub Desktop.
Save mokanfar/9244e30b4e2fa8e87cfc to your computer and use it in GitHub Desktop.
cVim Chrome Extension Settings
let scrollstep = 500
set noautofocus
set scalehints
set typelinkhints
let hintcharacters= "asdf"
let blacklists = ["https://www.notion.so/*","https://rootnroll.com/d/fish-shell/*","https://docs.google.com/spreadsheets/*"]
let mapleader = ","
unmap K e J j s d k w i m M o b t gg <S-g> <C-f> <C-k> <C-6>
map L scrollRight
map j scrollLeft
map <leader>s :settings<cr>
map <Del> <Escape>
map l createHint
map d goBack
map f goForward
map s scrollPageUp
map 1 scrollPageUp
map i scrollPageUp
map 2 scrollPageDown
map k scrollPageDown
map 3 scrollToTop
map t scrollToTop
map b scrollToBottom
map 4 scrollToBottom
" Code blocks (see below for more info)
getIP() -> {{
httpRequest({url: 'http://api.ipify.org/?format=json', json: true},
function(res) { Status.setMessage('IP: ' + res.ip); });
}}
" Displays your public IP address in the status bar
map ip :call getIP<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment