@@ -54,13 +54,8 @@ vim.g.have_nerd_font = false
5454
5555-- [[ Setting options ]]
5656-- See `:help vim.o`
57- -- NOTE: You can change these options as you wish!
58- -- For more options, you can see `:help option-list`
5957
60- -- Make line numbers default
6158vim .o .number = true
62- -- You can also add relative line numbers, to help with jumping.
63- -- Experiment for yourself to see if you like it!
6459vim .o .relativenumber = true
6560
6661-- Enable mouse mode, can be useful for resizing splits for example!
@@ -111,18 +106,9 @@ vim.o.splitbelow = true
111106vim .o .list = true
112107vim .opt .listchars = { tab = ' » ' , trail = ' ·' , nbsp = ' ␣' }
113108
114- -- Preview substitutions live, as you type!
115109vim .o .inccommand = ' split'
116-
117- -- Show which line your cursor is on
118110vim .o .cursorline = true
119-
120- -- Minimal number of screen lines to keep above and below the cursor.
121111vim .o .scrolloff = 10
122-
123- -- if performing an operation that would fail due to unsaved changes in the buffer (like `:q`),
124- -- instead raise a dialog asking if you wish to save the current file(s)
125- -- See `:help 'confirm'`
126112vim .o .confirm = true
127113
128114-- [[ Basic Keymaps ]]
@@ -160,10 +146,10 @@ vim.keymap.set('i', '<Tab>', function()
160146end , { expr = true , noremap = true })
161147
162148-- TIP: Disable arrow keys in normal mode
163- -- vim.keymap.set('n', '<left>', '<cmd>echo "Use h to move!!"<CR>')
164- -- vim.keymap.set('n', '<right>', '<cmd>echo "Use l to move!!"<CR>')
165- -- vim.keymap.set('n', '<up>', '<cmd>echo "Use k to move!!"<CR>')
166- -- vim.keymap.set('n', '<down>', '<cmd>echo "Use j to move!!"<CR>')
149+ vim .keymap .set (' n' , ' <left>' , ' <cmd>echo "Use h to move!!"<CR>' )
150+ vim .keymap .set (' n' , ' <right>' , ' <cmd>echo "Use l to move!!"<CR>' )
151+ vim .keymap .set (' n' , ' <up>' , ' <cmd>echo "Use k to move!!"<CR>' )
152+ vim .keymap .set (' n' , ' <down>' , ' <cmd>echo "Use j to move!!"<CR>' )
167153
168154-- Keybinds to make split navigation easier.
169155-- Use CTRL+<hjkl> to switch between windows
0 commit comments