mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
feat(hyprland): Add hyprland config
This commit is contained in:
parent
981dd2170c
commit
4bf9687d72
28 changed files with 540 additions and 80 deletions
|
|
@ -1,4 +1,11 @@
|
|||
# $DOTFILES/tools/fish/conf.d/alias.fish
|
||||
# Date: 2024-12-22
|
||||
# Author: js0ny
|
||||
|
||||
# Location:
|
||||
# ~/.config/fish/conf.d/alias.fish
|
||||
# Linking: Link the whole directory for submodules
|
||||
# ln -sf $DOTFILES/tools/fish ~/.config/fish
|
||||
|
||||
# Powershell equivalent
|
||||
abbr --add ni touch
|
||||
|
|
@ -8,7 +15,7 @@ abbr --add ii open
|
|||
# Editors #
|
||||
abbr --add v nvim
|
||||
abbr --add c code
|
||||
alias sv="sudo vim -u ~/.config/vim/vimrc"
|
||||
alias sv="sudo vim -u ~/.dotfiles/common/vim.noxdg.vimrc"
|
||||
alias sn="sudo nvim -u ~/.config/nvim/init.lua"
|
||||
|
||||
# Dev #
|
||||
|
|
|
|||
|
|
@ -1,10 +1,20 @@
|
|||
# $DOTFILES/tools/fish/conf.d/keymap.fish
|
||||
# Date: 2024-12-22
|
||||
# Author: js0ny
|
||||
|
||||
# Location:
|
||||
# ~/.config/fish/conf.d/keymap.fish
|
||||
# Linking: Link the whole directory for submodules
|
||||
# ln -sf $DOTFILES/tools/fish ~/.config/fish
|
||||
|
||||
|
||||
fish_vi_key_bindings
|
||||
|
||||
# Colemak hnei
|
||||
# ^
|
||||
# n
|
||||
# < h i >
|
||||
# e
|
||||
# < h i >
|
||||
# n
|
||||
# v
|
||||
# bind -M default 'h' backward-char
|
||||
bind -M default 'n' down-or-search
|
||||
|
|
@ -14,3 +24,5 @@ bind -M default 'i' forward-char
|
|||
# Similar position to [i] in QWERTY
|
||||
bind -M default -m insert l repaint-mode
|
||||
bind -M default -m insert L beginning-of-line repaint-mode
|
||||
|
||||
# TODO: Add more key bindings here
|
||||
|
|
|
|||
|
|
@ -1,3 +1,11 @@
|
|||
# $DOTFILES/tools/fish/conf.d/navi.fish
|
||||
# Date: 2024-12-22
|
||||
# Author: js0ny
|
||||
|
||||
# Location:
|
||||
# ~/.config/fish/conf.d/navi.fish
|
||||
# Linking: Link the whole directory for submodules
|
||||
# ln -sf $DOTFILES/tools/fish ~/.config/fish
|
||||
|
||||
|
||||
alias ..="cd .."
|
||||
|
|
|
|||
|
|
@ -1,3 +1,11 @@
|
|||
# $DOTFILES/tools/fish/conf.d/prompt.fish
|
||||
# Date: 2024-12-22
|
||||
# Author: js0ny
|
||||
|
||||
# Location:
|
||||
# ~/.config/fish/conf.d/prompt.fish
|
||||
# Linking: Link the whole directory for submodules
|
||||
# ln -sf $DOTFILES/tools/fish ~/.config/fish
|
||||
|
||||
if command -v starship > /dev/null
|
||||
set -gx STARSHIP_CONFIG $DOTFILES/tools/starship/starship_fish.toml
|
||||
|
|
|
|||
|
|
@ -1,17 +1,21 @@
|
|||
-- Entry point of the plugin manager
|
||||
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,
|
||||
})
|
||||
if not (vim.uv or vim.loop).fs_stat(lazypath) then
|
||||
local lazyrepo = "https://github.com/folke/lazy.nvim.git"
|
||||
local out = vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath })
|
||||
if vim.v.shell_error ~= 0 then
|
||||
vim.api.nvim_echo({
|
||||
{ "Failed to clone lazy.nvim:\n", "ErrorMsg" },
|
||||
{ out, "WarningMsg" },
|
||||
{ "\nPress any key to exit..." },
|
||||
}, true, {})
|
||||
vim.fn.getchar()
|
||||
os.exit(1)
|
||||
end
|
||||
end
|
||||
vim.opt.rtp:prepend(lazypath)
|
||||
|
||||
|
||||
require("lazy").setup({
|
||||
{ import = "plugins.appearance" },
|
||||
{ import = "plugins.completion" },
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ alias pulldots="cd $DOTFILES && git pull"
|
|||
# Editors #
|
||||
alias v=nvim
|
||||
alias c=code
|
||||
alias sv="sudo vim -u ~/.config/vim/vimrc"
|
||||
alias sv="sudo vim -u ~/.dotfiles/common/vim.noxdg.vimrc"
|
||||
alias sn="sudo nvim -u ~/.config/nvim/init.lua"
|
||||
|
||||
# lsd - modern ls
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue