aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--base/.vimrc6
1 files changed, 5 insertions, 1 deletions
diff --git a/base/.vimrc b/base/.vimrc
index 627d7b0..3a4b16a 100644
--- a/base/.vimrc
+++ b/base/.vimrc
@@ -142,6 +142,10 @@ nnoremap <leader>l :nohlsearch<cr>:diffupdate<cr>:syntax sync fromstart<cr><c-l>
nnoremap [<space> :<c-u>put! =repeat(nr2char(10), v:count1)<cr>'[
nnoremap ]<space> :<c-u>put =repeat(nr2char(10), v:count1)<cr>
+noremap <leader>y "*y
+noremap <leader>yy "*Y
+noremap <leader>p :set paste<CR>:put *<CR>:set nopaste<CR>
+
noremap <silent> + :s/^\s*/&\/\//<CR>:noh<CR>
noremap <silent> - :s/^\(\s*\)\/\//\1/<CR>:noh<CR>
@@ -189,7 +193,7 @@ function! ToggleHex()
endfunction
command! -bar Hexmode call ToggleHex()
-nnoremap <leader>h :Hexmode<CR>
+nnoremap <leader>H :Hexmode<CR>
function! NumberToggle()
if(&relativenumber == 1)