diff --git a/nix/home-manager/home.nix b/nix/home-manager/home.nix index 173ae86..66f35fd 100644 --- a/nix/home-manager/home.nix +++ b/nix/home-manager/home.nix @@ -83,6 +83,11 @@ in { settings = { enter_accept = true; style = "compact"; + keymap_mode = "vim-insert"; + keymap_cursor = { + vim_insert = "steady-bar"; + vim_normal = "steady-block"; + }; }; }; diff --git a/nix/home-manager/modules/packages/neovim/telescope.lua b/nix/home-manager/modules/packages/neovim/telescope.lua index f251858..0653da3 100644 --- a/nix/home-manager/modules/packages/neovim/telescope.lua +++ b/nix/home-manager/modules/packages/neovim/telescope.lua @@ -1,20 +1,20 @@ require("telescope").load_extension("zf-native") +require("telescope").load_extension("projects") -local builtin = require('telescope.builtin') +local builtin = require("telescope.builtin") --- greps -vim.keymap.set("n", 'ff', builtin.find_files, {desc = 'Find Files'}) -vim.keymap.set("n", 'fg', builtin.live_grep, {desc = 'Live Grep'}) -vim.keymap.set("n", 'fb', builtin.buffers, {desc = 'Buffers'}) +-- greps +vim.keymap.set("n", "ff", builtin.find_files, { desc = "Find Files" }) +vim.keymap.set("n", "fg", builtin.live_grep, { desc = "Live Grep" }) +vim.keymap.set("n", "fb", builtin.buffers, { desc = "Buffers" }) --- register reading -vim.keymap.set("n", 'r', builtin.registers, {desc = 'View registers'}) +-- register reading +vim.keymap.set("n", "r", builtin.registers, { desc = "View registers" }) -- lsp stuff -vim.keymap.set('n', 'pr', builtin.lsp_references, {desc = 'References'}) -vim.keymap.set('n', 'pi', builtin.lsp_implementations, {desc = 'Implementations'}) -vim.keymap.set('n', 'pd', builtin.lsp_definitions, {desc = 'Definitions'}) -vim.keymap.set('n', 'ps', builtin.lsp_document_symbols, {desc = 'Document Symbols'}) -vim.keymap.set('n', 'pws', builtin.lsp_workspace_symbols, {desc = 'Workspace Symbols'}) -vim.keymap.set('n', 'pwd', builtin.lsp_dynamic_workspace_symbols, {desc = 'Dynamic Workspace Symbols'}) - +vim.keymap.set("n", "pr", builtin.lsp_references, { desc = "References" }) +vim.keymap.set("n", "pi", builtin.lsp_implementations, { desc = "Implementations" }) +vim.keymap.set("n", "pd", builtin.lsp_definitions, { desc = "Definitions" }) +vim.keymap.set("n", "ps", builtin.lsp_document_symbols, { desc = "Document Symbols" }) +vim.keymap.set("n", "pws", builtin.lsp_workspace_symbols, { desc = "Workspace Symbols" }) +vim.keymap.set("n", "pwd", builtin.lsp_dynamic_workspace_symbols, { desc = "Dynamic Workspace Symbols" })