@@ -28,14 +28,12 @@ to do the configuration yourself, you can run these commands to add my setup as
28281 . Clone the repository and install plugins:
2929
3030``` bash
31-
3231git clone git@github.com:micahkepe/dotfiles ~ /.config/micahkepe/dotfiles
3332```
3433
35342 . Open Neovim with this configuration:
3635
3736``` bash
38-
3937NVIM_APPNAME=micahkepe/dotfiles/nvim nvim
4038```
4139
@@ -115,7 +113,6 @@ If you are following along, let's first install NVChad before we continue:
115113** For Mac and Linux Users** :
116114
117115``` bash
118-
119116git clone https://github.com/NvChad/starter ~ /.config/nvim && nvim
120117```
121118
@@ -159,7 +156,6 @@ To do this, I created a separate file for the diagnostics configuration in
159156` nvim/lua/configs/diagnostics.lua ` :
160157
161158``` lua
162-
163159-- nvim/lua/configs/diagnostics.lua
164160local M = {}
165161
@@ -185,7 +181,6 @@ Then to load this configuration, I added the following lines to the top of my
185181` nvim/lua/configs/lspconfig.lua ` :
186182
187183``` lua
188-
189184-- nvim/lua/configs/lspconfig.lua
190185local diagnostics = require " configs.diagnostics"
191186
@@ -204,7 +199,6 @@ To do this, I altered the section in the `nvim/lua/init.lua` file that loads
204199NvChad's defined plugins:
205200
206201``` lua
207-
208202-- nvim/lua/init.lua
209203-- load plugins
210204require (" lazy" ).setup ({
@@ -311,7 +305,6 @@ usage.
311305** lazy.nvim** :
312306
313307``` lua
314-
315308-- nvim/lua/plugins/wilder.nvim
316309
317310return {
392385** lazy.nvim** :
393386
394387``` lua
395-
396388-- nvim/lua/plugins/image-nvim.lua
397389
398390-- For dependencies see
@@ -519,7 +511,6 @@ want to resume exactly where you left off.
519511** lazy.nvim** :
520512
521513``` lua
522-
523514-- automatically creates a Vim session when Neovim opens for saving work
524515return {
525516 " rmagatti/auto-session" ,
@@ -537,7 +528,6 @@ return {
537528Then I define these mappings to save and restore sessions:
538529
539530``` lua
540-
541531-- nvim/lua/mappings.lua
542532
543533-- Autosession mappings
@@ -567,7 +557,6 @@ can navigate between these panes with ease.
567557** lazy.nvim** :
568558
569559``` lua
570-
571560 {
572561 " christoomey/vim-tmux-navigator" ,
573562 lazy = false , -- load on start up to immediately enable
@@ -611,7 +600,6 @@ can navigate between these panes with ease.
611600If using tmux , add the following to your ` ~/.tmux.conf` :
612601
613602` ` ` bash
614-
615603# ~/ .tmux .conf
616604# Smart pane switching with awareness of Vim splits .
617605# See : https :// github .com / christoomey / vim - tmux - navigator
@@ -649,7 +637,6 @@ settings to suit your workflow.
649637** lazy.nvim** :
650638
651639``` lua
652-
653640-- nvim/lua/plugins/init.lua
654641{
655642" pocco81/auto-save.nvim" ,
@@ -673,7 +660,6 @@ style the UI to your liking.
673660** lazy.nvim** :
674661
675662``` lua
676-
677663-- nvim/lua/plugins/init.lua
678664{ " stevearc/dressing.nvim" , event = " VeryLazy" },
679665```
@@ -695,7 +681,6 @@ these by doing `<leader>ch` to pull up the mappings cheat sheet).
695681### Quality of Life Remaps
696682
697683``` lua
698-
699684-- nvim/lua/mappings.lua
700685require " nvchad.mappings" -- NVChad-defined mappings
701686
@@ -713,7 +698,6 @@ key provides a description of the mapping for use in command help or plugins
713698like ` which-key.nvim ` .
714699
715700``` lua
716-
717701map (" n" , " <leader>v" , " <C-w>v" , { desc = " Split window vertically" }) -- split window vertically
718702map (" n" , " <leader>sd" , " <cmd>close<CR>" , { desc = " Close current split" }) -- close current split window
719703map (" n" , " <leader>se" , " <C-w>=" , { desc = " Equalize splits" }) -- equalize split layouts
@@ -727,7 +711,6 @@ These mappings keep the cursor and search result centered in the window while
727711scrolling or jumping to search results.
728712
729713``` lua
730-
731714-- maintain visual context on page navigation and searching
732715map (" n" , " <C-d>" , " <C-d>zz" ) -- Keeps cursor centered when going down the page
733716map (" n" , " <C-u>" , " <C-u>zz" ) -- Keeps cursor centered when going up the page
@@ -744,7 +727,6 @@ These are the mappings I use for GitSigns, which I believe are fairly standard.
744727{{ gif(sources=[ "demos/gitsigns.mp4"] , width=80)}}
745728
746729``` lua
747-
748730map (" n" , " <leader>hn" , " <cmd>lua require'gitsigns'.next_hunk()<CR>" , { desc = " Next hunk" })
749731map (" n" , " <leader>hp" , " <cmd>lua require'gitsigns'.prev_hunk()<CR>" , { desc = " Previous hunk" })
750732map (" n" , " <leader>hs" , " <cmd>lua require'gitsigns'.stage_hunk()<CR>" , { desc = " Stage hunk" })
@@ -766,7 +748,6 @@ that enhances usability by enabling features like clipboard integration and
766748better search behavior.
767749
768750``` lua
769-
770751-- nvim/lua/options.lua
771752
772753require " nvchad.options"
0 commit comments