Starting to move all vim to lua
This commit is contained in:
@@ -71,3 +71,6 @@ require("mason-lspconfig").setup_handlers({
|
||||
require("lspconfig").verible.setup({
|
||||
cmd = { "verible-verilog-ls", "--rules_config_search" },
|
||||
})
|
||||
|
||||
-- Floating terminal
|
||||
vim.keymap.set("n", "<C-t>", ":FloatermNew --height=0.9 --width=0.9 --wintype=float --name=terminal <CR>")
|
||||
|
||||
@@ -70,4 +70,5 @@ return {
|
||||
dependencies = "hrsh7th/nvim-cmp",
|
||||
},
|
||||
"jaredgorski/spacecamp",
|
||||
"voldikss/vim-floaterm",
|
||||
}
|
||||
|
||||
@@ -1,14 +1,25 @@
|
||||
-- Filetypes and compatibility
|
||||
vim.opt.compatible = false
|
||||
vim.cmd("filetype on")
|
||||
vim.cmd("filetype plugin on")
|
||||
vim.cmd("syntax on")
|
||||
|
||||
-- Editor configuration
|
||||
vim.opt.number = true
|
||||
vim.opt.tabstop = 4
|
||||
vim.opt.shiftwidth = 4
|
||||
vim.opt.expandtab = true
|
||||
vim.opt.showmatch = true
|
||||
vim.opt.splitright = true
|
||||
vim.opt.splitbelow = true
|
||||
vim.g.mapleader = ","
|
||||
|
||||
-- GUI
|
||||
vim.opt.cursorline = true
|
||||
vim.opt.hlsearch = true
|
||||
vim.opt.encoding = "UTF-8"
|
||||
vim.g.tex_flavor = "latex"
|
||||
vim.opt.conceallevel = 2
|
||||
vim.g.mapleader = ","
|
||||
vim.opt.showmatch = true
|
||||
|
||||
-- set color scheme
|
||||
vim.opt.termguicolors = true
|
||||
|
||||
Reference in New Issue
Block a user