Compare commits

...

55 commits
neo ... neo

Author SHA1 Message Date
a4b6cc1b01
load OhMyPosh first for a Faster feeling shell 2024-10-18 23:45:01 +02:00
bbfdfb16ec
Improve auto complete and add a new dir for dependency install scripts 2024-10-18 23:43:41 +02:00
628f5d1f90
Add Volta auto install to zsh config 2024-10-18 21:34:22 +02:00
da957d2706
Update SSH and GPG config 2024-10-18 18:05:03 +02:00
c4c5b2b1e4
New Signing 2024-10-14 21:41:33 +02:00
a2eef3d6ca
Alot of Config 2024-10-12 00:50:43 +02:00
8c4fd15de1
Major Update to ZSH config, also pruning Bash 2024-10-12 00:10:17 +02:00
d6ad4a9392
Update Zinit Plugins 2024-10-01 20:08:39 +02:00
b740c96095
STuff 2024-09-17 20:53:58 +02:00
59c99ff6f6
Minor Tweaks to zsh, and updating neovim 2024-09-08 12:02:22 +02:00
e3505682e6
use new Nvim 2024-09-07 20:39:48 +02:00
3718ea00b3
Update shortcuts 2024-09-07 17:56:23 +02:00
a38a981b61
use new nvim config 2024-09-07 17:56:05 +02:00
7ccacd5f3b
Khronkite Tweaks 2024-09-05 16:42:09 +02:00
81f7856cda
Minor stuff 2024-09-04 22:31:49 +02:00
8e524ae50a
Minor tweaks 2024-09-04 06:22:19 +02:00
ad3bde2ba3
Minor tweaks 2024-09-04 06:18:00 +02:00
e8d52d0788
Update GPG Key for git 2024-09-01 16:00:17 +02:00
099dc946d3
Add KDE Shortcuts config 2024-09-01 12:57:02 +02:00
c044db89d3
Add ZSH with OMP 2024-09-01 12:41:16 +02:00
ae4b252b6c
Improve bashrc 2024-08-03 13:17:40 +02:00
93db3d0320
cleanup 2024-07-29 23:16:08 +02:00
a9ea502751
Update Gitconfig and Bash Aliases 2024-07-26 18:05:30 +02:00
6ad04f349c
Update bashrc 2024-07-21 20:45:57 +02:00
2d259180b3
Change Git Comment Char 2024-07-20 11:38:45 +02:00
23537666fc
Add GPG Key ID 2024-07-19 12:49:28 +02:00
946b44055a
add secondary git user for secondarty device 2024-07-19 12:45:47 +02:00
01470465c7 .config/ssh/.gitignore aktualisiert 2024-07-19 10:39:43 +00:00
02d7b34463 .config/ssh/.gitignore aktualisiert 2024-07-19 10:36:17 +00:00
28136e4a73 .config/ssh/.gitignore hinzugefügt 2024-07-19 10:36:08 +00:00
766878d9c3
Add gitignroe for .config 2024-07-19 12:32:33 +02:00
694fe9dc77
Enable Just Modules 2024-07-12 23:23:49 +02:00
d8fb6f9091
Minor Fixes 2024-07-12 23:05:04 +02:00
ceaef8e199 Readme.md hinzugefügt 2024-07-02 22:27:26 +00:00
fb39cc719a
make nvim moduel track master 2024-07-03 00:24:49 +02:00
8efb1caec2 .gitmodules aktualisiert 2024-07-02 22:15:20 +00:00
14fb103719
add nvim submodule 2024-07-03 00:09:23 +02:00
7273ea8d92
remove nvim conf 2024-07-03 00:07:08 +02:00
1e1d5d264a
Add Stylua config to nvim conf 2024-06-02 19:45:17 +02:00
7e4d0339de
Fixing Directory naming 2024-06-02 19:33:33 +02:00
c26606c198
Switching to Lazydev 2024-06-02 19:31:52 +02:00
30fbc2f9c3
Improve git Config 2024-06-02 19:30:27 +02:00
2aacd10240
Cleanup 2024-06-02 19:29:11 +02:00
0eaa505631
Add ROCM GPU Config 2024-06-02 19:06:54 +02:00
8b88430554
Cleanup 2024-06-01 22:55:07 +02:00
1ee146c5ba
Move some DotDirectories 2024-06-01 22:35:39 +02:00
adb2953f8c
Fix Status bar 2024-06-01 21:57:04 +02:00
acb1c692bf
Minor Tweaks 2024-06-01 10:59:35 +02:00
87764d8fdd
Cleanup 2024-05-31 20:47:56 +02:00
4cda1e2780
Add Glow theme 2024-05-31 20:24:27 +02:00
564e6a0959
Cleanup 2024-05-31 20:17:45 +02:00
1e89056dee
LSP Code restructuring 2024-05-31 18:59:57 +02:00
9885622e29
Add bash TODO alias 2024-05-31 18:59:25 +02:00
b830099aae
Add git FL alias (force with lease) 2024-05-31 18:59:14 +02:00
c829f44fed Merge pull request 'Add Go Debugger' (#1) from SZUT-Dominik/Dotfiles:neo into neo
Reviewed-on: Snoweuph/Dotfiles#1
2024-05-31 16:13:54 +00:00
54 changed files with 870 additions and 945 deletions

View file

@ -1,10 +0,0 @@
# Load login settings and environment variables
if [[ -f ~/.profile ]]; then
source ~/.profile
fi
# Load interactive settings
if [[ -f ~/.bashrc ]]; then
source ~/.bashrc
fi

55
.bashrc
View file

@ -1,55 +0,0 @@
#################################
## Check for Interactivy Shell ##
#################################
case $- in
*i*) ;;
*) return;;
esac
#################################
## Oh My Bash ##
#################################
export OSH="$HOME/.config/oh-my-bash"
OSH_CUSTOM="$HOME/.config/oh-my-bash-custom"
OSH_THEME="agnoster-modded"
DEFAULT_USER=$(whoami)
ENABLE_CORRECTION=true
OMB_USE_SUDO=true
completions=(
git
composer
ssh
)
aliases=(
general
)
plugins=(
git
bashmarks
)
source "$OSH"/oh-my-bash.sh
#################################
## Application Envs ##
#################################
# Volta
export PATH=$PATH:~/.local/bin
export VOLTA_HOME="$HOME/.volta"
export PATH="$VOLTA_HOME/bin:$PATH"
# Podman as Docker on Immutable Distros
export DOCKER_HOST=unix:///run/user/1000/podman/podman.sock
#################################
## Aliases ##
#################################
alias nvim-conf="nvim ~/.config/nvim"
alias bash-conf="nvim #/.bashrc"
alias nano="nvim"
alias neofetch="fastfetch"

23
.config/.gitignore vendored Normal file
View file

@ -0,0 +1,23 @@
# Ignore Everything By Default
/*
#Unignore Ignore
!.gitignore
# Oh My Bash
!/oh-my-bash-custom/
# oh My Posh
!omp.toml
# SSH
!/ssh/
# neovim
!/nvim/
# git
!/git/
# KDE
!kglobalshortcutsrc

View file

@ -0,0 +1,210 @@
{
"document": {
"block_prefix": "\n",
"block_suffix": "\n",
"color": "#cad3f5",
"margin": 2
},
"block_quote": {
"indent": 1,
"indent_token": "│ "
},
"paragraph": {},
"list": {
"level_indent": 2
},
"heading": {
"block_suffix": "\n",
"color": "#cad3f5",
"bold": true
},
"h1": {
"prefix": " ",
"suffix": " ",
"color": "#24273a",
"background_color": "#8aadf4",
"bold": true
},
"h2": {
"prefix": "██ ",
"suffix": " ",
"color": "#24273a",
"background_color": "#7dc4e4"
},
"h3": {
"prefix": "████ ",
"suffix": " ",
"color": "#24273a",
"background_color": "#91d7e3"
},
"h4": {
"prefix": "██████ ",
"suffix": " ",
"color": "#24273a",
"background_color": "#8bd5ca"
},
"h5": {
"prefix": "████████ ",
"suffix": " ",
"color": "#24273a",
"background_color": "#7dc4e4"
},
"h6": {
"prefix": "██████████ ",
"suffix": " ",
"color": "#24273a",
"background_color": "#b7bdf8"
},
"text": {},
"strikethrough": {
"crossed_out": true
},
"emph": {
"italic": true
},
"strong": {
"bold": true
},
"hr": {
"color": "#6e738d",
"format": "\n──────────────────────────────────────────────────────────────────────────\n"
},
"item": {
"block_prefix": "• "
},
"enumeration": {
"block_prefix": ". "
},
"task": {
"ticked": " ",
"unticked": " "
},
"link": {
"color": "#8aadf4",
"underline": true
},
"link_text": {
"color": "#b7bdf8",
"bold": true
},
"image": {
"color": "#8aadf4",
"underline": true
},
"image_text": {
"color": "#b7bdf8",
"format": "Image: {{.text}} →"
},
"code": {
"prefix": " ",
"suffix": " ",
"color": "#8aadf4",
"background_color": "#363a4f"
},
"code_block": {
"color": "#1e2030",
"margin": 2,
"chroma": {
"text": {
"color": "#cad3f5"
},
"error": {
"color": "#cad3f5",
"background_color": "#ed8796"
},
"comment": {
"color": "#6e738d"
},
"comment_preproc": {
"color": "#8aadf4"
},
"keyword": {
"color": "#c6a0f6"
},
"keyword_reserved": {
"color": "#c6a0f6"
},
"keyword_namespace": {
"color": "#eed49f"
},
"keyword_type": {
"color": "#eed49f"
},
"operator": {
"color": "#91d7e3"
},
"punctuation": {
"color": "#939ab7"
},
"name": {
"color": "#b7bdf8"
},
"name_builtin": {
"color": "#f5a97f"
},
"name_tag": {
"color": "#c6a0f6"
},
"name_attribute": {
"color": "#eed49f"
},
"name_class": {
"color": "#eed49f"
},
"name_constant": {
"color": "#eed49f"
},
"name_decorator": {
"color": "#f5bde6"
},
"name_exception": {},
"name_function": {
"color": "#8aadf4"
},
"name_other": {},
"literal": {},
"literal_number": {
"color": "#f5a97f"
},
"literal_date": {},
"literal_string": {
"color": "#a6da95"
},
"literal_string_escape": {
"color": "#f5bde6"
},
"generic_deleted": {
"color": "#ed8796"
},
"generic_emph": {
"color": "#cad3f5",
"italic": true
},
"generic_inserted": {
"color": "#a6da95"
},
"generic_strong": {
"color": "#cad3f5",
"bold": true
},
"generic_subheading": {
"color": "#91d7e3"
},
"background": {
"background_color": "#363a4f"
}
}
},
"table": {
"center_separator": "┼",
"column_separator": "│",
"row_separator": "─"
},
"definition_list": {},
"definition_term": {},
"definition_description": {
"block_prefix": "\n🠶 "
},
"html_block": {},
"html_span": {}
}

356
.config/kglobalshortcutsrc Normal file
View file

@ -0,0 +1,356 @@
[ActivityManager]
_k_friendly_name=Activity Manager
switch-to-activity-06e56b50-274c-44d5-bd05-253d1e88a244=none,none,Switch to activity "Standard"
switch-to-activity-10eae782-cee3-42c7-b63f-6cfa29a432f4=none,none,Switch to activity "Default"
switch-to-activity-12c956f8-79d2-4e10-ba60-c476b4f44bc6=none,none,Switch to activity "Default"
switch-to-activity-c9029e69-ec79-4399-8d82-a2b36f65b1d5=none,none,Switch to activity "Default"
[KDE Keyboard Layout Switcher]
Switch keyboard layout to English (UK, extended, Windows)=none,none,Switch keyboard layout to English (UK\\, extended\\, Windows)
Switch to Last-Used Keyboard Layout=Meta+Alt+L,Meta+Alt+L,Switch to Last-Used Keyboard Layout
Switch to Next Keyboard Layout=Meta+Alt+K,Meta+Alt+K,Switch to Next Keyboard Layout
_k_friendly_name=Keyboard Layout Switcher
[kaccess]
Toggle Screen Reader On and Off=Meta+Alt+S,Meta+Alt+S,Toggle Screen Reader On and Off
_k_friendly_name=Accessibility
[kcm_touchpad]
Disable Touchpad=Touchpad Off,Touchpad Off,
Enable Touchpad=Touchpad On,Touchpad On,
Toggle Touchpad=Touchpad Toggle\tMeta+Ctrl+Zenkaku Hankaku,Touchpad Toggle\tMeta+Ctrl+Zenkaku Hankaku,
_k_friendly_name=Touchpad
[kmix]
_k_friendly_name=Audio Volume
decrease_microphone_volume=Microphone Volume Down,Microphone Volume Down,Decrease Microphone Volume
decrease_volume=Volume Down,Volume Down,Decrease Volume
decrease_volume_small=Shift+Volume Down,Shift+Volume Down,Decrease Volume by 1%
increase_microphone_volume=Microphone Volume Up,Microphone Volume Up,Increase Microphone Volume
increase_volume=Volume Up,Volume Up,Increase Volume
increase_volume_small=Shift+Volume Up,Shift+Volume Up,Increase Volume by 1%
mic_mute=Microphone Mute\tMeta+Volume Mute,Microphone Mute\tMeta+Volume Mute,Mute Microphone
mute=Volume Mute,Volume Mute,Mute
[ksmserver]
Halt Without Confirmation=none,,Shut Down Without Confirmation
Lock Session=Screensaver,Meta+L\tScreensaver,Lock Session
Log Out=Ctrl+Alt+Del,Ctrl+Alt+Del,Show Logout Prompt
Log Out Without Confirmation=none,,Log Out Without Confirmation
LogOut=none,,Log Out
Reboot=none,,Reboot
Reboot Without Confirmation=none,,Reboot Without Confirmation
Shut Down=none,,Shut Down
_k_friendly_name=Session Management
[kwin]
Activate Tile 1=none,none,Activate Tile 1
Activate Tile 10=none,none,Activate Tile 10
Activate Tile 2=none,none,Activate Tile 2
Activate Tile 3=none,none,Activate Tile 3
Activate Tile 4=none,none,Activate Tile 4
Activate Tile 5=none,none,Activate Tile 5
Activate Tile 6=none,none,Activate Tile 6
Activate Tile 7=none,none,Activate Tile 7
Activate Tile 8=none,none,Activate Tile 8
Activate Tile 9=none,none,Activate Tile 9
Activate Window Demanding Attention=none,Meta+Ctrl+A,Activate Window Demanding Attention
Assign to Tile 1=none,none,Assign to Tile 1
Assign to Tile 10=none,none,Assign to Tile 10
Assign to Tile 2=none,none,Assign to Tile 2
Assign to Tile 3=none,none,Assign to Tile 3
Assign to Tile 4=none,none,Assign to Tile 4
Assign to Tile 5=none,none,Assign to Tile 5
Assign to Tile 6=none,none,Assign to Tile 6
Assign to Tile 7=none,none,Assign to Tile 7
Assign to Tile 8=none,none,Assign to Tile 8
Assign to Tile 9=none,none,Assign to Tile 9
Cycle Overview=none,none,Cycle through Overview and Grid View
Cycle Overview Opposite=none,none,Cycle through Grid View and Overview
Decrease Opacity=none,,Decrease Opacity of Active Window by 5%
Edit Tiles=none,Meta+T,Toggle Tiles Editor
Expose=none,Ctrl+F9,Toggle Present Windows (Current desktop)
ExposeAll=none,Ctrl+F10\tLaunch (C),Toggle Present Windows (All desktops)
ExposeClass=none,Ctrl+F7,Toggle Present Windows (Window class)
ExposeClassCurrentDesktop=none,none,Toggle Present Windows (Window class on current desktop)
Grid View=none,Meta+G,Toggle Grid View
Increase Opacity=none,,Increase Opacity of Active Window by 5%
Invert=Meta+Ctrl+I,Meta+Ctrl+I,Toggle Invert Effect
Invert Screen Colors=none,none,Invert Screen Colors
InvertWindow=none,Meta+Ctrl+U,Toggle Invert Effect on Window
Kill Window=Alt+Shift+F4\tMeta+Shift+Q,Meta+Ctrl+Esc,Kill Window
KrohnkiteBTreeLayout=none,none,Krohnkite: BTree Layout
KrohnkiteDecrease=none,none,Krohnkite: Decrease
KrohnkiteFloatAll=none,none,Krohnkite: Float All
KrohnkiteFloatingLayout=none,none,Krohnkite: Floating Layout
KrohnkiteFocusDown=Meta+J,none,Krohnkite: Focus Down
KrohnkiteFocusLeft=Meta+H,none,Krohnkite: Focus Left
KrohnkiteFocusNext=none,none,Krohnkite: Focus Next
KrohnkiteFocusPrev=none,none,Krohnkite: Focus Previous
KrohnkiteFocusRight=Meta+L,none,Krohnkite: Focus Right
KrohnkiteFocusUp=Meta+K,none,Krohnkite: Focus Up
KrohnkiteGrowHeight=none,none,Krohnkite: Grow Height
KrohnkiteIncrease=none,none,Krohnkite: Increase
KrohnkiteMonocleLayout=none,none,Krohnkite: Monocle Layout
KrohnkiteNextLayout=Meta+M,none,Krohnkite: Next Layout
KrohnkitePreviousLayout=Meta+Shift+M,none,Krohnkite: Previous Layout
KrohnkiteQuarterLayout=none,none,Krohnkite: Quarter Layout
KrohnkiteRotate=Meta+R,none,Krohnkite: Rotate
KrohnkiteRotatePart=none,none,Krohnkite: Rotate Part
KrohnkiteSetMaster=none,none,Krohnkite: Set master
KrohnkiteShiftDown=Meta+Shift+J,none,Krohnkite: Move Down/Next
KrohnkiteShiftLeft=Meta+Shift+H,none,Krohnkite: Move Left
KrohnkiteShiftRight=Meta+Shift+L,none,Krohnkite: Move Right
KrohnkiteShiftUp=Meta+Shift+K,none,Krohnkite: Move Up/Prev
KrohnkiteShrinkHeight=none,none,Krohnkite: Shrink Height
KrohnkiteShrinkWidth=none,none,Krohnkite: Shrink Width
KrohnkiteSpiralLayout=none,none,Krohnkite: Spiral Layout
KrohnkiteSpreadLayout=none,none,Krohnkite: Spread Layout
KrohnkiteStackedLayout=none,none,Krohnkite: Stacked Layout
KrohnkiteStairLayout=none,none,Krohnkite: Stair Layout
KrohnkiteTileLayout=none,none,Krohnkite: Tile Layout
KrohnkiteToggleFloat=Meta+F,none,Krohnkite: Toggle Float
KrohnkiteTreeColumnLayout=none,none,Krohnkite: Tree Column Layout
KrohnkitegrowWidth=none,none,Krohnkite: Grow Width
Move Tablet to Next Output=none,none,Move the tablet to the next output
MoveMouseToCenter=none,Meta+F6,Move Mouse to Center
MoveMouseToFocus=none,Meta+F5,Move Mouse to Focus
MoveZoomDown=none,none,Move Zoomed Area Downwards
MoveZoomLeft=none,none,Move Zoomed Area to Left
MoveZoomRight=none,none,Move Zoomed Area to Right
MoveZoomUp=none,none,Move Zoomed Area Upwards
Overview=Meta+Tab,Meta+W,Toggle Overview
PoloniumCycleEngine=none,none,Polonium: Cycle Engine
PoloniumFocusAbove=none,none,Polonium: Focus Above
PoloniumFocusBelow=none,none,Polonium: Focus Below
PoloniumFocusLeft=none,none,Polonium: Focus Left
PoloniumFocusRight=none,none,Polonium: Focus Right
PoloniumInsertAbove=none,none,Polonium: Insert Above
PoloniumInsertBelow=none,none,Polonium: Insert Below
PoloniumInsertLeft=none,none,Polonium: Insert Left
PoloniumInsertRight=none,none,Polonium: Insert Right
PoloniumOpenSettings=none,none,Polonium: Open Settings Dialog
PoloniumResizeAbove=none,none,Polonium: Resize Above
PoloniumResizeBelow=none,none,Polonium: Resize Below
PoloniumResizeLeft=none,none,Polonium: Resize Left
PoloniumResizeRight=none,none,Polonium: Resize Right
PoloniumRetileWindow=none,none,Polonium: Retile Window
PoloniumSwitchBTree=none,none,Polonium: Use Binary Tree Engine
PoloniumSwitchHalf=none,none,Polonium: Use Half Engine
PoloniumSwitchKwin=none,none,Polonium: Use KWin Engine
PoloniumSwitchMonocle=none,none,Polonium: Use Monocle Engine
PoloniumSwitchThreeColumn=none,none,Polonium: Use Three Column Engine
Setup Window Shortcut=none,,Setup Window Shortcut
Show Desktop=none,Meta+D,Peek at Desktop
Switch One Desktop Down=none,Meta+Ctrl+Down,Switch One Desktop Down
Switch One Desktop Up=none,Meta+Ctrl+Up,Switch One Desktop Up
Switch One Desktop to the Left=none,Meta+Ctrl+Left,Switch One Desktop to the Left
Switch One Desktop to the Right=none,Meta+Ctrl+Right,Switch One Desktop to the Right
Switch Window Down=none,Meta+Alt+Down,Switch to Window Below
Switch Window Left=none,Meta+Alt+Left,Switch to Window to the Left
Switch Window Right=none,Meta+Alt+Right,Switch to Window to the Right
Switch Window Up=none,Meta+Alt+Up,Switch to Window Above
Switch to Desktop 1=none,Ctrl+F1,Switch to Desktop 1
Switch to Desktop 10=none,,Switch to Desktop 10
Switch to Desktop 11=none,,Switch to Desktop 11
Switch to Desktop 12=none,,Switch to Desktop 12
Switch to Desktop 13=none,,Switch to Desktop 13
Switch to Desktop 14=none,,Switch to Desktop 14
Switch to Desktop 15=none,,Switch to Desktop 15
Switch to Desktop 16=none,,Switch to Desktop 16
Switch to Desktop 17=none,,Switch to Desktop 17
Switch to Desktop 18=none,,Switch to Desktop 18
Switch to Desktop 19=none,,Switch to Desktop 19
Switch to Desktop 2=none,Ctrl+F2,Switch to Desktop 2
Switch to Desktop 20=none,,Switch to Desktop 20
Switch to Desktop 3=none,Ctrl+F3,Switch to Desktop 3
Switch to Desktop 4=none,Ctrl+F4,Switch to Desktop 4
Switch to Desktop 5=none,,Switch to Desktop 5
Switch to Desktop 6=none,,Switch to Desktop 6
Switch to Desktop 7=none,,Switch to Desktop 7
Switch to Desktop 8=none,,Switch to Desktop 8
Switch to Desktop 9=none,,Switch to Desktop 9
Switch to Next Desktop=none,,Switch to Next Desktop
Switch to Next Screen=none,,Switch to Next Screen
Switch to Previous Desktop=none,,Switch to Previous Desktop
Switch to Previous Screen=none,,Switch to Previous Screen
Switch to Screen 0=none,,Switch to Screen 0
Switch to Screen 1=none,,Switch to Screen 1
Switch to Screen 2=none,,Switch to Screen 2
Switch to Screen 3=none,,Switch to Screen 3
Switch to Screen 4=none,,Switch to Screen 4
Switch to Screen 5=none,,Switch to Screen 5
Switch to Screen 6=none,,Switch to Screen 6
Switch to Screen 7=none,,Switch to Screen 7
Switch to Screen Above=none,,Switch to Screen Above
Switch to Screen Below=none,,Switch to Screen Below
Switch to Screen to the Left=Meta+\\,,,Switch to Screen to the Left
Switch to Screen to the Right=Meta+.,,Switch to Screen to the Right
Toggle Night Color=none,none,Suspend/Resume Night Light
Toggle Window Raise/Lower=none,,Toggle Window Raise/Lower
ToggleCurrentThumbnail=none,Meta+Ctrl+T,Toggle Thumbnail for Current Window
Walk Through Windows=Alt+Tab,Alt+Tab,Walk Through Windows
Walk Through Windows (Reverse)=Alt+Shift+Tab,Alt+Shift+Tab,Walk Through Windows (Reverse)
Walk Through Windows Alternative=none,,Walk Through Windows Alternative
Walk Through Windows Alternative (Reverse)=none,,Walk Through Windows Alternative (Reverse)
Walk Through Windows of Current Application=none,Alt+`,Walk Through Windows of Current Application
Walk Through Windows of Current Application (Reverse)=none,Alt+~,Walk Through Windows of Current Application (Reverse)
Walk Through Windows of Current Application Alternative=none,,Walk Through Windows of Current Application Alternative
Walk Through Windows of Current Application Alternative (Reverse)=none,,Walk Through Windows of Current Application Alternative (Reverse)
Window Above Other Windows=none,,Keep Window Above Others
Window Below Other Windows=none,,Keep Window Below Others
Window Close=Alt+F4\tMeta+Q,Alt+F4,Close Window
Window Fullscreen=none,,Make Window Fullscreen
Window Grow Horizontal=none,,Expand Window Horizontally
Window Grow Vertical=none,,Expand Window Vertically
Window Lower=none,,Lower Window
Window Maximize=none,Meta+PgUp,Maximize Window
Window Maximize Horizontal=none,,Maximize Window Horizontally
Window Maximize Vertical=none,,Maximize Window Vertically
Window Minimize=none,Meta+PgDown,Minimize Window
Window Move=none,,Move Window
Window Move Center=none,,Move Window to the Center
Window No Border=none,,Toggle Window Titlebar and Frame
Window On All Desktops=none,,Keep Window on All Desktops
Window One Desktop Down=none,Meta+Ctrl+Shift+Down,Window One Desktop Down
Window One Desktop Up=none,Meta+Ctrl+Shift+Up,Window One Desktop Up
Window One Desktop to the Left=none,Meta+Ctrl+Shift+Left,Window One Desktop to the Left
Window One Desktop to the Right=none,Meta+Ctrl+Shift+Right,Window One Desktop to the Right
Window One Screen Down=none,,Move Window One Screen Down
Window One Screen Up=none,,Move Window One Screen Up
Window One Screen to the Left=none,,Move Window One Screen to the Left
Window One Screen to the Right=none,,Move Window One Screen to the Right
Window Operations Menu=none,Alt+F3,Window Operations Menu
Window Pack Down=none,,Move Window Down
Window Pack Left=none,,Move Window Left
Window Pack Right=none,,Move Window Right
Window Pack Up=none,,Move Window Up
Window Quick Tile Bottom=none,Meta+Down,Quick Tile Window to the Bottom
Window Quick Tile Bottom Left=none,,Quick Tile Window to the Bottom Left
Window Quick Tile Bottom Right=none,,Quick Tile Window to the Bottom Right
Window Quick Tile Left=none,Meta+Left,Quick Tile Window to the Left
Window Quick Tile Right=none,Meta+Right,Quick Tile Window to the Right
Window Quick Tile Top=none,Meta+Up,Quick Tile Window to the Top
Window Quick Tile Top Left=none,,Quick Tile Window to the Top Left
Window Quick Tile Top Right=none,,Quick Tile Window to the Top Right
Window Raise=none,,Raise Window
Window Resize=none,,Resize Window
Window Shade=none,,Shade Window
Window Shrink Horizontal=none,,Shrink Window Horizontally
Window Shrink Vertical=none,,Shrink Window Vertically
Window to Desktop 1=none,,Window to Desktop 1
Window to Desktop 10=none,,Window to Desktop 10
Window to Desktop 11=none,,Window to Desktop 11
Window to Desktop 12=none,,Window to Desktop 12
Window to Desktop 13=none,,Window to Desktop 13
Window to Desktop 14=none,,Window to Desktop 14
Window to Desktop 15=none,,Window to Desktop 15
Window to Desktop 16=none,,Window to Desktop 16
Window to Desktop 17=none,,Window to Desktop 17
Window to Desktop 18=none,,Window to Desktop 18
Window to Desktop 19=none,,Window to Desktop 19
Window to Desktop 2=none,,Window to Desktop 2
Window to Desktop 20=none,,Window to Desktop 20
Window to Desktop 3=none,,Window to Desktop 3
Window to Desktop 4=none,,Window to Desktop 4
Window to Desktop 5=none,,Window to Desktop 5
Window to Desktop 6=none,,Window to Desktop 6
Window to Desktop 7=none,,Window to Desktop 7
Window to Desktop 8=none,,Window to Desktop 8
Window to Desktop 9=none,,Window to Desktop 9
Window to Next Desktop=none,,Window to Next Desktop
Window to Next Screen=Meta+>,Meta+Shift+Right,Move Window to Next Screen
Window to Previous Desktop=none,,Window to Previous Desktop
Window to Previous Screen=Meta+<,Meta+Shift+Left,Move Window to Previous Screen
Window to Screen 0=none,,Move Window to Screen 0
Window to Screen 1=none,,Move Window to Screen 1
Window to Screen 2=none,,Move Window to Screen 2
Window to Screen 3=none,,Move Window to Screen 3
Window to Screen 4=none,,Move Window to Screen 4
Window to Screen 5=none,,Move Window to Screen 5
Window to Screen 6=none,,Move Window to Screen 6
Window to Screen 7=none,,Move Window to Screen 7
_k_friendly_name=KWin
view_actual_size=none,Meta+0,Zoom to Actual Size
view_zoom_in=Meta++\tMeta+=,Meta++\tMeta+=,Zoom In
view_zoom_out=Meta+-,Meta+-,Zoom Out
[mediacontrol]
_k_friendly_name=Media Controller
mediavolumedown=none,,Media volume down
mediavolumeup=none,,Media volume up
nextmedia=Media Next,Media Next,Media playback next
pausemedia=Media Pause,Media Pause,Pause media playback
playmedia=none,,Play media playback
playpausemedia=Media Play,Media Play,Play/Pause media playback
previousmedia=Media Previous,Media Previous,Media playback previous
stopmedia=Media Stop,Media Stop,Stop media playback
[org_kde_powerdevil]
Decrease Keyboard Brightness=Keyboard Brightness Down,Keyboard Brightness Down,Decrease Keyboard Brightness
Decrease Screen Brightness=Monitor Brightness Down,Monitor Brightness Down,Decrease Screen Brightness
Decrease Screen Brightness Small=Shift+Monitor Brightness Down,Shift+Monitor Brightness Down,Decrease Screen Brightness by 1%
Hibernate=Hibernate,Hibernate,Hibernate
Increase Keyboard Brightness=Keyboard Brightness Up,Keyboard Brightness Up,Increase Keyboard Brightness
Increase Screen Brightness=Monitor Brightness Up,Monitor Brightness Up,Increase Screen Brightness
Increase Screen Brightness Small=Shift+Monitor Brightness Up,Shift+Monitor Brightness Up,Increase Screen Brightness by 1%
PowerDown=Power Down,Power Down,Power Down
PowerOff=Power Off,Power Off,Power Off
Sleep=Sleep,Sleep,Suspend
Toggle Keyboard Backlight=Keyboard Light On/Off,Keyboard Light On/Off,Toggle Keyboard Backlight
Turn Off Screen=none,none,Turn Off Screen
_k_friendly_name=KDE Power Management System
powerProfile=Battery\tMeta+B,Battery\tMeta+B,Switch Power Profile
[plasmashell]
_k_friendly_name=plasmashell
activate application launcher=Meta,Meta\tAlt+F1,Activate Application Launcher
activate task manager entry 1=Meta+1,Meta+1,Activate Task Manager Entry 1
activate task manager entry 10=none,Meta+0,Activate Task Manager Entry 10
activate task manager entry 2=Meta+2,Meta+2,Activate Task Manager Entry 2
activate task manager entry 3=Meta+3,Meta+3,Activate Task Manager Entry 3
activate task manager entry 4=Meta+4,Meta+4,Activate Task Manager Entry 4
activate task manager entry 5=Meta+5,Meta+5,Activate Task Manager Entry 5
activate task manager entry 6=Meta+6,Meta+6,Activate Task Manager Entry 6
activate task manager entry 7=Meta+7,Meta+7,Activate Task Manager Entry 7
activate task manager entry 8=Meta+8,Meta+8,Activate Task Manager Entry 8
activate task manager entry 9=Meta+9,Meta+9,Activate Task Manager Entry 9
activate widget 5=Alt+F1,none,Activate Application Launcher Widget
clear-history=none,,Clear Clipboard History
clipboard_action=none,Meta+Ctrl+X,Automatic Action Popup Menu
cycle-panels=Meta+Alt+P,Meta+Alt+P,Move keyboard focus between panels
cycleNextAction=none,,Next History Item
cyclePrevAction=none,,Previous History Item
manage activities=none,Meta+Q,Show Activity Switcher
next activity=Meta+A,none,Walk through activities
previous activity=Meta+Shift+A,none,Walk through activities (Reverse)
repeat_action=none,Meta+Ctrl+R,Manually Invoke Action on Current Clipboard
show dashboard=Ctrl+F12,Ctrl+F12,Show Desktop
show-barcode=none,,Show Barcode…
show-on-mouse-pos=Meta+V,Meta+V,Show Clipboard Items at Mouse Position
stop current activity=Meta+S,Meta+S,Stop Current Activity
switch to next activity=none,,Switch to Next Activity
switch to previous activity=none,,Switch to Previous Activity
toggle do not disturb=none,,Toggle do not disturb
[services][org.kde.dolphin.desktop]
_launch=none
[services][org.kde.konsole.desktop]
_launch=Meta+Return
[services][org.kde.krunner.desktop]
RunClipboard=none
_launch=Meta+Space
[services][org.kde.plasma.emojier.desktop]
_launch=none
[services][org.kde.spectacle.desktop]
FullScreenScreenShot=none
RecordRegion=none
RecordScreen=none
RecordWindow=none
RectangularRegionScreenShot=Meta+Shift+S\tPrint
WindowUnderCursorScreenShot=none
_launch=none

1
.config/nvim Submodule

@ -0,0 +1 @@
Subproject commit 1c7e44a33846fef60ebe8fe4b3569492ecede897

View file

@ -1 +0,0 @@
neovim lua gcc curl wget git unzip tar gzip ripgrep php composer go nodejs npm delve

View file

@ -1 +0,0 @@
require("core")

View file

@ -1,8 +0,0 @@
-- Use 2 Spaces Instead of Tabs --
vim.cmd("set expandtab")
vim.cmd("set tabstop=4")
vim.cmd("set softtabstop=4")
vim.cmd("set shiftwidth=4")
-- Enable Line Number --
vim.cmd("set number")

View file

@ -1,3 +0,0 @@
require("core.keymap")
require("core.editor")
require("core.package_manager")

View file

@ -1,5 +0,0 @@
vim.g.mapleader = " "
--[[ Indentation ]]--
vim.keymap.set("n", "<Tab>", " >>")
vim.keymap.set("n", "<S-Tab>", " <<")

View file

@ -1,15 +0,0 @@
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
vim.fn.system({
"git",
"clone",
"--filter=blob:none",
"https://github.com/folke/lazy.nvim.git",
"--branch=stable",
lazypath,
})
end
vim.opt.rtp:prepend(lazypath)
local opts = {}
require("lazy").setup("plugins", opts)

View file

@ -1,32 +0,0 @@
return {
"goolord/alpha-nvim",
dependencies = {
"nvim-tree/nvim-web-devicons",
},
config = function()
-- Setup --
local alpha = require("alpha")
local dashboard = require("alpha.themes.startify")
-- Header --
dashboard.section.header.val = {
[[ ]],
[[ ]],
[[ ]],
[[ ]],
[[  ]],
[[ ████ ██████ █████ ██ ]],
[[ ███████████ █████  ]],
[[ █████████ ███████████████████ ███ ███████████ ]],
[[ █████████ ███ █████████████ █████ ██████████████ ]],
[[ █████████ ██████████ █████████ █████ █████ ████ █████ ]],
[[ ███████████ ███ ███ █████████ █████ █████ ████ █████ ]],
[[ ██████ █████████████████████ ████ █████ █████ ████ ██████ ]],
[[ ]],
[[ ]],
[[ ]],
}
alpha.setup(dashboard.opts)
end,
}

View file

@ -1,8 +0,0 @@
return {
require("plugins.editor.editor_auto_brackets"),
require("plugins.editor.editor_code_highlighting"),
require("plugins.editor.editor_code_snippets"),
require("plugins.editor.editor_debugging"),
require("plugins.editor.editor_language_server"),
require("plugins.editor.editor_markdown_preview")
}

View file

@ -1,25 +0,0 @@
return {
"leoluz/nvim-dap-go",
config = function()
require("dap-go").setup({
delve = {
cwd = require("utils.finder").find_project_dir(
"go.mod",
3,
{
"src",
"app",
"pkg"
},
{
"test"
},
true
)
}
})
end,
}

View file

@ -1,6 +0,0 @@
return {
'm4xshen/autoclose.nvim',
config = function()
require("autoclose").setup()
end
}

View file

@ -1,19 +0,0 @@
return {
{
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
config = function()
-- Setup --
local config = require("nvim-treesitter.configs")
config.setup({
auto_install = true,
highlight = { enable = true },
indent = { enable = true },
})
end,
},
{
"NoahTheDuke/vim-just",
ft = { "just" },
},
}

View file

@ -1,74 +0,0 @@
return {
{
"L3MON4D3/LuaSnip",
version = "2.*",
dependencies = {
"rafamadriz/friendly-snippets",
"mireq/luasnip-snippets",
},
build = "make install_jsregexp",
config = function()
-- Setup --
require("luasnip.loaders.from_vscode").lazy_load()
require("luasnip.loaders.from_snipmate").lazy_load()
require("luasnip_snippets.common.snip_utils").setup()
end,
},
{
"hrsh7th/nvim-cmp",
dependencies = {
"L3MON4D3/LuaSnip",
"saadparwaiz1/cmp_luasnip",
"hrsh7th/cmp-nvim-lsp",
},
config = function()
-- Setup --
local cmp = require("cmp")
local luasnip = require("luasnip")
luasnip.setup({
load_ft_func = require("luasnip_snippets.common.snip_utils").load_ft_func,
ft_func = require("luasnip_snippets.common.snip_utils").ft_func,
enable_autosnippets = true,
})
-- Keybinding --
vim.keymap.set({ "i", "s" }, "<Tab>", function()
if luasnip.expand_or_jumpable() then
luasnip.expand_or_jump()
else
vim.api.nvim_input("<C-V><Tab>")
end
end, { silent = true })
vim.keymap.set({ "i", "s" }, "<S-Tab>", function()
luasnip.jump(-1)
end, { silent = true })
local doc_keybindings = {
["<C-b>"] = cmp.mapping.scroll_docs(-4),
["<C-f>"] = cmp.mapping.scroll_docs(4),
["<C-Space>"] = cmp.mapping.complete(),
["<C-e>"] = cmp.mapping.abort(),
["<CR>"] = cmp.mapping.confirm({ select = true }),
}
-- Setup --
cmp.setup({
snippet = {
expand = function(args)
luasnip.lsp_expand(args.body)
end,
},
window = {
completion = cmp.config.window.bordered(),
documentation = cmp.config.window.bordered(),
},
mapping = cmp.mapping.preset.insert(doc_keybindings),
sources = cmp.config.sources({
{ name = "nvim_lsp" },
{ name = "luasnip" },
}, { { name = "buffer" } }),
})
end,
},
}

View file

@ -1,75 +0,0 @@
return {
{
"mfussenegger/nvim-dap",
dependencies = {
"rcarriga/nvim-dap-ui",
"nvim-neotest/nvim-nio",
},
config = function()
-- Setup Debugging --
local dap = require("dap")
-- Open UI on Debugging --
local dapui = require("dapui")
dapui.setup({
layouts = {
{
elements = {
{ id = "scopes", size = 0.65 },
{ id = "breakpoints", size = 0.35 },
},
position = "left",
size = 40,
},
{
elements = {
{ id = "repl", size = 0.5 },
{ id = "console", size = 0.5 },
},
position = "bottom",
size = 10,
},
},
})
dap.listeners.before.attach.dapui_config = function()
dapui.open()
end
dap.listeners.before.launch.dapui_config = function()
dapui.open()
end
-- Keybinding --
vim.keymap.set("n", "<Leader>dt", dapui.toggle, { desc = "Toggle Debugger UI" })
vim.keymap.set("n", "<Leader>db", dap.toggle_breakpoint, { desc = "Toggle Breakpoint" })
vim.keymap.set("n", "<Leader>dc", dap.continue, { desc = "Debugger Continue" })
vim.keymap.set("n", "<Leader>dx", dap.terminate, { desc = "Debugger Terminate" })
vim.keymap.set("n", "<Leader>ds", dap.step_over, { desc = "Debugger Step Over" })
-- Breakpoints --
vim.api.nvim_set_hl(0, "DapBreakpoint", { ctermbg = 0, fg = "#993939", bg = "#31353f" })
vim.api.nvim_set_hl(0, "DapLogPoint", { ctermbg = 0, fg = "#61afef", bg = "#31353f" })
vim.api.nvim_set_hl(0, "DapStopped", { ctermbg = 0, fg = "#98c379", bg = "#31353f" })
vim.fn.sign_define(
"DapBreakpoint",
{ text = "", texthl = "DapBreakpoint", linehl = "DapBreakpoint", numhl = "DapBreakpoint" }
)
vim.fn.sign_define(
"DapBreakpointCondition",
{ text = "󰣏", texthl = "DapBreakpoint", linehl = "DapBreakpoint", numhl = "DapBreakpoint" }
)
vim.fn.sign_define(
"DapBreakpointRejected",
{ text = "", texthl = "DapBreakpoint", linehl = "DapBreakpoint", numhl = "DapBreakpoint" }
)
vim.fn.sign_define(
"DapLogPoint",
{ text = "", texthl = "DapLogPoint", linehl = "DapLogPoint", numhl = "DapLogPoint" }
)
vim.fn.sign_define(
"DapStopped",
{ text = "", texthl = "DapStopped", linehl = "DapStopped", numhl = "DapStopped" }
)
end,
},
require("plugins.editor.debugger.debugger_go"),
}

View file

@ -1,5 +0,0 @@
return {
require("plugins.editor.language_server.language_server"),
require("plugins.editor.language_server.language_server_extra"),
require("plugins.editor.language_server.language_server_nvim_configuration"),
}

View file

@ -1,30 +0,0 @@
return {
"mrjones2014/mdpreview.nvim",
ft = "markdown",
dependencies = {
"norcalli/nvim-terminal.lua",
config = true,
},
config = function()
require("mdpreview").setup({
cli_args = {
"glow",
"-s",
"~/.config/glow/catppuccin-macchiato.json",
"-w",
"1",
"--local",
},
renderer = {
opts = {
win_opts = {
number = true,
wrap = false,
},
},
},
})
vim.keymap.set("n", "<Leader>mp", ":Mdpreview<CR>", { desc = "Show Markdown Preview" })
end,
}

View file

@ -1,170 +0,0 @@
return {
{
"williamboman/mason.nvim",
lazy = false,
config = function()
require("mason").setup()
end,
},
{
"williamboman/mason-lspconfig.nvim",
lazy = false,
opts = {
auto_install = true,
},
config = function()
require("mason-lspconfig").setup({
ensure_installed = {
"lua_ls",
"bashls",
"dotls",
"jsonls",
"sqlls",
"lemminx",
"yamlls",
"marksman",
"html",
"emmet_ls",
"cssls",
"tailwindcss",
"tsserver",
"stimulus_ls",
"svelte",
"volar",
"eslint",
"phpactor",
"gopls",
"rust_analyzer",
"jdtls",
"kotlin_language_server",
"pylsp",
},
})
end,
},
{
"neovim/nvim-lspconfig",
lazy = false,
config = function()
-- Setup --
local capabilities = require("cmp_nvim_lsp").default_capabilities()
local lspconfig = require("lspconfig")
-- Lua support --
lspconfig.lua_ls.setup({
capabilities = capabilities,
settings = {
Lua = {
diagnostics = {
globals = { "vim" },
}
}
}
})
-- Bash support --
lspconfig.bashls.setup({
capabilities = capabilities,
})
-- Dotenv support --
lspconfig.dotls.setup({
capabilities = capabilities,
})
-- JSON support --
lspconfig.jsonls.setup({
capabilities = capabilities,
})
-- SQL support --
lspconfig.sqlls.setup({
capabilities = capabilities,
})
-- XML support --
lspconfig.lemminx.setup({
capabilities = capabilities,
})
-- YAML support --
lspconfig.yamlls.setup({
capabilities = capabilities,
})
-- Markdown support --
lspconfig.marksman.setup({
capabilities = capabilities,
})
-- HTML support --
lspconfig.html.setup({
capabilities = capabilities,
})
-- Emmet support --
lspconfig.emmet_ls.setup({
capabilities = capabilities,
})
-- PHP support --
lspconfig.phpactor.setup({
capabilities = capabilities,
})
-- CSS & SCSS support --$response
lspconfig.cssls.setup({
capabilities = capabilities,
})
-- Tailwind support --
lspconfig.tailwindcss.setup({
capabilities = capabilities,
})
-- JavaScript & TypeScript support --
lspconfig.tsserver.setup({
capabilities = capabilities,
})
-- Stimulus support --
lspconfig.stimulus_ls.setup({
capabilities = capabilities,
})
-- Svelte support --
lspconfig.svelte.setup({
capabilities = capabilities,
})
-- Vue support --
lspconfig.volar.setup({
capabilities = capabilities,
})
-- Go support --
lspconfig.gopls.setup({
capabilities = capabilities,
})
-- Rust support --
lspconfig.rust_analyzer.setup({
capabilities = capabilities,
})
-- Java support --
lspconfig.jdtls.setup({
capabilities = capabilities,
})
-- Kotlin support --
lspconfig.kotlin_language_server.setup({
capabilities = capabilities,
})
-- Python support --
lspconfig.pylsp.setup({
capabilities = capabilities,
})
-- Eslint support --
lspconfig.eslint.setup({
capabilities = capabilities,
})
-- Keybinding --
vim.keymap.set("n", "<leader>cd", vim.lsp.buf.hover, { desc = "Show Code Definition" })
vim.keymap.set("n", "<leader>gd", vim.lsp.buf.definition, { desc = "Go to Definition" })
vim.keymap.set("n", "<leader>gr", vim.lsp.buf.references, { desc = "Go to References" })
vim.keymap.set("n", "<leader>ca", vim.lsp.buf.code_action, { desc = "Do Code Actions" })
end,
}
}

View file

@ -1,40 +0,0 @@
return {
"nvimtools/none-ls.nvim",
dependencies = {
"nvim-lua/plenary.nvim",
},
config = function()
-- Setup --
local null_ls = require("null-ls")
null_ls.setup({
sources = {
-- Prettier --
null_ls.builtins.formatting.prettier,
-- Php --
null_ls.builtins.diagnostics.phpstan,
null_ls.builtins.formatting.phpcsfixer.with({
prefer_local = "vendor/bin/php-cs-fixer",
args = { "fix", "--allow-risky=yes", "$FILENAME" }
}),
-- Twig --
null_ls.builtins.diagnostics.twigcs,
-- JavaScript & Typescript
--null_ls.builtins.formatting.eslint_d,
-- Lua --
null_ls.builtins.formatting.stylua,
-- Go --
null_ls.builtins.formatting.gofumpt,
null_ls.builtins.code_actions.gomodifytags,
null_ls.builtins.code_actions.impl
},
})
-- Keybinding --
vim.keymap.set("n", "<leader>fc", vim.lsp.buf.format, { desc = "Format Code" })
end,
}

View file

@ -1,16 +0,0 @@
return {
"folke/neodev.nvim",
dependencies = {
"rcarriga/nvim-dap-ui",
},
config = function()
require("neodev").setup({
library = {
plugins = {
"nvim-dap-ui",
},
types = true,
},
})
end,
}

View file

@ -1,67 +0,0 @@
return {
"nvim-neo-tree/neo-tree.nvim",
branch = "v3.x",
dependencies = {
"nvim-lua/plenary.nvim",
"nvim-tree/nvim-web-devicons",
"MunifTanjim/nui.nvim",
},
config = function()
-- Setup --
require("neo-tree").setup({
close_if_last_window = false,
enable_git_status = true,
enable_diagnostics = true,
name = {
trailing_slash = false,
use_git_status_colors = true,
highlight = "NeoTreeFileName",
},
git_status = {
symbols = {
-- Git Change type Icon --
added = "",
modified = "",
deleted = "",
renamed = "󰁕",
-- Git Status type Icon --
untracked = "",
ignored = "",
unstaged = "󰄱",
staged = "",
conflict = "",
}
},
symlink_target = {
enabled = false,
},
filesystem = {
hijack_netrw_behavior = "open_default"
},
-- Keybinding --
window = {
mappings = {
["<space>"] = "open"
}
}
})
-- Dignostic Icons --
vim.fn.sign_define("DiagnosticSignError", {
text = "", texthl = "DiagnosticSignError"
})
vim.fn.sign_define("DiagnosticSignWarn", {
text = "", texthl = "DiagnosticSignWarn"
})
vim.fn.sign_define("DiagnosticSignInfo", {
text = "", texthl = "DiagnosticSignInfo"
})
vim.fn.sign_define("DiagnosticSignHint", {
text = "󰌵", texthl = "DiagnosticSignHint"
})
-- Keybinding --
vim.keymap.set("n", "<C-n>", ":Neotree toggle reveal left<CR>", { desc = "Toggle File Tree" })
vim.keymap.set("n", "<leader>bf", ":Neotree buffers reveal float<CR>", { desc = "Show Open Files" })
end,
}

View file

@ -1,17 +0,0 @@
return {
{
"tpope/vim-fugitive",
},
{
"lewis6991/gitsigns.nvim",
config = function()
-- Setup --
require("gitsigns").setup()
-- Keybinding --
vim.keymap.set("n", "<leader>gh", ":Gitsigns preview_hunk_inline<CR>", { desc = "Toggle Inline Git Diff" })
vim.keymap.set("n", "<leader>gb", ":Gitsigns toggle_current_line_blame<CR>", { desc = "Toggle Inline Git Blame" })
vim.keymap.set("n", "<leader>go", ":Git <CR>", { desc = "Open Git" })
end,
},
}

View file

@ -1,10 +0,0 @@
return {
"folke/which-key.nvim",
config = function()
vim.o.timeout = true;
vim.o.timeoutlen = 300
require("which-key").setup({
})
end
}

View file

@ -1,36 +0,0 @@
return {
"nvim-telescope/telescope.nvim",
tag = "0.1.5",
dependencies = {
"nvim-lua/plenary.nvim",
"nvim-telescope/telescope-ui-select.nvim"
},
config = function()
-- Setup --
require("telescope").setup({
extensions = {
["ui-select"] = {
require("telescope.themes").get_dropdown({}),
},
},
})
require("telescope").load_extension("ui-select")
-- Keybinding --
local function setTelescopeBinding(mode, keymap, method, search_global, description)
local function binding()
local path = search_global and "~" or require("neo-tree.sources.manager").get_state("filesystem").path
method({ search_dirs = { path } })
end
vim.keymap.set(mode, keymap, binding, { desc = description })
end
local telescope = require("telescope.builtin")
setTelescopeBinding("n", "<leader>ff", telescope.find_files, false, "Find File")
setTelescopeBinding("n", "<leader>fz", telescope.live_grep, false, "Fuzzy Find")
setTelescopeBinding("n", "<leader>gff", telescope.find_files, true, "Global Find File")
setTelescopeBinding("n", "<leader>gfz", telescope.live_grep, true, "Global Fuzzy Find")
end
}

View file

@ -1,60 +0,0 @@
return {
{
"nvim-lualine/lualine.nvim",
dependencies = { "nvim-tree/nvim-web-devicons" },
config = function()
-- Setup --
require("lualine").setup({
options = {
component_separators = { left = "", right = "" },
section_separators = { left = "", right = "" },
disabled_filetypes = {
"neo-tree",
"fugitive",
"help",
},
ignore_focus = {},
always_divide_middle = true,
globalstatus = false,
refresh = {
statusline = 1000,
tabline = 1000,
winbar = 1000,
},
},
sections = {
lualine_a = { "mode" },
lualine_b = { "branch", "diff", "diagnostics" },
lualine_x = { "location" },
lualine_y = { "encoding" },
lualine_z = { "filetype" },
},
inactive_sections = {
lualine_a = { "mode" },
lualine_b = { "branch", "diff", "diagnostics" },
lualine_x = { "location" },
lualine_y = { "encoding" },
lualine_z = { "filetype" },
},
tabline = {},
winbar = {
lualine_a = { "filename" },
},
inactive_winbar = {
lualine_a = { "filename" },
},
extensions = {},
})
end,
},
{
"romgrk/barbar.nvim",
dependencies = {
"lewis6991/gitsigns.nvim",
"nvim-tree/nvim-web-devicons",
},
config = function()
require("barbar").setup()
end,
},
}

View file

@ -1,21 +0,0 @@
return {
"caenrique/buffer-term.nvim",
config = function()
local buffer_term = require("buffer-term")
buffer_term.setup()
-- Keybindings --
vim.keymap.set({ "n", "t" }, "<F6>", buffer_term.toggle_last, { desc = "Toggle Last Terminal" })
local function getToggleTerminalFunction(terminalNumber)
return function()
buffer_term.toggle(terminalNumber)
end
end
for i = 0, 9 do
local key = "<F6>" .. i
vim.keymap.set({ "n", "t" }, key, getToggleTerminalFunction(tostring(i)), { desc = "Toggle Terminal " .. i })
end
end,
}

View file

@ -1,9 +0,0 @@
return {
"catppuccin/nvim",
name = "catppuccin",
priority = 1000,
config = function()
-- Set Theme --
vim.cmd("colorscheme catppuccin")
end
}

View file

@ -1,114 +0,0 @@
local Finder = {}
Finder = {}
local function is_ignored(entry, ignore_dot_dirs, ignored_dirs)
if entry == ".." or entry == "." then
return true
end
if ignore_dot_dirs and string.match(entry, "^%.") then
return true
end
for _, dir in ipairs(ignored_dirs) do
if entry == dir or string.find(entry, dir, 1, true) then
return true
end
end
return false
end
local function read_dir(dir)
local handle = io.popen('ls -a "' .. dir .. '"')
if not handle then
return nil
end
local result = handle:read("*a")
handle:close()
return result
end
local function is_dir(path)
local f = io.open(path, "r")
if f == nil then
return false
end
local _, _, code = f:read(1)
f:close()
return code == 21
end
local function find_path_recursive(_dir, options)
-- Check max Depth
if options.current_depth > options.max_depth then
return nil
end
local entries = read_dir(_dir)
if entries == nil then
return nil
end
for entry in string.gmatch(entries, "[^\r\n]+") do
-- Check Ignored
if is_ignored(entry, options.ignore_dot_dirs, options.ignored_dirs) then
goto continue
end
local full_path = _dir .. "/" .. entry
-- Check for File
if entry == options.needle_file then
return full_path
end
-- Check is Dir
if not is_dir(full_path) then
goto continue
end
-- Recursive Call
options.current_depth = options.current_depth + 1
local result = find_path_recursive(full_path, options)
if result ~= nil then
return result
end
-- Cleanup
options.current_depth = options.current_depth - 1
::continue::
end
return nil
end
local function get_opened_folder()
local cwd = vim.fn.getcwd()
local file_path = vim.fn.expand('%:p:h')
if file_path ~= '' then
return file_path
end
return cwd
end
function Finder.find_project_dir(needle_file, max_depth, priority_dirs, ignored_dirs, ignore_dot_dirs)
local options = {
needle_file = needle_file,
max_depth = max_depth,
priority_dirs = priority_dirs,
ignored_dirs = ignored_dirs,
ignore_dot_dirs = ignore_dot_dirs,
current_depth = 0
}
local dir = get_opened_folder()
local file = find_path_recursive(dir, options)
if file == nil then
return nil
end
return file:match("(.*/)")
end
return Finder

@ -1 +0,0 @@
Subproject commit f882b9af13c1c5183fc7283c60c99315bf68a48f

91
.config/omp.toml Normal file
View file

@ -0,0 +1,91 @@
version = 2
final_space = true
console_title_template = '{{ .Shell }} in {{ .Folder }}'
[[blocks]]
type = 'prompt'
alignment = 'left'
newline = true
[[blocks.segments]]
type = 'path'
style = 'diamond'
leading_diamond = ''
trailing_diamond = ''
template = '{{ path .Path .Location }} '
background = 'p:beige'
foreground = 'p:black'
[blocks.segments.properties]
style = 'agnoster_full'
[blocks.segments.properties.mapped_locations]
"~" = ""
"~/Downloads" = "󰇚"
"~/Workspace" = " "
[[blocks.segments]]
type = 'git'
style = 'diamond'
trailing_diamond = ''
leading_diamond = '<transparent,background></>'
background_templates = [
'{{ if or (.Working.Changed) (.Staging.Changed) }}p:yellow{{ end }}',
'{{ if and (gt .Ahead 0) (gt .Behind 0) }}p:red{{ end }}',
'{{ if gt .Ahead 0 }}#49416D{{ end }}',
'{{ if gt .Behind 0 }}#7A306C{{ end }}',
]
template = ' {{ if .UpstreamURL }}{{ .UpstreamIcon }}{{ end }}{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }}  {{ .Working.String }}{{ end }}{{ if .Staging.Changed }}  {{ .Staging.String }}{{ end }} '
background = 'p:green'
foreground = 'p:black'
[blocks.segments.properties]
branch_max_length = 25
fetch_status = true
fetch_upstream_icon = true
[[blocks.segments]]
type = 'root'
style = 'powerline'
powerline_symbol = '60°, 10'
template = '  '
background = 'p:yellow'
foreground = 'p:white'
[[blocks.segments]]
type = 'node'
style = 'diamond'
trailing_diamond = ''
leading_diamond = '<transparent,background></>'
template = 'JS  '
background = 'p:gray'
foreground = 'p:green'
[blocks.segments.properties]
display_mode = 'files'
fetch_package_manager = false
home_enabled = false
[[blocks.segments]]
type = 'go'
style = 'diamond'
trailing_diamond = ''
leading_diamond = '<transparent,background></>'
template = 'Go  '
background = 'p:gray'
foreground = 'p:cyan'
[transient_prompt]
template = "\ue285 "
[palette]
black = '#11111b'
gray = '#6c7086'
blue = '#89b4fa'
cyan = '#74c7ec'
green = '#a6e3a1'
orange = '#fab387'
red = '#f38ba8'
white = '#cdd6f4'
yellow = '#f9e2af'
beige = '#f2cdcd'

3
.config/ssh/.gitignore vendored Normal file
View file

@ -0,0 +1,3 @@
*
!.gitignore
config

View file

@ -9,3 +9,11 @@ Host github.com
HostName github.com
PreferredAuthentications publickey
IdentityFile ~/.ssh/github-snoweuph
Host portainer.admin.euph.site
User root
Port 69
IdentityFile ~/.ssh/admin-yubikey-primary
IdentityFile ~/.ssh/admin-yubikey-secondary
IdentitiesOnly yes

View file

@ -1,22 +1,30 @@
[user]
name = Snoweuph
email = snow+git@euph.email
signingKey = A494330694B208EF
email = snow+git@euph.email
signingkey = 99ED4727EFBFF719
[commit]
gpgSign = true
[push]
autosetupremote = true
[help]
autoCorrect = prompt
[merge]
tool = meld
conflictstyle = zdiff3
[core]
editor = nvim
editor = nvim
pager = delta
commentChar = ";"
[diff]
colorMoved = default
[fetch]
prune = true
prunetags = true
[alias]
adog = log --all --decorate --oneline --graph
adog ="!git-graph --model none --color=always | LESS='-R' less"
fl = push --force-with-lease
prune-branches = "!git fetch -p && git branch -vv | grep ': gone]' | awk '{print $1}' | xargs -r git branch -d"
show-last-commit = diff HEAD^

9
.gitignore vendored
View file

@ -13,11 +13,20 @@
!.bashrc
!.profile
# Include zsh config
!.zshrc
# Include config
!.config/
# Include ssh Symlink
!.ssh
# Include Gnupg
!.gnupg/
# Include Resource
!Resources/
# Include local
!.local/

7
.gitmodules vendored
View file

@ -1,3 +1,4 @@
[submodule ".config/oh-my-bash"]
path = .config/oh-my-bash
url = https://github.com/ohmybash/oh-my-bash.git
[submodule "nvim"]
path = .config/nvim
url = git@git.euph.dev:Snoweuph/Dotfiles_nvim.git
branch = master

1
.gnupg/gpg-agent.conf Normal file
View file

@ -0,0 +1 @@
enable-ssh-support

12
.gnupg/sshcontrol Normal file
View file

@ -0,0 +1,12 @@
# List of allowed ssh keys. Only keys present in this file are used
# in the SSH protocol. The ssh-add tool may add new entries to this
# file to enable them; you may also add them manually. Comment
# lines, like this one, as well as empty lines are ignored. Lines do
# have a certain length limit but this is not serious limitation as
# the format of the entries is fixed and checked by gpg-agent. A
# non-comment line starts with optional white spaces, followed by the
# keygrip of the key given as 40 hex digits, optionally followed by a
# caching TTL in seconds, and another optional field for arbitrary
# flags. Prepend the keygrip with an '!' mark to disable it.
F0DAEE5CEB66D4072981216F672366437DC9D04

6
.local/.gitignore vendored Normal file
View file

@ -0,0 +1,6 @@
# Ignore Everything By Default
/*
!.gitignore
# Include Share
!share/

6
.local/share/.gitignore vendored Normal file
View file

@ -0,0 +1,6 @@
# Ignore Everything By Default
/*
!.gitignore
# Include dotfiles
!dotfiles/

View file

@ -0,0 +1,3 @@
#!/bin/sh
cargo install git-graph

View file

@ -1,3 +1,9 @@
# System
export PATH="$PATH/$HOME/.local/bin"
# Volta
export VOLTA_HOME="$HOME/.volta"
export VOLTA_HOME="$HOME/.local/share/volta"
export PATH="$VOLTA_HOME/bin:$PATH"
# Jetbrains Toolbox
export PATH="$PATH:/home/snoweuph/.local/share/JetBrains/Toolbox/scripts"

98
.zshrc Normal file
View file

@ -0,0 +1,98 @@
# Oh My Posh
#########################################################
export PATH=$PATH:"$HOME/.local/bin"
OMP_EXECUTABLE="${XDG_DATA_HOME:-${HOME}/.local}/bin/oh-my-posh"
[ ! -f $OMP_EXECUTABLE ] && curl -s https://ohmyposh.dev/install.sh | bash -s
eval "$(oh-my-posh init zsh --config ~/.config/omp.toml)"
# Zinit
#########################################################
ZINIT_HOME="${XDG_DATA_HOME:-${HOME}/.local/share}/zinit/zinit.git"
[ ! -d $ZINIT_HOME ] && mkdir -p "$(dirname $ZINIT_HOME)"
[ ! -d $ZINIT_HOME/.git ] && git clone https://github.com/zdharma-continuum/zinit.git "$ZINIT_HOME"
source "${ZINIT_HOME}/zinit.zsh"
# Core Plugins
zinit snippet OMZP::command-not-found
zinit snippet OMZP::colored-man-pages
zinit light zsh-users/zsh-autosuggestions
zinit light zdharma-continuum/fast-syntax-highlighting
autoload -Uz compinit
compinit
# Basic ZSH
#########################################################
# History
HISTFILE=~/.histfile
HISTSIZE=10000
SAVEHIST=1000
# Disable Bell
unsetopt beep
# Keybinding
bindkey '\e[1;5C' forward-word
bindkey '\e[1;5D' backward-word
WORDCHARS="_-" # Define These Characters as Part of "Words"
# Application Envs
#########################################################
# GPG
if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then
export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
fi
export GPG_TTY=$(tty)
gpg-connect-agent updatestartuptty /bye >/dev/null
# Git
zinit snippet OMZP::git
# Containerization
zinit snippet OMZP::docker-compose
zinit snippet OMZP::podman
zinit snippet OMZP::toolbox
# NPM
export npm_config_cache="$HOME/.cache/npm"
export npm_config_prefix="$HOME/.local/share/npm"
export npm_config_userconfig="$HOME/.config/npmrc"
export npm_config_loglevel="verbose"
export npm_config_log="$HOME/.local/share/npm/logs"
# Volta
export VOLTA_HOME="$HOME/.local/share/volta"
[ ! -d $VOLTA_HOME ] && curl https://get.volta.sh | bash -s -- --skip-setup
# Go
export GOPATH=~/.local/share/go
export GOBIN=$GOPATH/bin
# Rust
export CARGO_HOME=$HOME/.local/share/cargo
export RUSTUP_HOME=$HOME/.local/share/rustup
zinit snippet OMZP::rust
# Php
zinit snippet OMZP::composer
zinit snippet OMZP::symfony6
# ROCM
export HSA_OVERRIDE_GFX_VERSION=10.3.0 # RX 6650 XT
# Just
export JUST_UNSTABLE=1
# PATH
export PATH=$PATH:$VOLTA_HOME/bin:$GOBIN:$CARGO_HOME/bin
# Aliases
#########################################################
alias edit-nvim-conf="nvim ~/.config/nvim"
alias edit-zsh-conf="nvim ~/.zshrc"
alias todo="nvim ~/Documents/Notes/Todo.md"
alias hist="eval \$(cat $HISTFILE | fzf)"
alias nano="nvim"
alias neofetch="fastfetch"

16
Readme.md Normal file
View file

@ -0,0 +1,16 @@
# Dotfiles
## Submodules
- [Dotfiles/Template](https://git.euph.dev/Snoweuph/Dotfiles_template)
- [Dotfiles/nvim](https://git.euph.dev/Snoweuph/Dotfiles_nvim)
## Setup
### Fedora
#### Install System Packages
```sh
dnf install -y test
```

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.