27 lines
1 KiB
Org Mode
27 lines
1 KiB
Org Mode
#+title: Neovim Settings
|
|
This is the entry point for my Neovim configuration. I don't use Neovim much these days, so it is very stripped back from what it once was. Emacs is much comfier for most uses, so Neovim is mostly relegated to editing system configuration files.
|
|
|
|
Disable timeout to speed things up.
|
|
#+begin_src lua :tangle ~/.config/nvim/init.lua :mkdirp yes
|
|
vim.cmd([[set notimeout]])
|
|
#+end_src
|
|
|
|
Fix unable to open swap file issue.
|
|
#+begin_src lua :tangle ~/.config/nvim/init.lua :mkdirp yes
|
|
vim.cmd([[set directory=~/.local/share/nvim/swap//]])
|
|
#+end_src
|
|
|
|
Install plugins in the [[./lua/plugins.org][plugins.lua]] file.
|
|
#+begin_src lua :tangle ~/.config/nvim/init.lua :mkdirp yes
|
|
require('plugins')
|
|
#+end_src
|
|
|
|
Set up behaviour in the [[./lua/behaviour.org][behaviour.lua]] file.
|
|
#+begin_src lua :tangle ~/.config/nvim/init.lua :mkdirp yes
|
|
require('behaviour')
|
|
#+end_src
|
|
|
|
Set up appearance in the [[./lua/appearance.org][appearance.lua]] file.
|
|
#+begin_src lua :tangle ~/.config/nvim/init.lua :mkdirp yes
|
|
require('appearance')
|
|
#+end_src
|