5 Commits

8 changed files with 48 additions and 31 deletions

View File

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

View File

@@ -6,3 +6,11 @@ include current-theme.conf
background_opacity 0.87
enable_audio_bell no
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

@@ -1,20 +0,0 @@
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

@@ -0,0 +1,18 @@
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

@@ -0,0 +1,9 @@
[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
bindsym $mod+Shift+c reload
bindsym $mod+Shift+e exec i3-msg exit
bindsym $mod+Shift+e exec swaymsg exit
bar {
swaybar_command waybar

View File

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

View File

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