aboutsummaryrefslogtreecommitdiff
path: root/config/nvim/lua/behaviour.org
blob: d843d7bfbd31ddb93a9fd93426821d34d25ed3d0 (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 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 yes
  vim.opt.wildmode = 'longest,list'
#+end_src

Better management of file types.
#+begin_src lua :tangle yes
  vim.cmd('filetype plugin indent on')
#+end_src