diff --git a/neovim/default.nix b/neovim/default.nix index 16d29a8..b0574f5 100644 --- a/neovim/default.nix +++ b/neovim/default.nix @@ -12,8 +12,6 @@ # theme nvim-solarized-lua - vim-bbye - ansible-vim # auto-close brackets, etc nvim-autopairs @@ -41,11 +39,8 @@ indent-blankline-nvim plenary-nvim vim-illuminate - registers-nvim vim-surround - editorconfig-nvim - # git gitsigns-nvim vim-fugitive @@ -136,12 +131,6 @@ lua << EOF vim.o.guifont = "DejaVu Sans Mono:h10" - if vim.g.neovide then - vim.g.neovide_fullscreen = true - vim.g.neovide_cursor_animation_length = 0.01 - vim.g.neovide_cursor_trail_length = 0.01 - end - ${builtins.readFile ./keymaps.lua } ${builtins.readFile ./options.lua } ${builtins.readFile ./commands.lua } diff --git a/neovim/keymaps.lua b/neovim/keymaps.lua index 18b7360..2179b03 100644 --- a/neovim/keymaps.lua +++ b/neovim/keymaps.lua @@ -60,7 +60,7 @@ vim.api.nvim_create_autocmd("TermOpen", { }) -- buffer closing -nnoremap("gq", ":Bdelete") +nnoremap("gq", ":bdelete") -- toggle search highlighting vim.cmd('nnoremap * v:hlsearch ? ":nohlsearch" : "*"')