Switch back to 23.05
Issues with Neovim, Harpoon and/or Telescope.
This commit is contained in:
parent
545b386096
commit
4e1c3123a0
|
@ -1,26 +1,18 @@
|
||||||
local harpoon = require "harpoon"
|
require("harpoon").setup()
|
||||||
|
|
||||||
local nmap = require("opdavies.keymap").nmap
|
local nmap = require("opdavies.keymap").nmap
|
||||||
|
|
||||||
harpoon:setup()
|
nmap { "<M-h><M-l>", require("harpoon.ui").toggle_quick_menu }
|
||||||
|
nmap { "<M-h><M-m>", require("harpoon.mark").add_file }
|
||||||
|
|
||||||
nmap {
|
nmap { "<leader>hl", require("harpoon.ui").toggle_quick_menu }
|
||||||
"<leader>hl",
|
nmap { "<leader>hm", require("harpoon.mark").add_file }
|
||||||
function()
|
|
||||||
harpoon.ui:toggle_quick_menu(harpoon:list())
|
|
||||||
end,
|
|
||||||
}
|
|
||||||
nmap {
|
|
||||||
"<leader>hm",
|
|
||||||
function()
|
|
||||||
harpoon:list():append()
|
|
||||||
end,
|
|
||||||
}
|
|
||||||
|
|
||||||
for i = 1, 5 do
|
for i = 1, 5 do
|
||||||
nmap {
|
nmap {
|
||||||
string.format("<space>%s", i),
|
string.format("<space>%s", i),
|
||||||
function()
|
function()
|
||||||
harpoon:list():select(i)
|
require("harpoon.ui").nav_file(i)
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
22
flake.lock
22
flake.lock
|
@ -24,32 +24,32 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1702195709,
|
"lastModified": 1702195668,
|
||||||
"narHash": "sha256-+zRjWkm5rKqQ57PuLZ3JF3xi3vPMiOJzItb1m/43Cq4=",
|
"narHash": "sha256-Lxmjez0nfNBptdqV5GsXKm7Bb7swjGsrxiLxWJu0tL8=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "6761b8188b860f374b457eddfdb05c82eef9752f",
|
"rev": "33110fb3c7fe6a94b98b641866a5eddb64b7c23f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"ref": "release-23.11",
|
"ref": "release-23.05",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1702233072,
|
"lastModified": 1703034876,
|
||||||
"narHash": "sha256-H5G2wgbim2Ku6G6w+NSaQaauv6B6DlPhY9fMvArKqRo=",
|
"narHash": "sha256-4bMPFv/bs5g1nEsXQwXlrAGJgjv1Ilr0ejdaTkBwQLs=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "781e2a9797ecf0f146e81425c822dca69fe4a348",
|
"rev": "312ab59e8ade69e6083017bd9b98a2919f1fb86a",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"ref": "nixos-23.11",
|
"ref": "nixos-23.05",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
@ -74,11 +74,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs-unstable": {
|
"nixpkgs-unstable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1702151865,
|
"lastModified": 1703255338,
|
||||||
"narHash": "sha256-9VAt19t6yQa7pHZLDbil/QctAgVsA66DLnzdRGqDisg=",
|
"narHash": "sha256-Z6wfYJQKmDN9xciTwU3cOiOk+NElxdZwy/FiHctCzjU=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "666fc80e7b2afb570462423cb0e1cf1a3a34fedd",
|
"rev": "6df37dc6a77654682fe9f071c62b4242b5342e04",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
{
|
{
|
||||||
inputs = {
|
inputs = {
|
||||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
home-manager.url = "github:nix-community/home-manager/release-23.11";
|
home-manager.url = "github:nix-community/home-manager/release-23.05";
|
||||||
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
|
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.11";
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.05";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = inputs@{ flake-parts, self, ... }:
|
outputs = inputs@{ flake-parts, self, ... }:
|
||||||
|
|
|
@ -179,7 +179,8 @@ in
|
||||||
monospace = [ "JetBrainsMono Nerd Font Mono" ];
|
monospace = [ "JetBrainsMono Nerd Font Mono" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
packages = with pkgsUnstable; [
|
|
||||||
|
fonts = with pkgsUnstable; [
|
||||||
(nerdfonts.override {
|
(nerdfonts.override {
|
||||||
fonts = [
|
fonts = [
|
||||||
"AnonymousPro"
|
"AnonymousPro"
|
||||||
|
|
|
@ -35,5 +35,6 @@ in
|
||||||
LC_CTYPE = "en_GB.UTF-8";
|
LC_CTYPE = "en_GB.UTF-8";
|
||||||
PATH = "$PATH:./vendor/bin:./node_modules/.bin";
|
PATH = "$PATH:./vendor/bin:./node_modules/.bin";
|
||||||
PULUMI_SKIP_UPDATE_CHECK = "true";
|
PULUMI_SKIP_UPDATE_CHECK = "true";
|
||||||
|
RIPGREP_CONFIG_PATH = "$HOME/.config/ripgrep/config";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,7 +9,6 @@ with pkgs; [
|
||||||
delta
|
delta
|
||||||
dog
|
dog
|
||||||
doppler
|
doppler
|
||||||
eza
|
|
||||||
fd
|
fd
|
||||||
file
|
file
|
||||||
fzf
|
fzf
|
||||||
|
@ -25,8 +24,10 @@ with pkgs; [
|
||||||
lua
|
lua
|
||||||
mysql
|
mysql
|
||||||
neofetch
|
neofetch
|
||||||
|
pkgsUnstable.eza
|
||||||
pkgsUnstable.rustywind
|
pkgsUnstable.rustywind
|
||||||
pv
|
pv
|
||||||
|
ripgrep
|
||||||
tldr
|
tldr
|
||||||
tree
|
tree
|
||||||
tree-sitter
|
tree-sitter
|
||||||
|
|
|
@ -32,15 +32,10 @@
|
||||||
|
|
||||||
home.sessionPath = [ "$HOME/.config/bin" ];
|
home.sessionPath = [ "$HOME/.config/bin" ];
|
||||||
|
|
||||||
programs.ripgrep = {
|
xdg.configFile."ripgrep/config".text = ''
|
||||||
enable = true;
|
--follow
|
||||||
|
--smart-case
|
||||||
arguments = [
|
'';
|
||||||
"--follow"
|
|
||||||
"--hidden"
|
|
||||||
"--smart-case"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
xdg.configFile.bin = {
|
xdg.configFile.bin = {
|
||||||
source = ../../bin;
|
source = ../../bin;
|
||||||
|
|
|
@ -86,8 +86,8 @@ in
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
||||||
pkgsUnstable.vimPlugins.harpoon
|
vimPlugins.harpoon
|
||||||
pkgsUnstable.vimPlugins.refactoring-nvim
|
vimPlugins.refactoring-nvim
|
||||||
vimPlugins.comment-nvim
|
vimPlugins.comment-nvim
|
||||||
vimPlugins.dial-nvim
|
vimPlugins.dial-nvim
|
||||||
vimPlugins.gitsigns-nvim
|
vimPlugins.gitsigns-nvim
|
||||||
|
|
|
@ -18,6 +18,7 @@ inputs.home-manager.lib.homeManagerConfiguration {
|
||||||
EXA_COLORS = "uu=38;5;255:gu=38;5;255:ur=38;5;255:uw=38;5;255:ue=38;5;255:wx=38;5;255:gr=38;5;250:gw=38;5;250:gx=38;5;250:tr=38;5;255:tw=38;5;255:tx=38;5;255:da=38;5;250:sn=32:sb=0:di=38;5;105";
|
EXA_COLORS = "uu=38;5;255:gu=38;5;255:ur=38;5;255:uw=38;5;255:ue=38;5;255:wx=38;5;255:gr=38;5;250:gw=38;5;250:gx=38;5;250:tr=38;5;255:tw=38;5;255:tx=38;5;255:da=38;5;250:sn=32:sb=0:di=38;5;105";
|
||||||
PATH = "$PATH:./vendor/bin:./node_modules/.bin";
|
PATH = "$PATH:./vendor/bin:./node_modules/.bin";
|
||||||
PULUMI_SKIP_UPDATE_CHECK = "true";
|
PULUMI_SKIP_UPDATE_CHECK = "true";
|
||||||
|
RIPGREP_CONFIG_PATH = "$HOME/.config/ripgrep/config";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue