file yank update

This commit is contained in:
Christian Nieves
2024-01-19 19:28:29 +00:00
parent 518d7e48d7
commit c18fd3f78a

View File

@ -42,7 +42,7 @@ nnoremap <silent> <Leader>x- :exe "resize " . (winheight(0) * 2/3)<CR>
" --------- FORMATTING MAPPINGS ---------
" indent file
map <leader>= gg=G ``
nmap <leader>yf :let @+ = expand("%")<cr>
nmap <leader>yf :let @+ = expand("%") | let @" = expand("%")<cr>
" replace currently selected text with default register
" without yanking it
vnoremap <leader>p "_dP