mirror of
https://github.com/Nickiel12/nicks-nix-config.git
synced 2024-11-24 05:35:29 -08:00
Compare commits
No commits in common. "94235d0f53926d98874985ab29d92321edc0166d" and "c2eb12500a74b9600a3abf0da01e5210db2c63ee" have entirely different histories.
94235d0f53
...
c2eb12500a
3 changed files with 11 additions and 40 deletions
18
flake.lock
18
flake.lock
|
@ -136,11 +136,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1692503956,
|
"lastModified": 1692222899,
|
||||||
"narHash": "sha256-MOA6FKc1YgfGP3ESnjSYfsyJ1BXlwV5pGlY/u5XdJfY=",
|
"narHash": "sha256-dHrv+lMUKFXLnzc/yYhEpNr34JYG8gwD4eH6qcrScFI=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "958c06303f43cf0625694326b7f7e5475b1a2d5c",
|
"rev": "2471d965a3522025157a790fc49c3567fd56e26e",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -233,11 +233,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1692447944,
|
"lastModified": 1692174805,
|
||||||
"narHash": "sha256-fkJGNjEmTPvqBs215EQU4r9ivecV5Qge5cF/QDLVn3U=",
|
"narHash": "sha256-xmNPFDi/AUMIxwgOH/IVom55Dks34u1g7sFKKebxUm0=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "d680ded26da5cf104dd2735a51e88d2d8f487b4d",
|
"rev": "caac0eb6bdcad0b32cb2522e03e4002c8975c62e",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -286,11 +286,11 @@
|
||||||
"pre-commit-hooks": "pre-commit-hooks"
|
"pre-commit-hooks": "pre-commit-hooks"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1692476227,
|
"lastModified": 1692189925,
|
||||||
"narHash": "sha256-PDHK8tNTveeWcWgKGq+tGiovl/PUB51lsnAemQj6Zss=",
|
"narHash": "sha256-Yt6jKh8YIu4WLnKDfdo9yNU+vS2NPGeAWk+7VfLUsxk=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "nixvim",
|
"repo": "nixvim",
|
||||||
"rev": "4ef53c788b99768f3ab948d53078d9bd1594f03c",
|
"rev": "9f8ce75653d0c0a6d0175166e6dd0286a58fe5ef",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -15,6 +15,7 @@ in
|
||||||
|
|
||||||
globals = {
|
globals = {
|
||||||
mapleader = " ";
|
mapleader = " ";
|
||||||
|
clipboard = "unnamedplus";
|
||||||
};
|
};
|
||||||
|
|
||||||
options = {
|
options = {
|
||||||
|
@ -34,35 +35,6 @@ in
|
||||||
"<leader>o." = "<cmd>Telescope file_browser<cr>";
|
"<leader>o." = "<cmd>Telescope file_browser<cr>";
|
||||||
"<leader>." = "<cmd>Telescope find_files<cr>"; # cwd full sub-dir fuzzy find
|
"<leader>." = "<cmd>Telescope find_files<cr>"; # cwd full sub-dir fuzzy find
|
||||||
"<leader>of" = "<cmd>Telescope live_grep<cr>"; # cwd search file
|
"<leader>of" = "<cmd>Telescope live_grep<cr>"; # cwd search file
|
||||||
|
|
||||||
# keep cursor centered while navigating
|
|
||||||
"<C-d>" = "<C-d>zz";
|
|
||||||
"<C-u>" = "<C-u>zz";
|
|
||||||
"n" = "nzzzv";
|
|
||||||
"N" = "Nzzzv";
|
|
||||||
|
|
||||||
# yank to system clipboard
|
|
||||||
"<leader>y" = "\"+y";
|
|
||||||
"<leader>Y" = "\"+Y";
|
|
||||||
|
|
||||||
# perma-delete without putting on any clipboard
|
|
||||||
"<leader>d" = "\"_d";
|
|
||||||
};
|
|
||||||
|
|
||||||
maps.visual = {
|
|
||||||
# moves visual selection up and down lines
|
|
||||||
"J" = ":m '>+1<CR>gv=gv";
|
|
||||||
"K" = ":m '<-2<CR>gv=gv";
|
|
||||||
|
|
||||||
# copy to system clipboard
|
|
||||||
"<leader>y" = "\"+y";
|
|
||||||
|
|
||||||
# perma-delete without putting on any clipboard
|
|
||||||
"<leader>d" = "\"_d";
|
|
||||||
};
|
|
||||||
|
|
||||||
maps.visualOnly = {
|
|
||||||
"<leader>p" = "\"_dP"; # leader+p deletes the selection to null, then pastes
|
|
||||||
};
|
};
|
||||||
|
|
||||||
plugins = {
|
plugins = {
|
||||||
|
@ -119,6 +91,7 @@ in
|
||||||
# Read settings here: https://github.com/mfussenegger/nvim-dap#Usage
|
# Read settings here: https://github.com/mfussenegger/nvim-dap#Usage
|
||||||
# See :help dap.txt, :help dap-mapping and :help dap-api.
|
# See :help dap.txt, :help dap-mapping and :help dap-api.
|
||||||
cmp-dap.enable = true;
|
cmp-dap.enable = true;
|
||||||
|
cmp-vsnip.enable = true;
|
||||||
cmp-buffer.enable = true;
|
cmp-buffer.enable = true;
|
||||||
cmp-nvim-lsp-signature-help.enable = true;
|
cmp-nvim-lsp-signature-help.enable = true;
|
||||||
cmp-nvim-lua.enable = true;
|
cmp-nvim-lua.enable = true;
|
||||||
|
|
|
@ -129,8 +129,6 @@ vim.keymap.set('', '<leader>ff', function()
|
||||||
hop.hint_patterns({ multi_windows = true, current_line_only = false })
|
hop.hint_patterns({ multi_windows = true, current_line_only = false })
|
||||||
end, {remap=true})
|
end, {remap=true})
|
||||||
|
|
||||||
vim.opt.scrolloff = 8;
|
|
||||||
|
|
||||||
|
|
||||||
require("telescope").load_extension "file_browser"
|
require("telescope").load_extension "file_browser"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue