Yet another update

This commit is contained in:
Kristofers Solo
2023-08-09 16:36:35 +03:00
parent 6202d588b9
commit a763bf7372
13 changed files with 369 additions and 139 deletions

View File

@@ -8,17 +8,6 @@ vim.api.nvim_create_autocmd({ "FileType" }, {
end,
})
-- Remove statusline and tabline when in Alpha
-- vim.api.nvim_create_autocmd({ "User" }, {
-- pattern = { "AlphaReady" },
-- callback = function()
-- vim.cmd([[
-- set showtabline=0 | autocmd BufUnload <buffer> set showtabline=2
-- set laststatus=0 | autocmd BufUnload <buffer> set laststatus=3
-- ]])
-- end,
-- })
-- Set wrap and spell in markdown and gitcommit
vim.api.nvim_create_autocmd({ "FileType" }, {
pattern = { "gitcommit", "markdown", "vimwiki" },

View File

@@ -3,8 +3,6 @@ local opts = { silent = true }
--Remap space as leader key
bind("", "<Space>", "<Nop>", opts)
bind("n", "q", "<Nop>", opts)
bind("n", "Q", "<Nop>", opts)
vim.g.mapleader = " "
-- Modes