From cdfafba3cc69b4616706364833c92538f2594d1a Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Fri, 17 May 2024 01:21:22 +0300 Subject: [PATCH] neovim: update nixeovim to latest version --- flake.lock | 8 +++--- neovim/dev.nix | 73 -------------------------------------------------- 2 files changed, 4 insertions(+), 77 deletions(-) diff --git a/flake.lock b/flake.lock index 454fa95..6560049 100644 --- a/flake.lock +++ b/flake.lock @@ -281,11 +281,11 @@ ] }, "locked": { - "lastModified": 1715369335, - "narHash": "sha256-fiBEMK/UuoZmy8ODKYL1JD2fHmQx1//SEFo0GHAn37k=", + "lastModified": 1715897837, + "narHash": "sha256-l/6kgNBFr5zs/+TjgAErISfS5UYtWNiQ8P0EcX2bwCM=", "ref": "refs/heads/main", - "rev": "8495dc730f1f308d544164adbe9c1aa074ff1de8", - "revCount": 62, + "rev": "b2fa93c305f666abd57c26eb70f07e60e8266fa5", + "revCount": 63, "type": "git", "url": "https://git.pleshevski.ru/pleshevskiy/nixeovim" }, diff --git a/neovim/dev.nix b/neovim/dev.nix index b2ba5df..845cc8a 100644 --- a/neovim/dev.nix +++ b/neovim/dev.nix @@ -25,79 +25,6 @@ in "${modulesPath}/profiles/recommended.nix" ]; - vim.opt = { - # Better Unix support - viewoptions = [ "folds" "options" "cursor" "unix" "slash" ]; - encoding = "utf-8"; - - # Enable 24-bit color - termguicolors = true; - - # Other options - backspace = [ "indent" "eol" "start" ]; - laststatus = 2; - showmode = false; - - # Tabs as spaces - expandtab = true; - tabstop = 2; - softtabstop = 2; - shiftwidth = 2; - - # Fixes broken cursor on Linux - guicursor = ""; - - # Disable mouse / touchpad - mouse = ""; - - # Incremental substitutin - inccommand = "split"; - - # Hide files when leaving them. - hidden = true; - # Show line numbers. - number = true; - # Minimum line number column width. - numberwidth = 1; - # Number of screen lines to use for the commandline. - cmdheight = 2; - # Lines length limit (0 if no limit). - textwidth = 0; - # Don't cut lines in the middle of a work. - linebreak = true; - # Show matching parenthesis. - showmatch = true; - # Time during which the matching parenthesis is shown. - matchtime = 2; - # Sensible default line auto cutting and formatting. - formatoptions = "jtcrq"; - # Copy/Past to/from clipboard. - clipboard = "unnamedplus"; - # Highlight line cursor is currently on. - cursorline = true; - # Invisible characters representation when :set list - listchars = { - tab = "→ "; - trail = "~"; - nbsp = "␣"; - eol = "¬"; - }; - - # Search - # Incremental search. - incsearch = true; - # Case insensitive. - ignorecase = true; - # Case insensitive if no uppercase letter in pattern, case sensitive otherwise. - smartcase = true; - - # Fold level - foldlevel = 99; - foldlevelstart = 99; - foldminlines = 3; - foldnestmax = 5; - }; - # Enable fast navigation between windows vim.keymap.set = map (k: { mode = "n"; lhs = ctrl k; rhs = "${ctrl "w"}${k}"; }) [ "h" "l" "j" "k" ];