blob: 871b65ee8c3dfb2ae1595e06038ae2e8f787ea57 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#+title: Neovim Behaviour Settings
Use tabs with width 4.
#+begin_src lua :tangle ~/.config/nvim/lua/behaviour.lua :mkdirp yes
vim.opt.tabstop = 4
vim.opt.expandtab = true
vim.opt.shiftwidth = 4
vim.opt.autoindent = true
#+end_src
Better command line completion.
#+begin_src lua :tangle ~/.config/nvim/lua/behaviour.lua :mkdirp yes
vim.opt.wildmode = 'longest,list'
#+end_src
Better management of file types.
#+begin_src lua :tangle ~/.config/nvim/lua/behaviour.lua :mkdirp yes
vim.cmd('filetype plugin indent on')
#+end_src
|