From b06a94ef02bea532e88b965f54d5856edf6eadd7 Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Thu, 31 Jul 2014 02:09:34 -0400 Subject: [PATCH] added some cut and paste shortcuts during input --- vim/config/keyboard.vim | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/vim/config/keyboard.vim b/vim/config/keyboard.vim index 510367a..dbc8800 100644 --- a/vim/config/keyboard.vim +++ b/vim/config/keyboard.vim @@ -142,6 +142,9 @@ " | (V) -> copy selection " | (N) -> cut character " | (V) -> cut selection +" | (I) -> cut previous word during input +" | (I) -> cut line before cursor during input +" | (I) -> paste what's been cut during input " " (completion) " , | (A) -> enter after emmet 'word' (ie: html:5) @@ -521,6 +524,9 @@ vnoremap y nnoremap x vnoremap x + inoremap db + inoremap d0 + inoremap " "remap ctrl-u and ctrl-w to safer alternatives inoremap u