Don't unmap Y before nvim 0.5
This version check might need some refinement, not actually sure when it was introduced but it's deffo not in 0.4.4.
This commit is contained in:
parent
8277ad04ab
commit
e6e3a10c87
@ -115,7 +115,7 @@ else
|
||||
noremap <leader>p "+p
|
||||
noremap <leader>P "+P
|
||||
endif
|
||||
if has('nvim')
|
||||
if has('nvim-0.5')
|
||||
" Undo neovim's default mapping of Y to y$
|
||||
unmap Y
|
||||
endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user