A readme explaining how to make neovim work fast
now copy works right
2 files changed, +3 -2
+1-0lua/config/autocmds/init.lua
| @@ -32,6 +32,7 @@ vim.api.nvim_create_autocmd({ "FocusLost", "BufLeave", "CmdlineEnter", "QuitPre" | ||
| 32 | 32 | }) |
| 33 | 33 | |
| 34 | 34 | -- stop making comments on new lines |
| 35 | +vim.opt.formatoptions:remove({ "c", "r", "o" }) | |
| 35 | 36 | vim.api.nvim_create_autocmd("FileType", { |
| 36 | 37 | pattern = "*", |
| 37 | 38 | callback = function() |
+2-2lua/config/options.lua
| @@ -26,8 +26,8 @@ if vim.loop.os_uname().release:match("WSL") then | ||
| 26 | 26 | vim.g.clipboard = { |
| 27 | 27 | name = "clip-wsl", |
| 28 | 28 | copy = { |
| 29 | - ["+"] = "/mnt/c/tools/win32yank.exe -i --clrf", | |
| 30 | - ["*"] = "/mnt/c/tools/win32yank.exe -i --clrf", | |
| 29 | + ["+"] = "/mnt/c/tools/win32yank.exe -i --crlf", | |
| 30 | + ["*"] = "/mnt/c/tools/win32yank.exe -i --crlf", | |
| 31 | 31 | }, |
| 32 | 32 | paste = { |
| 33 | 33 | ["+"] = "/mnt/c/tools/win32yank.exe -o --lf", |