This commit is contained in:
Henrik Bakken
2023-03-14 21:06:49 +01:00
parent 3580857057
commit c2bc124be6
+5 -2
View File
@@ -42,6 +42,9 @@ opt.cursorline = false -- Highlight current line
opt.switchbuf = "useopen" -- Use existing window if buffer is already open opt.switchbuf = "useopen" -- Use existing window if buffer is already open
opt.colorcolumn = "88" opt.colorcolumn = "88"
-- diffs
opt.diffopt="internal,filler,closeoff,hiddenoff,vertical,algorithm:patience"
-- tabs -- tabs
opt.expandtab = true -- Use spaces instead of tabs opt.expandtab = true -- Use spaces instead of tabs
opt.smartindent = false -- Avoid fucking with comment indents opt.smartindent = false -- Avoid fucking with comment indents
@@ -213,8 +216,8 @@ require("packer").startup {
"rbong/vim-flog", "rbong/vim-flog",
config = function() config = function()
local map = vim.api.nvim_set_keymap local map = vim.api.nvim_set_keymap
map("", "<leader>gg", ":Flog<cr>", {}) map("", "<leader>gg", ":vertical Flogsplit<cr>", {})
map("", "<leader>gG", ":Flogsplit<cr>", {}) map("", "<leader>gG", ":vertical Flogsplit -path=%<cr>", {})
end end
} }