From 0a312771ee7a79d5682d9d7f6fdf94d6de2fb579 Mon Sep 17 00:00:00 2001 From: Adam Hovorka Date: Tue, 19 May 2020 16:22:25 -0600 Subject: Add ,qr to .vimrc (turns line into QR code) --- base/vimrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'base/vimrc') diff --git a/base/vimrc b/base/vimrc index 619f3c7..16ccf21 100644 --- a/base/vimrc +++ b/base/vimrc @@ -187,6 +187,9 @@ nnoremap Q gqap cnoremap cnoremap +nnoremap qr :.!qrencode -t UTF8 +vnoremap qr !qrencode -t UTF8 + " 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 -- cgit v1.2.3-70-g09d2