Nvim restart (#9)

* chore(nvim): remove astronvim and configs

* feat(nvim): new, custom nvim configuration
This commit is contained in:
2023-08-27 15:12:22 +03:00
committed by GitHub
parent 3af8d8b638
commit 9fb925b38c
75 changed files with 3041 additions and 1349 deletions

30
config/nvim/init.lua Normal file
View File

@@ -0,0 +1,30 @@
local key = vim.api.nvim_set_keymap
local remap = { noremap = true, silent = true }
-- Set with normal Vim opts, 'Space' as mapleader
vim.g.mapleader = " "
vim.g.maplocalleader = " "
-- Set 'Space' as <NOP> key to leadermap key
key("n", "<Space>", "<NOP>", remap)
-- Filetype specialties.
require("filetype")
-- Global, windows options of neovim:
require("options")
-- To adminstrate packages:
require("plugin-manager")
-- LSP for editing.
require("lsp")
-- Autocmd commands from Vimscript
require("autocmd")
-- Personal Keymaps of neovim:
require("keymappings")
-- The line beneath this is called `modeline`. See `:help modeline`
-- vim: ts=2 sts=2 sw=2 et