changing to my own directory and adding documentation

This commit is contained in:
Arjun Patel
2023-02-05 18:43:41 -06:00
parent 119854d07d
commit 65aa4bbba2
6 changed files with 17 additions and 19 deletions
+11 -13
View File
@@ -1,18 +1,16 @@
### ThePrimeagen's init.lua
Prerequisite: install [ripgrep](https://github.com/BurntSushi/ripgrep).
## Step one
install ripgrep: `brew install ripgrep`
[The full video of me setting up this repo](https://www.youtube.com/watch?v=w7i4amO_zaE)
## Step two
open nvim anywhere. `nvim .`
For anyone that is interested in my vimrc, i will have a commit log below
documenting each one of my commits (easy to C-f the change you want to know
about though i would just suggest `git log -S`).
## Step three
run `:PackerSync`
### Change Log
* [33eee9ad](https://github.com/ThePrimeagen/init.lua/commit/33eee9ad0c035a92137d99dae06a2396be4c892e) initial commits
* [cb210006](https://github.com/ThePrimeagen/init.lua/commit/cb210006356b4b613b71c345cb2b02eefa961fc0) netrw, autogroups for yank highlighting, and auto remove whitespace
* [c8c0bf4a](https://github.com/ThePrimeagen/init.lua/commit/c8c0bf4aeacd0bd77136d9c5ee490680515a106b) zenmode. i really like this plugin
* [81c770d2](https://github.com/ThePrimeagen/init.lua/commit/81c770d2d2e32e59916b39c7f5babbc8560f7a82) copilot testing
* [4a96e645](https://github.com/ThePrimeagen/init.lua/commit/4a96e6457b0a0241ca7361ce62177aa6b9a33a38) fugitive mappings for push and pull
* [a3bad06a](https://github.com/ThePrimeagen/init.lua/commit/a3bad06a4681c322538d609aa1c0bd18880f77c6) disabled eslint. driving me crazy
## Step four
go ahead and play around in the remaps.
the vim related keymaps in are in the remaps.lua file. however, all
plugin related remaps are in their respective files.
+1 -1
View File
@@ -1,2 +1,2 @@
require("theprimeagen")
require("talksik")
@@ -1,9 +1,9 @@
require("theprimeagen.packer")
require("theprimeagen.set")
require("theprimeagen.remap")
require("talksik.packer")
require("talksik.set")
require("talksik.remap")
local augroup = vim.api.nvim_create_augroup
local ThePrimeagenGroup = augroup('ThePrimeagen', {})
local talksikGroup = augroup('talksik', {})
local autocmd = vim.api.nvim_create_autocmd
local yank_group = augroup('HighlightYank', {})
@@ -24,7 +24,7 @@ autocmd('TextYankPost', {
})
autocmd({"BufWritePre"}, {
group = ThePrimeagenGroup,
group = talksikGroup,
pattern = "*",
command = [[%s/\s\+$//e]],
})