diff options
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 13 |
1 files changed, 4 insertions, 9 deletions
@@ -36,15 +36,11 @@ I hope you enjoy your Neovim journey, | |||
36 | P.S. You can delete this when you're done too. It's your config now :) | 36 | P.S. You can delete this when you're done too. It's your config now :) |
37 | --]] | 37 | --]] |
38 | 38 | ||
39 | vim.cmd('source ' .. '~/helper/vimrc') | 39 | -- [[ General Config ]] |
40 | vim.cmd('source ' .. '~/.vim/vim-init/init/init-basic.vim') | ||
41 | vim.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) | ||
45 | vim.g.mapleader = ',' | ||
46 | vim.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()` |
226 | vim.keymap.set({ 'n', 'v' }, '<Space>', '<Nop>', { silent = true }) | ||
227 | 222 | ||
228 | -- Remap for dealing with word wrap | 223 | -- Remap for dealing with word wrap |
229 | vim.keymap.set('n', 'k', "v:count == 0 ? 'gk' : 'k'", { expr = true, silent = true }) | 224 | vim.keymap.set('n', 'k', "v:count == 0 ? 'gk' : 'k'", { expr = true, silent = true }) |