Skip to content

Commit 122dc8b

Browse files
committed
Started screwing around; added indentation rules
1 parent 3338d39 commit 122dc8b

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

init.lua

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,13 @@ vim.o.number = true
107107
-- Enable mouse mode, can be useful for resizing splits for example!
108108
vim.o.mouse = 'a'
109109

110+
-- Sets the theme to dark mode
111+
vim.o.background = 'dark'
112+
110113
-- Don't show the mode, since it's already in the status line
111114
vim.o.showmode = false
112115

113-
-- Sync clipboard between OS and Neovim.
116+
-- Sync clipboard between OS a:nd Neovim.
114117
-- Schedule the setting after `UiEnter` because it can increase startup-time.
115118
-- Remove this option if you want your OS clipboard to remain independent.
116119
-- See `:help 'clipboard'`
@@ -152,6 +155,11 @@ vim.o.splitbelow = true
152155
vim.o.list = true
153156
vim.opt.listchars = { tab = '» ', trail = '·', nbsp = '' }
154157

158+
vim.opt.expandtab = false
159+
vim.opt.tabstop = 2
160+
vim.opt.shiftwidth = 2
161+
vim.opt.softtabstop = 2
162+
155163
-- Preview substitutions live, as you type!
156164
vim.o.inccommand = 'split'
157165

@@ -202,7 +210,7 @@ vim.keymap.set('n', '<C-k>', '<C-w><C-k>', { desc = 'Move focus to the upper win
202210
-- NOTE: Some terminals have colliding keymaps or are not able to send distinct keycodes
203211
-- vim.keymap.set("n", "<C-S-h>", "<C-w>H", { desc = "Move window to the left" })
204212
-- vim.keymap.set("n", "<C-S-l>", "<C-w>L", { desc = "Move window to the right" })
205-
-- vim.keymap.set("n", "<C-S-j>", "<C-w>J", { desc = "Move window to the lower" })
213+
-- vim.keymap.set("n", "<C-S-j>", "<C-w>J",i { desc = "Move window to the lower" })
206214
-- vim.keymap.set("n", "<C-S-k>", "<C-w>K", { desc = "Move window to the upper" })
207215

208216
-- [[ Basic Autocommands ]]

0 commit comments

Comments
 (0)