aboutsummaryrefslogtreecommitdiff
path: root/gentoo/.config/nvim/lua/behaviour.org
diff options
context:
space:
mode:
authorJacob Janzen <jjanzenn@proton.me>2024-08-09 20:48:10 -0500
committerJacob Janzen <jjanzenn@proton.me>2024-08-09 20:48:10 -0500
commit40f02bc8088ca93224bf65f083c4ab3b17eaf435 (patch)
treef5c4d0bd619a4f7547f318a86ecfdd05e88ca814 /gentoo/.config/nvim/lua/behaviour.org
parentd97f4feb2c17835d31a4dff5f1109d50c4111943 (diff)
move gentoo into subdirectory
Diffstat (limited to 'gentoo/.config/nvim/lua/behaviour.org')
-rw-r--r--gentoo/.config/nvim/lua/behaviour.org19
1 files changed, 19 insertions, 0 deletions
diff --git a/gentoo/.config/nvim/lua/behaviour.org b/gentoo/.config/nvim/lua/behaviour.org
new file mode 100644
index 0000000..871b65e
--- /dev/null
+++ b/gentoo/.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