Compare commits
1 Commits
e63a60efca
...
host/rpi
| Author | SHA1 | Date | |
|---|---|---|---|
| 81b117fc87 |
@@ -3,6 +3,6 @@
|
||||
## Usage
|
||||
|
||||
```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
|
||||
```
|
||||
|
||||
|
||||
@@ -6,11 +6,3 @@ 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
|
||||
20
nvim/.config/nvim/lua/plugins/copilot.lua
Normal file
20
nvim/.config/nvim/lua/plugins/copilot.lua
Normal 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
|
||||
}
|
||||
}
|
||||
@@ -145,7 +145,7 @@ return {
|
||||
|
||||
require('mason-lspconfig').setup({
|
||||
ensure_installed = {
|
||||
'clangd',
|
||||
-- 'clangd',
|
||||
'pyright',
|
||||
'cmake',
|
||||
'texlab'
|
||||
|
||||
@@ -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-]>"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
[books]
|
||||
dir = ~/Documents/literature/books
|
||||
|
||||
[keyboard]
|
||||
dir = ~/Documents/literature/keyboard
|
||||
|
||||
[settings]
|
||||
default-library = keyboard
|
||||
|
||||
@@ -26,7 +26,7 @@ bindsym $mod+d exec $menu
|
||||
floating_modifier $mod normal
|
||||
|
||||
bindsym $mod+Shift+c reload
|
||||
bindsym $mod+Shift+e exec swaymsg exit
|
||||
bindsym $mod+Shift+e exec i3-msg exit
|
||||
|
||||
bar {
|
||||
swaybar_command waybar
|
||||
|
||||
@@ -33,8 +33,8 @@ bindsym $mod+Shift+0 move container to workspace number $ws10
|
||||
|
||||
assign [class="Spotify"] $ws7
|
||||
|
||||
exec swaymsg 'workspace $ws1; exec kitty; $ws1'
|
||||
exec swaymsg 'workspace $ws2; exec firefox'
|
||||
exec i3-msg 'workspace $ws1; exec kitty; $ws1'
|
||||
exec i3-msg 'workspace $ws2; exec firefox'
|
||||
|
||||
#
|
||||
## Multiple monitors
|
||||
|
||||
16
zsh/.zshrc
16
zsh/.zshrc
@@ -23,8 +23,7 @@ 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/fzf/key-bindings.zsh
|
||||
source /usr/share/fzf/completion.zsh
|
||||
source /usr/share/doc/fzf/examples/key-bindings.zsh
|
||||
|
||||
alias ssh='kitty +kitten ssh'
|
||||
|
||||
@@ -46,11 +45,10 @@ alias sc='cd ~/.config/sway'
|
||||
alias nc='cd ~/.config/nvim'
|
||||
alias flog='nvim -c "Flog -all"'
|
||||
|
||||
. "$HOME/.cargo/env"
|
||||
# . "$HOME/.cargo/env"
|
||||
#
|
||||
# eval "$(zoxide init zsh)"
|
||||
# eval "$(thefuck --alias)"
|
||||
|
||||
eval "$(zoxide init zsh)"
|
||||
eval "$(thefuck --alias)"
|
||||
|
||||
. "/usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh"
|
||||
|
||||
bindkey '^l' autosuggest-accept
|
||||
. "$HOME/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh"
|
||||
bindkey '^y' autosuggest-accept
|
||||
|
||||
Reference in New Issue
Block a user