mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 13:40:05 +08:00
Compare commits
2 Commits
2d6abfdb7b
...
14f2de7911
Author | SHA1 | Date | |
---|---|---|---|
|
14f2de7911 | ||
|
65ee77b5cf |
@ -1540,6 +1540,7 @@ let g:_spacevim_altmoveignoreft = ['Tagbar' , 'vimfiler']
|
|||||||
let g:_spacevim_mappings_space = {}
|
let g:_spacevim_mappings_space = {}
|
||||||
let g:_spacevim_mappings_prefixs = {}
|
let g:_spacevim_mappings_prefixs = {}
|
||||||
let g:_spacevim_mappings_windows = {}
|
let g:_spacevim_mappings_windows = {}
|
||||||
|
let g:_spacevim_statusline_fileformat = ''
|
||||||
let g:spacevim_enable_javacomplete2_py = 0
|
let g:spacevim_enable_javacomplete2_py = 0
|
||||||
""
|
""
|
||||||
" @section src_root, options-src_root
|
" @section src_root, options-src_root
|
||||||
|
@ -71,6 +71,21 @@ local function show_changes(opts)
|
|||||||
actions.close(prompt_bufnr)
|
actions.close(prompt_bufnr)
|
||||||
vim.cmd('e ' .. entry.value.file_name)
|
vim.cmd('e ' .. entry.value.file_name)
|
||||||
end)
|
end)
|
||||||
|
actions.select_tab:replace(function()
|
||||||
|
local entry = action_state.get_selected_entry()
|
||||||
|
actions.close(prompt_bufnr)
|
||||||
|
vim.cmd('tabedit ' .. entry.value.file_name)
|
||||||
|
end)
|
||||||
|
actions.select_vertical:replace(function()
|
||||||
|
local entry = action_state.get_selected_entry()
|
||||||
|
actions.close(prompt_bufnr)
|
||||||
|
vim.cmd('vsplit ' .. entry.value.file_name)
|
||||||
|
end)
|
||||||
|
actions.select_horizontal:replace(function()
|
||||||
|
local entry = action_state.get_selected_entry()
|
||||||
|
actions.close(prompt_bufnr)
|
||||||
|
vim.cmd('split ' .. entry.value.file_name)
|
||||||
|
end)
|
||||||
return true
|
return true
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user