From 88a5f204a082f2d9c4cca5b69e9630b62ce8dd92 Mon Sep 17 00:00:00 2001 From: bnewbold Date: Mon, 19 Jul 2010 11:37:59 -0400 Subject: movies --- software/vim.page | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'software') diff --git a/software/vim.page b/software/vim.page index dfb6477..cc37fe5 100644 --- a/software/vim.page +++ b/software/vim.page @@ -50,3 +50,12 @@ actually typing. To paste in the contents of the X11 clipboard you want to use:: (aka quote, start, uppercase-P) in regular mode. This also solves the autotabbing problem without ":set paste"! +Sometimes you really need tab characters instead of space indendation (eg, when +editing Makefiles). To use tabs when editing a file use:: + + :set noexpandtab + +If you accidently opened a file you can't write to, you can write out as root +using:: + + :w !sudo tee % -- cgit v1.2.3