Guest User

Untitled

a guest
Jun 22nd, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. gg
  2. =G
  3.  
  4. filetype indent on
  5. set smartindent
  6. autocmd BufRead,BufWritePre *.sh normal gg=G
  7.  
  8. source <(echo "Zibri () {";cat script_to_be_reindented.sh; echo "}")
  9. declare -f Zibri| cut -c 5-|head --lines=-1|tail --lines=+3
  10.  
  11. source <(echo "Zibri () {";cat script_to_be_reindented.sh; echo "}")
  12. declare -f Zibri|head --lines=-1|tail --lines=+3
  13.  
  14. set autoindent
  15.  
  16. filetype plugin indent on
Add Comment
Please, Sign In to add comment