Neovim Seth Phaeno Setup Guide
-
nvim configuration goes in
.config/nvim -
He created directory
afterthat he said he would talk about later:mkdir .config/nvim/after -
He created the file
init.lua:touch init.lua -
He also created a directory called
lua:mkdir .config/nvim/lua -
He then created a directory called
Sethy:mkdir .config/nvim/lua/Terryin my case. Not necessary he says but I'll see what I think. -
Then a directory for settings and keybindings:
mkdir .config/nvim/lua/Terry/core -
Inside core he pressed the
%sign to create a file and named itoptions.luaand saved it as an empty file -
:Exto get back to the file tree. And%to createkeymaps.luaalso saved as an empty file -
dto create a directory in the file explorer and%to create a file (He'll change that later) -
Back to the
init.luafile andrequire("Terry.core")- Bunch of errors because required directories have to have aninit.luafile
- Now some options in
options.lua
vim.cmd("let g:netrw_banner = 0")
vim.opt.guicursor = ""
vim.opt.nu = true
vim opt.relativenumber = true
vim.opt.tabstop = 4
vim.opt.softtabstop = 4
vim.opt.shiftwidth = 4
vim.opt.expandtab = true
vim.opt.autoindent = true
vim.opt.smartindent = true
vim.opt.wrap = false
vim.opt.swapfile = false
vim.opt.backup = false
vim.opt.undofile = true