Skip to content

Commit 421753e

Browse files
committed
port over some basic settings from my .vimrc
1 parent ac2723b commit 421753e

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

lua/options.lua

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
vim.o.number = true
88
-- You can also add relative line numbers, to help with jumping.
99
-- Experiment for yourself to see if you like it!
10-
-- vim.o.relativenumber = true
10+
vim.o.relativenumber = true
1111

1212
-- Enable mouse mode, can be useful for resizing splits for example!
1313
vim.o.mouse = 'a'
@@ -72,3 +72,15 @@ vim.o.scrolloff = 10
7272
vim.o.confirm = true
7373

7474
-- vim: ts=2 sts=2 sw=2 et
75+
76+
-- Eliot's Additional customizations below
77+
78+
vim.o.backspace = '2' -- No backspace weirdness - not sure if this is necessary with nvim/kickstart
79+
vim.o.expandtab = true -- Tabs are converted to spaces
80+
vim.o.tabstop = 4 -- Tabs are four spaces wide
81+
vim.o.shiftwidth = 4 -- When auto-indent is on, use four spaces
82+
vim.o.smarttab = true -- Switch between indent and tab, depending on location
83+
84+
vim.o.hi = 150 -- command history is 150 long
85+
86+
-- vim.opt.shortmess:remove { 'S' } -- Enable display of position and count of search results -- This is handled by the kickstart status line but I'm leaving this in as a reference for how to remove options

0 commit comments

Comments
 (0)