1. <leader>r to delete buffer
2. optimized the way to trigger winmanager, only trigger it if it is not visible