fix ultra annoying workspace close on <A-c>
This commit is contained in:
parent
38fb445fb1
commit
3568954d08
|
@ -52,8 +52,8 @@ vim.keymap.set('n', '[d', vim.diagnostic.goto_prev, { desc = 'Go to previous [D]
|
||||||
vim.keymap.set('n', ']d', vim.diagnostic.goto_next, { desc = 'Go to next [D]iagnostic message' })
|
vim.keymap.set('n', ']d', vim.diagnostic.goto_next, { desc = 'Go to next [D]iagnostic message' })
|
||||||
|
|
||||||
-- let me out!!!
|
-- let me out!!!
|
||||||
vim.keymap.set({ 'n', 'v' }, 'qqq', '<cmd>bd!<cr>', { desc = '[Q]uit the current window' })
|
vim.keymap.set({ 'n', 'v' }, 'qqq', '<cmd>bnext<cr><cmd>bd #<cr>', { desc = '[Q]uit the current window' })
|
||||||
vim.keymap.set({ 'n', 'v' }, '<A-c>', '<cmd>bw!<cr>', { desc = '[Q]uit the current window' })
|
vim.keymap.set({ 'n', 'v' }, '<A-c>', '<cmd>bnext<cr><cmd>bd #<cr>', { desc = '[Q]uit the current window' })
|
||||||
|
|
||||||
vim.keymap.set({ 'n' }, '#', "'", { desc = '[Q]uit the current window' })
|
vim.keymap.set({ 'n' }, '#', "'", { desc = '[Q]uit the current window' })
|
||||||
|
|
||||||
|
|
|
@ -611,6 +611,7 @@ return {
|
||||||
'tiagovla/scope.nvim',
|
'tiagovla/scope.nvim',
|
||||||
config = function()
|
config = function()
|
||||||
require('scope').setup {}
|
require('scope').setup {}
|
||||||
|
require('telescope').load_extension 'scope'
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue