mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2024-11-21 14:13:08 +01:00
Add config file for fine-cmdline
This commit is contained in:
parent
3d59483a24
commit
fa0cfba454
33
config/nvim/plugins/fine-cmdline.lua
Normal file
33
config/nvim/plugins/fine-cmdline.lua
Normal file
@ -0,0 +1,33 @@
|
||||
require('fine-cmdline').setup({
|
||||
cmdline = {
|
||||
enable_keymaps = true,
|
||||
smart_history = true,
|
||||
prompt = '> '
|
||||
},
|
||||
popup = {
|
||||
position = {
|
||||
row = '10%',
|
||||
col = '50%',
|
||||
},
|
||||
size = {
|
||||
width = '60%',
|
||||
},
|
||||
border = {
|
||||
style = 'rounded',
|
||||
},
|
||||
win_options = {
|
||||
winhighlight = 'Normal:Normal,FloatBorder:FloatBorder',
|
||||
},
|
||||
},
|
||||
hooks = {
|
||||
before_mount = function(input)
|
||||
-- code
|
||||
end,
|
||||
after_mount = function(input)
|
||||
-- code
|
||||
end,
|
||||
set_keymaps = function(imap, feedkeys)
|
||||
-- code
|
||||
end
|
||||
}
|
||||
})
|
@ -166,7 +166,6 @@
|
||||
[
|
||||
vim
|
||||
wget
|
||||
handbrake
|
||||
killall
|
||||
git
|
||||
cmatrix
|
||||
@ -184,7 +183,6 @@
|
||||
v4l-utils
|
||||
ydotool
|
||||
wl-clipboard
|
||||
lm_sensors
|
||||
pciutils
|
||||
ffmpeg
|
||||
socat
|
||||
|
@ -6,6 +6,10 @@
|
||||
...
|
||||
}:
|
||||
let
|
||||
finecmdline = pkgs.vimUtils.buildVimPlugin {
|
||||
name = "fine-cmdline";
|
||||
src = inputs.fine-cmdline;
|
||||
};
|
||||
inherit (import ./variables.nix)
|
||||
gitUsername
|
||||
gitEmail
|
||||
@ -17,19 +21,6 @@ in
|
||||
home.homeDirectory = "/home/${username}";
|
||||
home.stateVersion = "23.11";
|
||||
|
||||
nixpkgs = {
|
||||
overlays = [
|
||||
(final: prev: {
|
||||
vimPlugins = prev.vimPlugins // {
|
||||
fine-cmdline-nvim = prev.vimUtils.buildVimPlugin {
|
||||
name = "fine-cmdline";
|
||||
src = inputs.fine-cmdline;
|
||||
};
|
||||
};
|
||||
})
|
||||
];
|
||||
};
|
||||
|
||||
# Import Program Configurations
|
||||
imports = [
|
||||
inputs.hyprland.homeManagerModules.default
|
||||
@ -204,7 +195,8 @@ in
|
||||
bufferline-nvim
|
||||
dressing-nvim
|
||||
indent-blankline-nvim
|
||||
fine-cmdline-nvim
|
||||
nui-nvim
|
||||
finecmdline
|
||||
nvim-treesitter.withAllGrammars
|
||||
lualine-nvim
|
||||
nvim-autopairs
|
||||
@ -246,6 +238,7 @@ in
|
||||
${builtins.readFile ../../config/nvim/plugins/telescope.lua}
|
||||
${builtins.readFile ../../config/nvim/plugins/todo-comments.lua}
|
||||
${builtins.readFile ../../config/nvim/plugins/treesitter.lua}
|
||||
${builtins.readFile ../../config/nvim/plugins/fine-cmdline.lua}
|
||||
require("ibl").setup()
|
||||
require("bufferline").setup{}
|
||||
require("lualine").setup({
|
||||
|
Loading…
Reference in New Issue
Block a user