Refactoring: use the "get" function to retrieve user settings
Group autocommands
Merge pull request #232 from gcmt/group-autocommands

Group autocommands / Minor refactoring