From 54e31a85acbc4b8a3281196dbc83741f9d4d440e Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Mon, 20 May 2019 22:21:53 +0200 Subject: [PATCH] add uppercasing in vim --- .config/nvim/init.vim | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index e6c5555..8a79965 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -323,6 +323,10 @@ map V :vsp ~/.config/nvim/init.vim " since u undoes, would it not make sense that U redoes? nnoremap U +" when in insertion mode, C-u uppercases the current word, C-l lowercases it, +inoremap gUiw`]a +inoremap guiw`]a + " get rid of the help message popping up when I miss esc and hit F1 nnoremap inoremap @@ -340,6 +344,7 @@ nnoremap t :vsp . nnoremap T :tabedit . " save current buffer with Ctrl-s +" TODO do I need this? I reflexively use :w nnoremap :w " open/close NERDtree with leader-e