summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugues Hiegel <hugues.hiegel@anevia.com>2016-02-16 11:16:10 +0100
committerHugues Hiegel <hugues.hiegel@anevia.com>2016-02-16 11:16:10 +0100
commitd8319632b37b1c5161a7a881a1d2e07ff23f77ae (patch)
tree83c09e822a33db3b91276bb3c3ea3d9bee33feb1
parent348907c3794fde699a264359e93dea5c26b9580a (diff)
[binding] Remapped normal ā€˜Uā€™ to draw given character as a text underliner
-rw-r--r--vimrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/vimrc b/vimrc
index 58a1c4e..1885ee1 100644
--- a/vimrc
+++ b/vimrc
@@ -267,8 +267,8 @@ set tabstop=4
set shiftwidth=4
set noexpandtab
-"noremap U yyp:s/[^ ]/-/g<CR>:noh<CR>
-"noremap Y yyp:s/[^ ]/=/g<CR>:noh<CR>
+" Draws underline (waits for char input)
+noremap U yyp0<C-v>$r
set ttimeoutlen=0
set timeoutlen=250