1 Commits

Author SHA1 Message Date
fc6b5632a9 Add changes in .zshrc 2024-10-16 17:54:23 +02:00
8 changed files with 31 additions and 48 deletions

View File

@@ -3,6 +3,6 @@
## Usage ## Usage
```bash ```bash
$ stow -S clang-format kitty nvim sway tmux waybar wofi zsh kanshi papis $ stow -S clang-format kitty nvim sway tmux waybar wofi zsh kanshi
``` ```

View File

@@ -6,11 +6,3 @@ include current-theme.conf
background_opacity 0.87 background_opacity 0.87
enable_audio_bell no enable_audio_bell no
touch_scroll_multiplier 8.0 touch_scroll_multiplier 8.0
# BEGIN_KITTY_FONTS
font_family family="Liberation Mono"
bold_font auto
italic_font auto
bold_italic_font auto
# END_KITTY_FONTS

View File

@@ -0,0 +1,20 @@
return {
{
"github/copilot.vim",
event = {
"BufReadPost",
"BufNewFile"
},
cmd = {
"Copilot"
},
init = function()
vim.g.copilot_no_tab_map = true
vim.g.copilot_assume_mapped = true
vim.api.nvim_set_keymap("i", "<C-y>", 'copilot#Accept("<CR>")', {
silent = true,
expr = true
})
end
}
}

View File

@@ -1,18 +0,0 @@
return {
"zbirenbaum/copilot.lua",
cmd = "Copilot",
event = "InsertEnter",
opts = {
suggestion = {
auto_trigger = true,
keymap = {
accept = "<C-l>",
-- accept_word = false,
-- accept_line = false,
-- next = "<M-]>",
-- prev = "<M-[>",
-- dismiss = "<C-]>"
}
}
}
}

View File

@@ -1,9 +0,0 @@
[books]
dir = ~/Documents/literature/books
[keyboard]
dir = ~/Documents/literature/keyboard
[settings]
default-library = keyboard

View File

@@ -26,7 +26,7 @@ bindsym $mod+d exec $menu
floating_modifier $mod normal floating_modifier $mod normal
bindsym $mod+Shift+c reload bindsym $mod+Shift+c reload
bindsym $mod+Shift+e exec swaymsg exit bindsym $mod+Shift+e exec i3-msg exit
bar { bar {
swaybar_command waybar swaybar_command waybar

View File

@@ -33,8 +33,8 @@ bindsym $mod+Shift+0 move container to workspace number $ws10
assign [class="Spotify"] $ws7 assign [class="Spotify"] $ws7
exec swaymsg 'workspace $ws1; exec kitty; $ws1' exec i3-msg 'workspace $ws1; exec kitty; $ws1'
exec swaymsg 'workspace $ws2; exec firefox' exec i3-msg 'workspace $ws2; exec firefox'
# #
## Multiple monitors ## Multiple monitors

View File

@@ -23,8 +23,7 @@ zstyle ':vcs_info:git:*' formats '%b '
setopt PROMPT_SUBST setopt PROMPT_SUBST
PROMPT='%F{magenta}[%m] %F{blue}%~%f %F{red}${vcs_info_msg_0_}%f$ ' PROMPT='%F{magenta}[%m] %F{blue}%~%f %F{red}${vcs_info_msg_0_}%f$ '
source /usr/share/fzf/key-bindings.zsh source /usr/share/doc/fzf/examples/key-bindings.zsh
source /usr/share/fzf/completion.zsh
alias ssh='kitty +kitten ssh' alias ssh='kitty +kitten ssh'
@@ -46,11 +45,10 @@ alias sc='cd ~/.config/sway'
alias nc='cd ~/.config/nvim' alias nc='cd ~/.config/nvim'
alias flog='nvim -c "Flog -all"' alias flog='nvim -c "Flog -all"'
. "$HOME/.cargo/env" # . "$HOME/.cargo/env"
#
# eval "$(zoxide init zsh)"
# eval "$(thefuck --alias)"
eval "$(zoxide init zsh)" . "$HOME/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh"
eval "$(thefuck --alias)" bindkey '^y' autosuggest-accept
. "/usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh"
bindkey '^l' autosuggest-accept