Skip to content

Commit 116ef6e

Browse files
committed
Update to nshah
1 parent 97c039b commit 116ef6e

File tree

7 files changed

+11
-27
lines changed

7 files changed

+11
-27
lines changed

README.md

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,2 @@
1-
### ThePrimeagen's init.lua
1+
### nshah's init.lua
22
Prerequisite: install [ripgrep](https://github.com/BurntSushi/ripgrep).
3-
4-
[The full video of me setting up this repo](https://www.youtube.com/watch?v=w7i4amO_zaE)
5-
6-
For anyone that is interested in my vimrc, i will have a commit log below
7-
documenting each one of my commits (easy to C-f the change you want to know
8-
about though i would just suggest `git log -S`).
9-
10-
### Change Log
11-
* [33eee9ad](https://github.com/ThePrimeagen/init.lua/commit/33eee9ad0c035a92137d99dae06a2396be4c892e) initial commits
12-
* [cb210006](https://github.com/ThePrimeagen/init.lua/commit/cb210006356b4b613b71c345cb2b02eefa961fc0) netrw, autogroups for yank highlighting, and auto remove whitespace
13-
* [c8c0bf4a](https://github.com/ThePrimeagen/init.lua/commit/c8c0bf4aeacd0bd77136d9c5ee490680515a106b) zenmode. i really like this plugin
14-
* [81c770d2](https://github.com/ThePrimeagen/init.lua/commit/81c770d2d2e32e59916b39c7f5babbc8560f7a82) copilot testing
15-
* [4a96e645](https://github.com/ThePrimeagen/init.lua/commit/4a96e6457b0a0241ca7361ce62177aa6b9a33a38) fugitive mappings for push and pull
16-
* [a3bad06a](https://github.com/ThePrimeagen/init.lua/commit/a3bad06a4681c322538d609aa1c0bd18880f77c6) disabled eslint. driving me crazy
17-
18-

after/plugin/fugitive.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
vim.keymap.set("n", "<leader>gs", vim.cmd.Git)
22

3-
local ThePrimeagen_Fugitive = vim.api.nvim_create_augroup("ThePrimeagen_Fugitive", {})
3+
local nshah_Fugitive = vim.api.nvim_create_augroup("nshah_Fugitive", {})
44

55
local autocmd = vim.api.nvim_create_autocmd
66
autocmd("BufWinEnter", {
7-
group = ThePrimeagen_Fugitive,
7+
group = nshah_Fugitive,
88
pattern = "*",
99
callback = function()
1010
if vim.bo.ft ~= "fugitive" then

init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
require("theprimeagen")
1+
require("nshah")
22

lua/theprimeagen/init.lua renamed to lua/nshah/init.lua

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
require("theprimeagen.set")
2-
require("theprimeagen.remap")
1+
require("nshah.set")
2+
require("nshah.remap")
33

44
-- DO NOT INCLUDE THIS
5-
vim.opt.rtp:append("~/personal/streamer-tools")
5+
--vim.opt.rtp:append("~/personal/streamer-tools")
66
-- DO NOT INCLUDE THIS
77

88
local augroup = vim.api.nvim_create_augroup
9-
local ThePrimeagenGroup = augroup('ThePrimeagen', {})
9+
local nshahGroup = augroup('nshah', {})
1010

1111
local autocmd = vim.api.nvim_create_autocmd
1212
local yank_group = augroup('HighlightYank', {})
@@ -27,7 +27,7 @@ autocmd('TextYankPost', {
2727
})
2828

2929
autocmd({"BufWritePre"}, {
30-
group = ThePrimeagenGroup,
30+
group = nshahGroup,
3131
pattern = "*",
3232
command = [[%s/\s\+$//e]],
3333
})

lua/theprimeagen/packer.lua renamed to lua/nshah/packer.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ return require('packer').startup(function(use)
88
use 'wbthomason/packer.nvim'
99

1010
use {
11-
'nvim-telescope/telescope.nvim', tag = '0.1.0',
11+
'nvim-telescope/telescope.nvim', tag = '0.1.4',
1212
-- or , branch = '0.1.x',
1313
requires = { {'nvim-lua/plenary.nvim'} }
1414
}

lua/theprimeagen/remap.lua renamed to lua/nshah/remap.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ vim.keymap.set("n", "<leader>j", "<cmd>lprev<CR>zz")
4242
vim.keymap.set("n", "<leader>s", [[:%s/\<<C-r><C-w>\>/<C-r><C-w>/gI<Left><Left><Left>]])
4343
vim.keymap.set("n", "<leader>x", "<cmd>!chmod +x %<CR>", { silent = true })
4444

45-
vim.keymap.set("n", "<leader>vpp", "<cmd>e ~/.dotfiles/nvim/.config/nvim/lua/theprimeagen/packer.lua<CR>");
45+
vim.keymap.set("n", "<leader>vpp", "<cmd>e ~/.dotfiles/nvim/.config/nvim/lua/nshah/packer.lua<CR>");
4646
vim.keymap.set("n", "<leader>mr", "<cmd>CellularAutomaton make_it_rain<CR>");
4747

4848
vim.keymap.set("n", "<leader><leader>", function()
File renamed without changes.

0 commit comments

Comments
 (0)