mirror of
https://github.com/Hydroxycarbamide/astrovim_user.git
synced 2025-05-04 20:29:08 -04:00
Fix mapping, enable astrocore, update neovide font
This commit is contained in:
parent
70a59dda08
commit
cb5572ac1f
3 changed files with 7 additions and 6 deletions
|
@ -1,5 +1,3 @@
|
||||||
if true then return {} end -- WARN: REMOVE THIS LINE TO ACTIVATE THIS FILE
|
|
||||||
|
|
||||||
-- AstroCore provides a central place to modify mappings, vim options, autocommands, and more!
|
-- AstroCore provides a central place to modify mappings, vim options, autocommands, and more!
|
||||||
-- Configuration documentation can be found with `:h astrocore`
|
-- Configuration documentation can be found with `:h astrocore`
|
||||||
-- NOTE: We highly recommend setting up the Lua Language Server (`:LspInstall lua_ls`)
|
-- NOTE: We highly recommend setting up the Lua Language Server (`:LspInstall lua_ls`)
|
||||||
|
@ -13,7 +11,7 @@ return {
|
||||||
-- Configure core features of AstroNvim
|
-- Configure core features of AstroNvim
|
||||||
features = {
|
features = {
|
||||||
large_buf = { size = 1024 * 500, lines = 10000 }, -- set global limits for large files for disabling features like treesitter
|
large_buf = { size = 1024 * 500, lines = 10000 }, -- set global limits for large files for disabling features like treesitter
|
||||||
autopairs = true, -- enable autopairs at start
|
autopairs = false, -- enable autopairs at start
|
||||||
cmp = true, -- enable completion at start
|
cmp = true, -- enable completion at start
|
||||||
diagnostics_mode = 3, -- diagnostic mode on start (0 = off, 1 = no signs/virtual text, 2 = no virtual text, 3 = on)
|
diagnostics_mode = 3, -- diagnostic mode on start (0 = off, 1 = no signs/virtual text, 2 = no virtual text, 3 = on)
|
||||||
highlighturl = true, -- highlight URLs at start
|
highlighturl = true, -- highlight URLs at start
|
||||||
|
@ -44,6 +42,7 @@ return {
|
||||||
mappings = {
|
mappings = {
|
||||||
-- first key is the mode
|
-- first key is the mode
|
||||||
n = {
|
n = {
|
||||||
|
|
||||||
-- second key is the lefthand side of the map
|
-- second key is the lefthand side of the map
|
||||||
|
|
||||||
-- navigate buffer tabs with `H` and `L`
|
-- navigate buffer tabs with `H` and `L`
|
||||||
|
@ -75,6 +74,10 @@ return {
|
||||||
-- setting a mapping to false will disable it
|
-- setting a mapping to false will disable it
|
||||||
-- ["<esc>"] = false,
|
-- ["<esc>"] = false,
|
||||||
},
|
},
|
||||||
|
i = {
|
||||||
|
-- vim.keymap.set("i", "jk", "<esc>")
|
||||||
|
["jk"] = { "<esc>", desc = "Exit insert mode" },
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,7 +9,7 @@ return {
|
||||||
options = {
|
options = {
|
||||||
opt = { -- configure vim.opt options
|
opt = { -- configure vim.opt options
|
||||||
-- configure font
|
-- configure font
|
||||||
-- guifont = "Source Code Pro:h14",
|
guifont = "FiraCode Nerd Font Mono:h11",
|
||||||
-- line spacing
|
-- line spacing
|
||||||
linespace = 0,
|
linespace = 0,
|
||||||
},
|
},
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
|
|
||||||
---@type LazySpec
|
---@type LazySpec
|
||||||
|
|
||||||
vim.keymap.set("i", "jk", "<esc>")
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|
||||||
-- == Examples of Adding Plugins ==
|
-- == Examples of Adding Plugins ==
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue