aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/lua/behaviour.org
diff options
context:
space:
mode:
authorJacob Janzen <jjanzenn@proton.me>2024-08-08 17:07:35 -0500
committerJacob Janzen <jjanzenn@proton.me>2024-08-08 17:07:35 -0500
commit57667f82145277920ddacf59bf57c0046129bd63 (patch)
tree61dbee1960ab39bd69a1da0010c9f78b4fe6659d /.config/nvim/lua/behaviour.org
parent545dfbb53f2bb6d7669ca7bfd1f4775a9150b530 (diff)
move configs to hidden directories
Diffstat (limited to '.config/nvim/lua/behaviour.org')
-rw-r--r--.config/nvim/lua/behaviour.org19
1 files changed, 19 insertions, 0 deletions
diff --git a/.config/nvim/lua/behaviour.org b/.config/nvim/lua/behaviour.org
new file mode 100644
index 0000000..871b65e
--- /dev/null
+++ b/.config/nvim/lua/behaviour.org
@@ -0,0 +1,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