Move extra config files into config directory

This commit is contained in:
Evie Litherland-Smith 2023-02-20 12:05:08 +00:00
parent ce7fed242e
commit 9bc564895f
6 changed files with 4 additions and 18 deletions

View file

@ -13,11 +13,7 @@ if not vim.loop.fs_stat(lazypath) then
}
end
vim.opt.rtp:prepend(lazypath)
require("lazy").setup "plugins"
-- Set vim options
require "options"
-- Define custom keymappings
require "keymaps"
-- Remaining vim commands to be converted to lua
require "vimcommands"
require "config"

View file

@ -7,7 +7,6 @@ vim.g.python_indent = {
continue = "shiftwidth()",
closed_paren_align_last_line = "v:false",
}
vim.opt.termguicolors = true
vim.opt.laststatus = 3
vim.opt.mouse = "nv"
vim.opt.shiftwidth = 4
@ -23,3 +22,4 @@ vim.opt.autoindent = true
vim.opt.smartindent = true
vim.opt.splitbelow = true
vim.opt.splitright = true
require "config.keymaps"

View file

@ -4,6 +4,7 @@ return {
lazy = false,
priority = 1000,
config = function()
vim.opt.termguicolors = true
require "ui.fillchars"
require("catppuccin").setup(require "ui.catppuccin_opts")
vim.cmd "colorscheme catppuccin"

View file

@ -1,11 +0,0 @@
-- TODO convert to lua
vim.cmd "let &t_ut=''" -- For kitty background colour support
vim.cmd [[
au BufRead,BufNewFile *.ipynb setlocal filetype=json
au BufRead,BufNewFile *.md setlocal spell
au BufRead,BufNewFile *.code-workspace setlocal filetype=json
au BufRead,BufNewFile *.csv setlocal nowrap
au BufRead,BufNewFile *.service[a-zA-Z0-9]* setlocal filetype=systemd
au TermOpen * setlocal nonumber norelativenumber
syntax on
]]