Add NeoVim configuration with default font and update setup script
This commit is contained in:
parent
c02f5ce861
commit
255cad1cb4
107 changed files with 290 additions and 0 deletions
25
nvim/init.lua
Normal file
25
nvim/init.lua
Normal file
|
@ -0,0 +1,25 @@
|
|||
-- Configure Indent Settings
|
||||
vim.cmd("set expandtab")
|
||||
vim.cmd("set tabstop=2")
|
||||
vim.cmd("set softtabstop=2")
|
||||
vim.cmd("set shiftwidth=2")
|
||||
|
||||
-- Configure Editor Settings
|
||||
vim.cmd("set number")
|
||||
vim.opt.guifont = "JetBrainsMonoNerdFontMono:14"
|
||||
-- Custom Key Binds
|
||||
vim.g.mapleader = " "
|
||||
|
||||
-- Init Lazy Plugin Manager
|
||||
require("config.lazy")
|
||||
|
||||
-- Configure Telescope Keymaps
|
||||
local builtin = require("telescope.builtin")
|
||||
vim.keymap.set('n', '<C-p>', builtin.find_files, {})
|
||||
vim.keymap.set('n', '<leader>g', builtin.live_grep, {})
|
||||
|
||||
-- Init Treesitter Syntax Highlighting
|
||||
--require("config.treesitter")
|
||||
|
||||
-- Configure NeoTree (FS View)
|
||||
vim.keymap.set('n', '<leader>f', ':Neotree filesystem reveal left<CR>')
|
Loading…
Add table
Add a link
Reference in a new issue