aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--git/config3
-rw-r--r--nvim/lua/config/keymaps.lua2
-rw-r--r--nvim/lua/config/options.lua2
3 files changed, 5 insertions, 2 deletions
diff --git a/git/config b/git/config
index 4f95290..411b924 100644
--- a/git/config
+++ b/git/config
@@ -10,6 +10,9 @@
10[init] 10[init]
11 defaultBranch = master 11 defaultBranch = master
12 12
13[push]
14 autoSetupRemote = true
15
13[core] 16[core]
14 pager = delta 17 pager = delta
15 autocrlf = false 18 autocrlf = false
diff --git a/nvim/lua/config/keymaps.lua b/nvim/lua/config/keymaps.lua
index a2777e6..9896a57 100644
--- a/nvim/lua/config/keymaps.lua
+++ b/nvim/lua/config/keymaps.lua
@@ -107,7 +107,7 @@ function M.global()
107 map("n", "<leader>q", vim.diagnostic.setloclist, opts) 107 map("n", "<leader>q", vim.diagnostic.setloclist, opts)
108 108
109 map("n", "<leader>ts", function() 109 map("n", "<leader>ts", function()
110 vim.opt_local.spell = not vim.opt_local.spell:get() 110 vim.wo.spell = not vim.wo.spell
111 end, { desc = "Toggle spell checking" }) 111 end, { desc = "Toggle spell checking" })
112 112
113 map("n", "[d", function() 113 map("n", "[d", function()
diff --git a/nvim/lua/config/options.lua b/nvim/lua/config/options.lua
index ba97f75..227475a 100644
--- a/nvim/lua/config/options.lua
+++ b/nvim/lua/config/options.lua
@@ -87,7 +87,7 @@ opt.clipboard = "unnamedplus"
87 87
88-- Timeouts 88-- Timeouts
89opt.updatetime = 250 89opt.updatetime = 250
90opt.timeoutlen = 300 90opt.timeoutlen = 1000
91 91
92-- Dateiformat 92-- Dateiformat
93opt.fileformat = "unix" 93opt.fileformat = "unix"