mirror of
https://github.com/iofq/nvim.nix.git
synced 2026-01-23 08:55:16 -06:00
use kickstart-nix
This commit is contained in:
parent
53bfda8bcd
commit
b33413dd18
36 changed files with 1291 additions and 519 deletions
20
nvim/plugin/misc.lua
Normal file
20
nvim/plugin/misc.lua
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
if vim.g.did_load_plugins_plugin then
|
||||
return
|
||||
end
|
||||
vim.g.did_load_plugins_plugin = true
|
||||
|
||||
-- many plugins annoyingly require a call to a 'setup' function to be loaded,
|
||||
-- even with default configs
|
||||
|
||||
require("neogen").setup{}
|
||||
vim.keymap.set("n","<leader>nd", "<cmd>Neogen<CR>", {noremap = true, silent = true, desc = "Neogen - gen comments"})
|
||||
|
||||
require("toggleterm").setup{
|
||||
open_mapping = [[<C-\>]],
|
||||
direction = "float",
|
||||
close_on_exit = true,
|
||||
}
|
||||
|
||||
require('which-key').setup {
|
||||
preset = 'helix'
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue