Compare commits

..

No commits in common. "94235d0f53926d98874985ab29d92321edc0166d" and "c2eb12500a74b9600a3abf0da01e5210db2c63ee" have entirely different histories.

3 changed files with 11 additions and 40 deletions

View file

@ -136,11 +136,11 @@
]
},
"locked": {
"lastModified": 1692503956,
"narHash": "sha256-MOA6FKc1YgfGP3ESnjSYfsyJ1BXlwV5pGlY/u5XdJfY=",
"lastModified": 1692222899,
"narHash": "sha256-dHrv+lMUKFXLnzc/yYhEpNr34JYG8gwD4eH6qcrScFI=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "958c06303f43cf0625694326b7f7e5475b1a2d5c",
"rev": "2471d965a3522025157a790fc49c3567fd56e26e",
"type": "github"
},
"original": {
@ -233,11 +233,11 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1692447944,
"narHash": "sha256-fkJGNjEmTPvqBs215EQU4r9ivecV5Qge5cF/QDLVn3U=",
"lastModified": 1692174805,
"narHash": "sha256-xmNPFDi/AUMIxwgOH/IVom55Dks34u1g7sFKKebxUm0=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "d680ded26da5cf104dd2735a51e88d2d8f487b4d",
"rev": "caac0eb6bdcad0b32cb2522e03e4002c8975c62e",
"type": "github"
},
"original": {
@ -286,11 +286,11 @@
"pre-commit-hooks": "pre-commit-hooks"
},
"locked": {
"lastModified": 1692476227,
"narHash": "sha256-PDHK8tNTveeWcWgKGq+tGiovl/PUB51lsnAemQj6Zss=",
"lastModified": 1692189925,
"narHash": "sha256-Yt6jKh8YIu4WLnKDfdo9yNU+vS2NPGeAWk+7VfLUsxk=",
"owner": "nix-community",
"repo": "nixvim",
"rev": "4ef53c788b99768f3ab948d53078d9bd1594f03c",
"rev": "9f8ce75653d0c0a6d0175166e6dd0286a58fe5ef",
"type": "github"
},
"original": {

View file

@ -15,6 +15,7 @@ in
globals = {
mapleader = " ";
clipboard = "unnamedplus";
};
options = {
@ -34,35 +35,6 @@ in
"<leader>o." = "<cmd>Telescope file_browser<cr>";
"<leader>." = "<cmd>Telescope find_files<cr>"; # cwd full sub-dir fuzzy find
"<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 = {
@ -119,6 +91,7 @@ in
# Read settings here: https://github.com/mfussenegger/nvim-dap#Usage
# See :help dap.txt, :help dap-mapping and :help dap-api.
cmp-dap.enable = true;
cmp-vsnip.enable = true;
cmp-buffer.enable = true;
cmp-nvim-lsp-signature-help.enable = true;
cmp-nvim-lua.enable = true;

View file

@ -129,8 +129,6 @@ vim.keymap.set('', '<leader>ff', function()
hop.hint_patterns({ multi_windows = true, current_line_only = false })
end, {remap=true})
vim.opt.scrolloff = 8;
require("telescope").load_extension "file_browser"