16 lines
487 B
VimL
16 lines
487 B
VimL
|
" Yank until the end of line with Y, to be more consistent with D and C
|
||
|
nnoremap Y y$
|
||
|
|
||
|
" Mappings for working with vimrc
|
||
|
nnoremap <Leader>ev :edit $MYVIMRC<CR>
|
||
|
nnoremap <Leader>es :source $MYVIMRC<CR>
|
||
|
|
||
|
" 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>
|
||
|
|
||
|
" Explicit map for vim-cheat40 which seems to fail because of my <Nop> map
|
||
|
map <Leader>? :<C-u>Cheat40<CR>
|