feat: add window picker

pull/255/head
David Bell 2 years ago
parent fb958b9e97
commit 716e4e2902
No known key found for this signature in database
GPG Key ID: EB8E7B08C6DE0FD7

@ -493,5 +493,10 @@ cmp.setup {
},
}
vim.keymap.set("n", "<leader>ww", function()
local picked_window_id = picker.pick_window() or vim.api.nvim_get_current_win()
vim.api.nvim_set_current_win(picked_window_id)
end, { desc = "Pick a window" })
-- The line beneath this is called `modeline`. See `:help modeline`
-- vim: ts=2 sts=2 sw=2 et

Loading…
Cancel
Save