摘要: 后面具体学习时候再补充
Neovim Installation
针对不同的平台直接在github上下载对应的版本的文件,然后直接解压放到/usr/bin/nvim
Configuration
nvim的配置文件放在了~/.config/nvim
目录下,创建init.lua
文件和lua
目录,在lua
目录下放置你的配置文件,简单的init.lua
入选所示
--[[ init.lua ]]
-- LEADER
-- These keybindings need to be defined before the first /
-- is called; otherwise, it will default to "\"
vim.g.mapleader = ","
vim.g.localleader = "\\"
-- IMPORTS
-- require('vars') -- Variables
-- require('opts') -- Options
-- require('keys') -- Keymaps
-- require('plug') -- Plugins
Set Variables
你的变量的可以放在var.lua
文件中就可以进行全局变量的定义
Manage plugins with Packer
here is list including more awesosme neovim plugins
where i installed the Packer at the ~/.config/nvim/
