diff options
| author | jdhao <jdhao@hotmail.com> | 2022-08-07 00:24:37 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2022-08-07 00:24:37 +0800 |
| commit | 54908dfe9f566feb06d4566b74ce8a5978be0566 (patch) | |
| tree | 034c05f885f437b3f062212741b7dff1e2683d94 /lua | |
| parent | 2e5f5c59915e032b93edfe12959abea151ef37c6 (diff) | |
fix: dashboard map is not local
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/config/dashboard-nvim.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/config/dashboard-nvim.lua b/lua/config/dashboard-nvim.lua index 45056c0..5dff685 100644 --- a/lua/config/dashboard-nvim.lua +++ b/lua/config/dashboard-nvim.lua @@ -59,7 +59,7 @@ dashboard.custom_center = { vim.cmd([[ augroup dashboard_enter au! - autocmd FileType dashboard nnoremap q :qa<CR> - autocmd FileType dashboard nnoremap e :enew<CR> + autocmd FileType dashboard nnoremap <buffer> q :qa<CR> + autocmd FileType dashboard nnoremap <buffer> e :enew<CR> augroup END ]]) |
