mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-04-02 11:12:09 +02:00
@@ -50,6 +50,16 @@ in {
|
|||||||
val = " Find file";
|
val = " Find file";
|
||||||
on_press.__raw = "function() vim.cmd[[Telescope find_files]] end";
|
on_press.__raw = "function() vim.cmd[[Telescope find_files]] end";
|
||||||
opts = {
|
opts = {
|
||||||
|
keymap = [
|
||||||
|
"n"
|
||||||
|
"nf"
|
||||||
|
":Telescope find_files <CR>"
|
||||||
|
{
|
||||||
|
noremap = true;
|
||||||
|
silent = true;
|
||||||
|
nowait = true;
|
||||||
|
}
|
||||||
|
];
|
||||||
shortcut = "nf";
|
shortcut = "nf";
|
||||||
position = "center";
|
position = "center";
|
||||||
cursor = 3;
|
cursor = 3;
|
||||||
@@ -64,6 +74,16 @@ in {
|
|||||||
val = " New file";
|
val = " New file";
|
||||||
on_press.__raw = "function() vim.cmd[[ene]] end";
|
on_press.__raw = "function() vim.cmd[[ene]] end";
|
||||||
opts = {
|
opts = {
|
||||||
|
keymap = [
|
||||||
|
"n"
|
||||||
|
"nn"
|
||||||
|
":ene <CR>"
|
||||||
|
{
|
||||||
|
noremap = true;
|
||||||
|
silent = true;
|
||||||
|
nowait = true;
|
||||||
|
}
|
||||||
|
];
|
||||||
shortcut = "nn";
|
shortcut = "nn";
|
||||||
position = "center";
|
position = "center";
|
||||||
cursor = 3;
|
cursor = 3;
|
||||||
@@ -78,6 +98,16 @@ in {
|
|||||||
val = " NixOs Config";
|
val = " NixOs Config";
|
||||||
on_press.__raw = "function() vim.cmd[[Neotree ${configDir}]] end";
|
on_press.__raw = "function() vim.cmd[[Neotree ${configDir}]] end";
|
||||||
opts = {
|
opts = {
|
||||||
|
keymap = [
|
||||||
|
"n"
|
||||||
|
"nc"
|
||||||
|
":Neotree ${configDir} <CR>"
|
||||||
|
{
|
||||||
|
noremap = true;
|
||||||
|
silent = true;
|
||||||
|
nowait = true;
|
||||||
|
}
|
||||||
|
];
|
||||||
shortcut = "nc";
|
shortcut = "nc";
|
||||||
position = "center";
|
position = "center";
|
||||||
cursor = 3;
|
cursor = 3;
|
||||||
@@ -93,7 +123,17 @@ in {
|
|||||||
on_press.__raw =
|
on_press.__raw =
|
||||||
"function() vim.cmd[[e ${configDir}/docs/KEYBINDINGS.md]] end";
|
"function() vim.cmd[[e ${configDir}/docs/KEYBINDINGS.md]] end";
|
||||||
opts = {
|
opts = {
|
||||||
shortcut = "nc";
|
shortcut = "nk";
|
||||||
|
keymap = [
|
||||||
|
"n"
|
||||||
|
"nk"
|
||||||
|
":e ${configDir}/docs/KEYBINDINGS-HYPRLAND.md <CR>"
|
||||||
|
{
|
||||||
|
noremap = true;
|
||||||
|
silent = true;
|
||||||
|
nowait = true;
|
||||||
|
}
|
||||||
|
];
|
||||||
position = "center";
|
position = "center";
|
||||||
cursor = 3;
|
cursor = 3;
|
||||||
width = 50;
|
width = 50;
|
||||||
@@ -108,6 +148,16 @@ in {
|
|||||||
on_press.__raw = "function() vim.cmd[[Telescope oldfiles]] end";
|
on_press.__raw = "function() vim.cmd[[Telescope oldfiles]] end";
|
||||||
opts = {
|
opts = {
|
||||||
shortcut = "no";
|
shortcut = "no";
|
||||||
|
keymap = [
|
||||||
|
"n"
|
||||||
|
"no"
|
||||||
|
":Telescope oldfiles <CR>"
|
||||||
|
{
|
||||||
|
noremap = true;
|
||||||
|
silent = true;
|
||||||
|
nowait = true;
|
||||||
|
}
|
||||||
|
];
|
||||||
position = "center";
|
position = "center";
|
||||||
cursor = 3;
|
cursor = 3;
|
||||||
width = 50;
|
width = 50;
|
||||||
@@ -121,7 +171,17 @@ in {
|
|||||||
val = " Find text";
|
val = " Find text";
|
||||||
on_press.__raw = "function() vim.cmd[[Telescope live_grep]] end";
|
on_press.__raw = "function() vim.cmd[[Telescope live_grep]] end";
|
||||||
opts = {
|
opts = {
|
||||||
shortcut = "nt";
|
shortcut = "ng";
|
||||||
|
keymap = [
|
||||||
|
"n"
|
||||||
|
"ng"
|
||||||
|
":Telescope live_grep <CR>"
|
||||||
|
{
|
||||||
|
noremap = true;
|
||||||
|
silent = true;
|
||||||
|
nowait = true;
|
||||||
|
}
|
||||||
|
];
|
||||||
position = "center";
|
position = "center";
|
||||||
cursor = 3;
|
cursor = 3;
|
||||||
width = 50;
|
width = 50;
|
||||||
@@ -136,6 +196,16 @@ in {
|
|||||||
on_press.__raw = "function() vim.cmd[[qa]] end";
|
on_press.__raw = "function() vim.cmd[[qa]] end";
|
||||||
opts = {
|
opts = {
|
||||||
shortcut = "nq";
|
shortcut = "nq";
|
||||||
|
keymap = [
|
||||||
|
"n"
|
||||||
|
"nq"
|
||||||
|
":qa <CR>"
|
||||||
|
{
|
||||||
|
noremap = true;
|
||||||
|
silent = true;
|
||||||
|
nowait = true;
|
||||||
|
}
|
||||||
|
];
|
||||||
position = "center";
|
position = "center";
|
||||||
cursor = 3;
|
cursor = 3;
|
||||||
width = 50;
|
width = 50;
|
||||||
|
|||||||
Reference in New Issue
Block a user