Created
September 3, 2020 02:34
-
-
Save tonio-m/d9157107bdd22bdf03646b0ebd6420b7 to your computer and use it in GitHub Desktop.
set indentation function vim
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
command -nargs=1 SetTabSize call SetTabSize(<f-args>) | |
function SetTabSize(n) | |
let &l:tabstop=a:n | |
let &l:shiftwidth=a:n | |
let &l:softtabstop=a:n | |
endfunction |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment