Compare commits
5 Commits
host/rpi
...
e63a60efca
| Author | SHA1 | Date | |
|---|---|---|---|
| e63a60efca | |||
| 1ad8d13b23 | |||
| 62c556f898 | |||
| 85d2139be6 | |||
| e4c6d3b5a4 |
@@ -3,6 +3,6 @@
|
|||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```bash
|
```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
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -6,3 +6,11 @@ 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
|
||||||
@@ -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
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -145,7 +145,7 @@ return {
|
|||||||
|
|
||||||
require('mason-lspconfig').setup({
|
require('mason-lspconfig').setup({
|
||||||
ensure_installed = {
|
ensure_installed = {
|
||||||
-- 'clangd',
|
'clangd',
|
||||||
'pyright',
|
'pyright',
|
||||||
'cmake',
|
'cmake',
|
||||||
'texlab'
|
'texlab'
|
||||||
|
|||||||
18
nvim/.config/nvim/lua/plugins/lua_copilot.lua
Normal file
18
nvim/.config/nvim/lua/plugins/lua_copilot.lua
Normal 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-]>"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
9
papis/.config/papis/config
Normal file
9
papis/.config/papis/config
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
[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
|
floating_modifier $mod normal
|
||||||
|
|
||||||
bindsym $mod+Shift+c reload
|
bindsym $mod+Shift+c reload
|
||||||
bindsym $mod+Shift+e exec i3-msg exit
|
bindsym $mod+Shift+e exec swaymsg exit
|
||||||
|
|
||||||
bar {
|
bar {
|
||||||
swaybar_command waybar
|
swaybar_command waybar
|
||||||
|
|||||||
@@ -33,8 +33,8 @@ bindsym $mod+Shift+0 move container to workspace number $ws10
|
|||||||
|
|
||||||
assign [class="Spotify"] $ws7
|
assign [class="Spotify"] $ws7
|
||||||
|
|
||||||
exec i3-msg 'workspace $ws1; exec kitty; $ws1'
|
exec swaymsg 'workspace $ws1; exec kitty; $ws1'
|
||||||
exec i3-msg 'workspace $ws2; exec firefox'
|
exec swaymsg 'workspace $ws2; exec firefox'
|
||||||
|
|
||||||
#
|
#
|
||||||
## Multiple monitors
|
## Multiple monitors
|
||||||
|
|||||||
16
zsh/.zshrc
16
zsh/.zshrc
@@ -23,7 +23,8 @@ 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/doc/fzf/examples/key-bindings.zsh
|
source /usr/share/fzf/key-bindings.zsh
|
||||||
|
source /usr/share/fzf/completion.zsh
|
||||||
|
|
||||||
alias ssh='kitty +kitten ssh'
|
alias ssh='kitty +kitten ssh'
|
||||||
|
|
||||||
@@ -45,10 +46,11 @@ 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)"
|
|
||||||
|
|
||||||
. "$HOME/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh"
|
eval "$(zoxide init zsh)"
|
||||||
bindkey '^y' autosuggest-accept
|
eval "$(thefuck --alias)"
|
||||||
|
|
||||||
|
. "/usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh"
|
||||||
|
|
||||||
|
bindkey '^l' autosuggest-accept
|
||||||
|
|||||||
Reference in New Issue
Block a user