Created
April 18, 2017 18:20
-
-
Save thcipriani/429610e36a35c3fabffa51d5c6c862ec to your computer and use it in GitHub Desktop.
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
" SetSpaces ------------------------------------------------------------ {{{ | |
function! SetSpaces(arg) | |
echo "settings spaces to: " . a:arg | |
execute 'set tabstop=' . a:arg | |
execute 'set shiftwidth=' . a:arg | |
execute 'set softtabstop=' . a:arg | |
endfunction | |
command! -nargs=1 SetSpaces :call SetSpaces(<f-args>) | |
" }}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment