aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/cheat/vim
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles/cheat/vim')
-rw-r--r--dotfiles/cheat/vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/dotfiles/cheat/vim b/dotfiles/cheat/vim
index 5c14dae..e6416bb 100644
--- a/dotfiles/cheat/vim
+++ b/dotfiles/cheat/vim
@@ -85,6 +85,8 @@ And save it in a better name: `:WorkspaceSave {name}`
:set foldmethod=indent foldlevel=1
za # toggle indent
+:w !sudo tee %
+
# spellchecking
`:set spell`
``:set spelllang=fr`