nix-config/home/vim/after/plugin/mappings/misc.vim

9 lines
264 B
VimL
Raw Normal View History

2021-02-23 16:08:46 +01:00
" Yank until the end of line with Y, to be more consistent with D and C
nnoremap Y y$
" Run make silently, then skip the 'Press ENTER to continue'
noremap <Leader>m :silent! :make! \| :redraw!<CR>
" Remove search-highlighting
noremap <Leader><Leader> :nohls<CR>