From 7b0ea5cbdaaa5b8392777ad207c74cb27411eab1 Mon Sep 17 00:00:00 2001 From: Jacob Janzen Date: Tue, 1 Oct 2024 17:42:59 -0500 Subject: the big refactor --- common/.config/nvim/lua/behaviour.lua.org | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 common/.config/nvim/lua/behaviour.lua.org (limited to 'common/.config/nvim/lua/behaviour.lua.org') diff --git a/common/.config/nvim/lua/behaviour.lua.org b/common/.config/nvim/lua/behaviour.lua.org new file mode 100644 index 0000000..871b65e --- /dev/null +++ b/common/.config/nvim/lua/behaviour.lua.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 -- cgit v1.2.3