Skip to content
This repository was archived by the owner on Dec 24, 2025. It is now read-only.

Commit 2d9a744

Browse files
committed
chore(docs): updated the README.md
began my intial attempt of writing a script to reproduce the entire config I i were to begin workign in another environment/os system. Also had a lot of hiccups with wakatime as it was not monitoring my activity any longer as such i removed it and installed it afresh again. In my vim config, i returned the setting for scrollign both up and down in telescope to its defaults. I have gotten used to <C-n> and <C-p> for upwards and downwards movements.
1 parent a795ee2 commit 2d9a744

File tree

8 files changed

+116
-28
lines changed

8 files changed

+116
-28
lines changed

.config/nvim/lazy-lock.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"mason-tool-installer.nvim": { "branch": "main", "commit": "517ef5994ef9d6b738322664d5fdd948f0fdeb46" },
1111
"mason.nvim": { "branch": "main", "commit": "fc98833b6da5de5a9c5b1446ac541577059555be" },
1212
"monokai-pro.nvim": { "branch": "master", "commit": "872f774303f79416000e8049630052f4124d9534" },
13-
"nvim-autopairs": { "branch": "master", "commit": "2647cce4cb64fb35c212146663384e05ae126bdf" },
13+
"nvim-autopairs": { "branch": "master", "commit": "23320e75953ac82e559c610bec5a90d9c6dfa743" },
1414
"nvim-lspconfig": { "branch": "master", "commit": "4ea9083b6d3dff4ddc6da17c51334c3255b7eba5" },
1515
"nvim-tree.lua": { "branch": "master", "commit": "6b5b36659688767fb9f133bb83024ab1466fe5cd" },
1616
"nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" },
@@ -19,6 +19,6 @@
1919
"snacks.nvim": { "branch": "main", "commit": "5eac729fa290248acfe10916d92a5ed5e5c0f9ed" },
2020
"telescope.nvim": { "branch": "master", "commit": "a0bbec21143c7bc5f8bb02e0005fa0b982edc026" },
2121
"toggleterm.nvim": { "branch": "main", "commit": "50ea089fc548917cc3cc16b46a8211833b9e3c7c" },
22-
"vim-wakatime": { "branch": "master", "commit": "f39c4a201ae350aaba713b59d4a4fdd88e0811aa" },
22+
"vim-wakatime": { "branch": "master", "commit": "cf51327a9e08935569614d1cb24e779ee9f45519" },
2323
"which-key.nvim": { "branch": "main", "commit": "fcbf4eea17cb299c02557d576f0d568878e354a4" }
2424
}

.config/nvim/lua/config/keymaps.lua

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,21 @@ end
8888
vim.keymap.set("n", "<C-p>", "<cmd> :lua PYTHON_TOGGLE()<CR> <cmd>")
8989
vim.keymap.set("i", "<C-p>", "<cmd> :lua PYTHON_TOGGLE()<CR> <cmd>")
9090

91-
-- open htop
92-
local htop = Terminal:new({ cmd = "htop", hidden = true })
9391

94-
function HTOP_TOGGLE()
95-
htop:toggle()
92+
-- open mysql
93+
local mysql = Terminal:new({ cmd = "mysql -u root -p", hidden = true })
94+
95+
function MYSQL_TOGGLE()
96+
mysql:toggle()
9697
end
97-
vim.keymap.set("n", "<C-h>", "<cmd> :lua HTOP_TOGGLE()<CR> <cmd>")
98-
vim.keymap.set("i", "<C-h>", "<cmd> :lua HTOP_TOGGLE()<CR> <cmd>")
98+
vim.keymap.set("n", "<C-m>", "<cmd> :lua MYSQL_TOGGLE()<CR> <cmd>")
99+
vim.keymap.set("i", "<C-m>", "<cmd> :lua MYSQL_TOGGLE()<CR> <cmd>")
100+
101+
-- open htop
102+
-- local htop = Terminal:new({ cmd = "htop", hidden = true })
103+
--
104+
-- function HTOP_TOGGLE()
105+
-- htop:toggle()
106+
-- end
107+
-- vim.keymap.set("n", "<C-h>", "<cmd> :lua HTOP_TOGGLE()<CR> <cmd>")
108+
-- vim.keymap.set("i", "<C-h>", "<cmd> :lua HTOP_TOGGLE()<CR> <cmd>")

.config/nvim/lua/config/plugins/telescope.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ return {
1515
mappings = {
1616
i = {
1717
-- move to prev and next search term in history
18-
["<C-n>"] = actions.cycle_history_next,
19-
["<C-p>"] = actions.cycle_history_prev,
18+
["<C-k>"] = actions.cycle_history_next,
19+
["<C-j>"] = actions.cycle_history_prev,
2020
-- move up and down in selection
21-
["<C-j>"] = actions.move_selection_next,
22-
["<C-k>"] = actions.move_selection_previous,
21+
["<C-n>"] = actions.move_selection_next,
22+
["<C-p>"] = actions.move_selection_previous,
2323

2424
["<Down>"] = actions.move_selection_next,
2525
["<Up>"] = actions.move_selection_previous,

.config/nvim/lua/config/plugins/wakatime.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
return {
44
"wakatime/vim-wakatime",
5+
version="v11.3.0",
56
lazy = false,
67
-- enable = false,
78
opts = {},

.config/wezterm/wezterm.lua

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,7 @@ if appearance.is_dark() then
143143
config.color_scheme = "Kibble (Gogh)"
144144
config.window_background_opacity = 0.85
145145
else
146-
config.color_scheme = "GruvboxLight"
147-
-- make terminal transparent!!
146+
config.color_scheme = "lovelace"
148147
config.window_background_opacity = 1
149148
end
150149

.gitignore

Lines changed: 0 additions & 10 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ To install this onto your system, run:
1111
$ ./setup
1212
```
1313

14-
<h2> Customization </h2>
15-
16-
A good place to customize would be the `.gitconfig` file, change existing variable names to yours
17-
1814
> [!IMPORTANT]
1915
> It might be a good idea to back up existing files of the same name as they will be replaced
16+
> A good place to customize would be the `.gitconfig` file, change existing variable names to yours

setup

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
#!/usr/bin/python
2+
import subprocess
3+
import platform
4+
import os
5+
6+
7+
# get environment and package manager
8+
def get_environ():
9+
"""
10+
use platform to get underlying system
11+
platform.system() will either return:
12+
- linux = 'Linux'
13+
- mac = 'Darwin'
14+
- window = 'Windows'
15+
"""
16+
17+
user_system = platform.system()
18+
if user_system == "Linux":
19+
distro = platform.freedesktop_os_release()
20+
print(f"Running on a {distro["ID"]}")
21+
elif user_system == "Darwin":
22+
print("Running on a Mac system")
23+
elif user_system == "Windows":
24+
print("Massive L dude! This script will not run")
25+
print("Try something else... like changing your OS!")
26+
else:
27+
print("Unable to get the host OS. Try again later?!")
28+
29+
30+
# def install_tools():
31+
# install underlying langs and tools
32+
# C/C++
33+
# GNU Make 4.4.1
34+
# gcc (GCC) 14.2.1 20250110 (Red Hat 14.2.1-7)
35+
# clang version 19.1.7 (Fedora 19.1.7-3.fc41)
36+
37+
# LUA
38+
# Lua 5.1.5
39+
# LuaJIT 2.1.1720049189
40+
41+
# PYTHON
42+
# Python 3.13.3
43+
# pip 25.1.1
44+
45+
# TYPESCRIPT/JAVASCRIPT
46+
# node -> v22.15.0
47+
# typescript@5.4.5
48+
# pnpm@10.10.0
49+
# @angular/cli@18.0.2
50+
51+
# RUST(for wezterm)
52+
# cargo 1.87.0
53+
54+
55+
# def install_software():
56+
# install all needed software that i use commonly
57+
# Neovim -> NVIM v0.10.4
58+
# Sublime Merge ->
59+
# Wezterm ->
60+
# Azure Data Studio ->
61+
# VLC ->
62+
# Firefox ->
63+
# Brave Browser ->
64+
# Teams-For-Linux ->
65+
66+
67+
# install the tools
68+
# git
69+
# bash
70+
# fzf
71+
# eza
72+
73+
74+
def main():
75+
print(
76+
"""
77+
888 888 .d888 d8b 888
78+
888 888 d88P" Y8P 888
79+
888 888 888 888
80+
.d88888 .d88b. 888888 888888 888 888 .d88b. .d8888b
81+
d88" 888 d88""88b 888 888 888 888 d8P Y8b 88K
82+
888 888 888 888 888 888 888 888 88888888 "Y8888b.
83+
Y88b 888 Y88..88P Y88b. 888 888 888 Y8b. X88
84+
"Y88888 "Y88P" "Y888 888 888 888 "Y8888 88888P'
85+
"""
86+
)
87+
get_environ()
88+
89+
90+
if __name__ == "__main__":
91+
main()

0 commit comments

Comments
 (0)