irongit

A readme explaining how to make neovim work fast

now copy works right

huncholanehuncholaneauthored
parent 3392a6fcommit 99585c14815a47a22ed31c413cb7f5efc297c478Browse files

2 files changed, +3 -2

+1-0lua/config/autocmds/init.lua
@@ -32,6 +32,7 @@ vim.api.nvim_create_autocmd({ "FocusLost", "BufLeave", "CmdlineEnter", "QuitPre"
3232 })
3333
3434 -- stop making comments on new lines
35+vim.opt.formatoptions:remove({ "c", "r", "o" })
3536 vim.api.nvim_create_autocmd("FileType", {
3637 pattern = "*",
3738 callback = function()
+2-2lua/config/options.lua
@@ -26,8 +26,8 @@ if vim.loop.os_uname().release:match("WSL") then
2626 vim.g.clipboard = {
2727 name = "clip-wsl",
2828 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",
3131 },
3232 paste = {
3333 ["+"] = "/mnt/c/tools/win32yank.exe -o --lf",