summaryrefslogtreecommitdiff
path: root/nvim/lua/tjk/options.lua
diff options
context:
space:
mode:
authorTim Keller <tjk@tjkeller.xyz>2024-10-17 22:46:39 -0500
committerTim Keller <tjk@tjkeller.xyz>2024-10-17 22:46:39 -0500
commit78d5e2082554d370f43216406f84872eaa2a4e5b (patch)
treefc354e842111062c057484cbb319e02037404975 /nvim/lua/tjk/options.lua
parent75793a911de3648963385c70237fc737f1967e9d (diff)
downloaddotconfig-78d5e2082554d370f43216406f84872eaa2a4e5b.tar.xz
dotconfig-78d5e2082554d370f43216406f84872eaa2a4e5b.zip
remove zsh and nvim configs from this repo and move to another
Diffstat (limited to 'nvim/lua/tjk/options.lua')
-rw-r--r--nvim/lua/tjk/options.lua38
1 files changed, 0 insertions, 38 deletions
diff --git a/nvim/lua/tjk/options.lua b/nvim/lua/tjk/options.lua
deleted file mode 100644
index 989c6c7..0000000
--- a/nvim/lua/tjk/options.lua
+++ /dev/null
@@ -1,38 +0,0 @@
-local opt = vim.opt
-local api = vim.api
-
--- misc
-opt.autochdir = true -- stay in current directory when opening a file
-opt.splitright = true -- open splits on right instead of left
-opt.splitbelow = true -- open splits on bottom instead of top
-opt.termguicolors = true -- truecolor in terminal, will be disabled in tty
-opt.wrap = false -- disable word wrapping
-opt.cursorline = true -- highlight current line
-
--- line numbers
-opt.number = true -- enable line numbers
-opt.relativenumber = true -- enable relative line numbers
-
--- show whitespace characters
-opt.list = true -- show whitespace characters defined in listchars
-opt.listchars = "tab:▏ ,space:·" -- highlight tabs and spaces
-
--- tabbing
-opt.tabstop = 4 -- set tabwidth to 4 instead of 8
-opt.shiftwidth = 4 -- tab key will only insert one tab
-
--- search
-opt.ignorecase = true -- case-insensitive search...
-opt.smartcase = true -- ...unless the search term is capital
-
--- experimental
-opt.smartindent = true
-opt.wildmode = "longest:list:full" -- Better auto-complete
-
--- dont continue comments on to new lines (:help fo-table)
-api.nvim_create_autocmd("FileType", { pattern = "*", callback = function()
- opt.formatoptions:remove { "c", "r", "o" }
-end})
-
--- ignore __pycache__ directories in file listings
-opt.wildignore = "__pycache__/,*/__pycache__/"