summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugues Hiegel <hugues@hiegel.fr>2008-07-03 17:43:41 +0200
committerHugues Hiegel <hugues@hiegel.fr>2008-07-03 17:43:41 +0200
commitdbb0e258ec46e70014819cb67e20800f2d3f413f (patch)
tree4059623da3e1d5d0063c68dc94e89a14525c1df3
parent92168bc602d228ce7975a9156e62e4190ce060ca (diff)
Join and format lines at 78cols
-rw-r--r--vimrc3
1 files changed, 2 insertions, 1 deletions
diff --git a/vimrc b/vimrc
index 002fcc4..fc7799f 100644
--- a/vimrc
+++ b/vimrc
@@ -141,7 +141,8 @@ set tabstop=4
set shiftwidth=4
set noexpandtab
-map U yyp:s/[^ ]/-/g<CR>:noh<CR>
+map U yyp:s/[^ ]/-/g<CR>:noh<CR>
+map <ESC>Q v/$\n\n<CR>J:.!fmt -tcw78<CR>:noh<CR>
" Function
" Erase_Sig_but_Your()