summaryrefslogtreecommitdiff
path: root/vimrc
diff options
context:
space:
mode:
authorHugues Hiegel <hugues@hiegel.fr>2008-03-18 14:48:38 +0100
committerHugues Hiegel <hugues@hiegel.fr>2008-03-18 14:48:38 +0100
commit5b3788b4169b520722fb616b69bbce1153aab59a (patch)
tree4a633e9e9f01658f69c4e533f7ee57816ca617f0 /vimrc
parent9853582da78144e06f7eadb085c2a33bb34fcebb (diff)
'U' binded under vim to make a wonderful underlined line.
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index 07f1427..e5e1fd3 100644
--- a/vimrc
+++ b/vimrc
@@ -15,6 +15,8 @@ set tabstop=4
set shiftwidth=4
set noexpandtab
+map U yyp:s/[^ ]/-/g<CR>
+
" Transparent editing of gpg encrypted files.
" Placed Public Domain by Wouter Hanegraaff <wouter@blub.net>
" (asc support and sh -c"..." added by Osamu Aoki)