mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-01-27 19:45:36 +00:00
* chore(nvim): remove astronvim and configs * feat(nvim): new, custom nvim configuration
31 lines
667 B
Lua
31 lines
667 B
Lua
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
|