Skip to content

Commit 742fc77

Browse files
committed
Remove floating commandline
1 parent b6f750e commit 742fc77

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

config/nvim/lua/config/keymaps.lua

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,12 @@ mappings["bO"] = { "<CMD>BufferLineCloseLeft<CR><CMD>BufferLineCloseRight<CR>",
157157
mappings["bR"] = { "<CMD>BufferLineCloseRight<CR>", "Close All to Right" }
158158

159159
-- command
160-
mappings["<leader>"] = { "<CMD>FineCmdline<CR>", "Command" }
160+
mappings["<leader>"] = {
161+
function()
162+
vim.api.nvim_feedkeys(":", "n", false)
163+
end,
164+
"Command",
165+
}
161166

162167
-- comment lines
163168
mappings[";"] = { "<Plug>(comment_toggle_linewise_current)<CR>", "Toggle Comment" }

config/nvim/lua/plugins/plugins.lua

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,6 @@ return {
2626
end,
2727
},
2828

29-
-- floating command line
30-
{
31-
"VonHeikemen/fine-cmdline.nvim",
32-
dependencies = {
33-
{ "MunifTanjim/nui.nvim" },
34-
},
35-
},
36-
3729
-- git
3830
{
3931
"kdheepak/lazygit.nvim",

0 commit comments

Comments
 (0)