X-Git-Url: http://git.iain.cx/?p=profile.git;a=blobdiff_plain;f=.vimrc;h=21e3877fc26e1227358eef5a8410a1c8e9a17b1a;hp=c2a88f8e528a44865f21493a6c74012d9ef13dae;hb=74d08aad488b6e7f74f5252cd5f313958bcdc08a;hpb=dc63ca686dd762680e884a55538135cb197da9b6;ds=sidebyside diff --git a/.vimrc b/.vimrc index c2a88f8..21e3877 100644 --- a/.vimrc +++ b/.vimrc @@ -437,16 +437,16 @@ endfun "}}}2 call Mapping("-", "yyp:s/./-/g:let @/='':") call Mapping("=", "yyp:s/./=/g:let @/='':") -" Change to ts=2 with \2. -call Mapping("2", ":se ts=2:") -" Change to ts=4 with \4. -call Mapping("4", ":se ts=4:") -" Change to ts=8 with \8. -call Mapping("8", ":se ts=8:") -" Change to ts=16 with \6. -call Mapping("6", ":se ts=16:") -" Change to ts=32 with \3. -call Mapping("3", ":se ts=32:") +" Set 2-column tabs with \2. +call Mapping("2", ":se ts=2:se sw=2:") +" Set 4-column tabs with \4. +call Mapping("4", ":se ts=4:se sw=4:") +" Set 8-column tabs with \8. +call Mapping("8", ":se ts=8:se sw=8:") +" Set 16-column tabs with \6. +call Mapping("6", ":se ts=16:se sw=16:") +" Set 32-column tabs with \3. +call Mapping("3", ":se ts=32:se sw=32:") " Toggle paste mode with \p. call Mapping("p", ":se paste!:") " Swap case-sensitivity with \c.