diff options
author | Adam Hovorka <[email protected]> | 2020-05-19 16:22:25 -0600 |
---|---|---|
committer | Adam Hovorka <[email protected]> | 2020-05-19 16:22:25 -0600 |
commit | 0a312771ee7a79d5682d9d7f6fdf94d6de2fb579 (patch) | |
tree | 4657729a88753f12b4dd41ece85458f307ac3927 /base/vimrc | |
parent | dc9a44afdc0babdafa2e3e0861af079e891e13a4 (diff) |
Add ,qr to .vimrc (turns line into QR code)
Diffstat (limited to 'base/vimrc')
-rw-r--r-- | base/vimrc | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -187,6 +187,9 @@ nnoremap Q gqap cnoremap <c-n> <down> cnoremap <c-p> <up> +nnoremap <leader>qr :.!qrencode -t UTF8<CR> +vnoremap <leader>qr !qrencode -t UTF8<CR> + " helper function to toggle hex mode function! ToggleHex() " hex mode should be considered a read-only operation @@ -260,7 +263,6 @@ endfunction au BufNewFile,BufRead * call SetLocalOptions(bufname("%")) - " To move elsewhere ====---- au BufNewFile,BufRead *.less set filetype=less autocmd! BufWritePost $MYVIMRC source $MYVIMRC |