aboutsummaryrefslogtreecommitdiff
path: root/base/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'base/vimrc')
-rw-r--r--base/vimrc4
1 files changed, 3 insertions, 1 deletions
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 <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