Minor shortcuta and behaviour tweaks
This commit is contained in:
@@ -94,8 +94,8 @@ return {
|
||||
}
|
||||
|
||||
dap.listeners.after.event_initialized['dapui_config'] = dapui.open
|
||||
dap.listeners.before.event_terminated['dapui_config'] = dapui.close
|
||||
dap.listeners.before.event_exited['dapui_config'] = dapui.close
|
||||
-- dap.listeners.before.event_terminated['dapui_config'] = dapui.close
|
||||
-- dap.listeners.before.event_exited['dapui_config'] = dapui.close
|
||||
|
||||
-- Install golang specific config
|
||||
require('dap-go').setup {
|
||||
|
||||
@@ -15,6 +15,7 @@ return {
|
||||
},
|
||||
opts = {
|
||||
filesystem = {
|
||||
hijack_netrw_behavior = 'open_default',
|
||||
window = {
|
||||
mappings = {
|
||||
['\\'] = 'close_window',
|
||||
@@ -30,6 +31,7 @@ return {
|
||||
|
||||
window = {
|
||||
mappings = {
|
||||
['<C-v>'] = 'open_vsplit',
|
||||
['Y'] = function(state)
|
||||
local node = state.tree:get_node()
|
||||
local filepath = node:get_id()
|
||||
@@ -37,8 +39,8 @@ return {
|
||||
|
||||
local results = {
|
||||
vim.fn.fnamemodify(filepath, ':.'),
|
||||
filename,
|
||||
filepath,
|
||||
filename,
|
||||
}
|
||||
|
||||
local i = vim.fn.inputlist {
|
||||
|
||||
Reference in New Issue
Block a user