Refactor contents to be compatible with GNU Stow
This commit is contained in:
parent
c931ac6aae
commit
e23e66f801
116 changed files with 6 additions and 100 deletions
35
.config/nvim/init.lua
Normal file
35
.config/nvim/init.lua
Normal file
|
@ -0,0 +1,35 @@
|
|||
-- Configure Indent Settings
|
||||
vim.cmd("set expandtab")
|
||||
vim.cmd("set tabstop=2")
|
||||
vim.cmd("set softtabstop=2")
|
||||
vim.cmd("set shiftwidth=2")
|
||||
|
||||
-- Configure Navigation Keys
|
||||
--vim.keymap.set('n', '<c-Left>', ':wincmd h<CR>')
|
||||
--vim.keymap.set('n', '<c-Right>', ':wincmd l<CR>')
|
||||
--vim.keymap.set('n', '<c-Up>', ':wincmd k<CR>')
|
||||
--vim.keymap.set('n', '<c-Down>', ':wincmd j<CR>')
|
||||
|
||||
-- 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>gg", builtin.live_grep, { desc = "Grep Files" })
|
||||
|
||||
-- Init Treesitter Syntax Highlighting
|
||||
--require("config.treesitter")
|
||||
|
||||
-- Configure NeoTree (FS View)
|
||||
vim.keymap.set("n", "<leader>f", ":Neotree filesystem reveal left<CR>")
|
||||
|
||||
-- Configure Git
|
||||
vim.keymap.set("n", "<leader>gd", ":Gitsigns preview_hunk<CR>", { desc = "Git Diff" })
|
||||
vim.keymap.set("n", "<leader>gb", ":Gitsigns toggle_current_line_blame<CR>", { desc = "Git Blame" })
|
Loading…
Add table
Add a link
Reference in a new issue