diff options
author | bnewbold <bnewbold@robocracy.org> | 2010-07-19 11:37:59 -0400 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2010-07-19 11:37:59 -0400 |
commit | 88a5f204a082f2d9c4cca5b69e9630b62ce8dd92 (patch) | |
tree | 307ec9d60ff0d905812dd3feb53c72c8d8d3cca4 /software | |
parent | d1b51dc84b63db37598a4c392e2bc5512735a6c4 (diff) | |
download | knowledge-88a5f204a082f2d9c4cca5b69e9630b62ce8dd92.tar.gz knowledge-88a5f204a082f2d9c4cca5b69e9630b62ce8dd92.zip |
movies
Diffstat (limited to 'software')
-rw-r--r-- | software/vim.page | 9 |
1 files changed, 9 insertions, 0 deletions
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 % |