mirror of
https://github.com/kristoferssolo/SoloVim.git
synced 2026-02-04 06:42:05 +00:00
Yet another update
This commit is contained in:
@@ -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" },
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user