diff options
-rw-r--r-- | nvim-using-vimrc/init.vim | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/nvim-using-vimrc/init.vim b/nvim-using-vimrc/init.vim index dca41b4..7131727 100644 --- a/nvim-using-vimrc/init.vim +++ b/nvim-using-vimrc/init.vim @@ -127,6 +127,12 @@ if (exists("*strftime")) noremap <silent> <leader>time "=strftime("%X")<CR>p7h endif " + +" Prevent x and delete key from overriding what's in the clipboard +noremap <silent> x "_x +noremap <silent> X "_x +noremap <silent> <Del> "_x + " Execute the current line with BASH. noremap <silent> <leader>rl :.w !bash<CR> |