aboutsummaryrefslogtreecommitdiffhomepage
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua13
1 files changed, 4 insertions, 9 deletions
diff --git a/init.lua b/init.lua
index f7aafe0..4f12dac 100644
--- a/init.lua
+++ b/init.lua
@@ -36,15 +36,11 @@ I hope you enjoy your Neovim journey,
36P.S. You can delete this when you're done too. It's your config now :) 36P.S. You can delete this when you're done too. It's your config now :)
37--]] 37--]]
38 38
39vim.cmd('source ' .. '~/helper/vimrc') 39-- [[ General Config ]]
40vim.cmd('source ' .. '~/.vim/vim-init/init/init-basic.vim')
41vim.cmd('source ' .. '~/.vim/vim-init/init/init-keymaps.vim')
40 42
41 43
42-- Set comma as the leader key
43-- See `:help mapleader`
44-- NOTE: Must happen before plugins are required (otherwise wrong leader will be used)
45vim.g.mapleader = ','
46vim.g.maplocalleader = ','
47
48-- Install package manager 44-- Install package manager
49-- https://github.com/folke/lazy.nvim 45-- https://github.com/folke/lazy.nvim
50-- `:help lazy.nvim.txt` for more info 46-- `:help lazy.nvim.txt` for more info
@@ -130,7 +126,7 @@ require('lazy').setup({
130 -- See `:help indent_blankline.txt` 126 -- See `:help indent_blankline.txt`
131 opts = { 127 opts = {
132 char = '┊', 128 char = '┊',
133 show_trailing_blankline_indent = false, 129 show_trailing_blankline_indent = true,
134 }, 130 },
135 }, 131 },
136 132
@@ -223,7 +219,6 @@ vim.o.termguicolors = true
223 219
224-- Keymaps for better default experience 220-- Keymaps for better default experience
225-- See `:help vim.keymap.set()` 221-- See `:help vim.keymap.set()`
226vim.keymap.set({ 'n', 'v' }, '<Space>', '<Nop>', { silent = true })
227 222
228-- Remap for dealing with word wrap 223-- Remap for dealing with word wrap
229vim.keymap.set('n', 'k', "v:count == 0 ? 'gk' : 'k'", { expr = true, silent = true }) 224vim.keymap.set('n', 'k', "v:count == 0 ? 'gk' : 'k'", { expr = true, silent = true })