mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-01-26 11:14:08 +00:00
32 lines
692 B
Lua
32 lines
692 B
Lua
-- luacheck: globals vim
|
|
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
|