Compare commits

..

10 commits

9 changed files with 46 additions and 21 deletions

View file

@ -2,6 +2,7 @@ set mouse=a " Enable mouse
set linebreak " Wrap words set linebreak " Wrap words
set hidden " Do not save when switching buffers set hidden " Do not save when switching buffers
set inccommand=nosplit " Incremental live completion set inccommand=nosplit " Incremental live completion
set tabstop=4 shiftwidth=4 " 4 space \t
set ignorecase smartcase set ignorecase smartcase
@ -58,8 +59,6 @@ local on_attach = function(client, bufnr)
buf_set_keymap('n', '[d', '<cmd>lua vim.lsp.diagnostic.goto_prev()<CR>', opts) buf_set_keymap('n', '[d', '<cmd>lua vim.lsp.diagnostic.goto_prev()<CR>', opts)
buf_set_keymap('n', ']d', '<cmd>lua vim.lsp.diagnostic.goto_next()<CR>', opts) buf_set_keymap('n', ']d', '<cmd>lua vim.lsp.diagnostic.goto_next()<CR>', opts)
buf_set_keymap('n', '<space>q', '<cmd>lua vim.lsp.diagnostic.set_loclist()<CR>', opts) buf_set_keymap('n', '<space>q', '<cmd>lua vim.lsp.diagnostic.set_loclist()<CR>', opts)
buf_set_keymap('n', '<space>f', '<cmd>lua vim.lsp.buf.formatting()<CR>', opts)
end end
local servers = { 'zls', 'gopls' } local servers = { 'zls', 'gopls' }
@ -71,4 +70,6 @@ for _, lsp in ipairs(servers) do
end end
EOF EOF
noremap <space>f :FZF<return> let g:fzf_layout = { 'down': '40%' }
noremap <space>f :Files<return>

@ -0,0 +1 @@
Subproject commit d6aa21476b2854694e6aa7b0941b8992a906c5ec

@ -0,0 +1 @@
Subproject commit e9bf877ded422ce4323980c8347ca8578fe3b408

@ -0,0 +1 @@
Subproject commit 2831f4872431685d28fbe3e567cd539a455fe750

View file

@ -31,8 +31,9 @@ riverctl float-filter-add title "Firefox — Sharing Indicator"
riverctl csd-filter-add app-id firefox riverctl csd-filter-add app-id firefox
riverctl csd-filter-add app-id gnome-calendar riverctl csd-filter-add app-id gnome-calendar
riverctl csd-filter-add app-id org.pwmt.zathura
~/.config/river/keys ~/.config/river/keys
riverctl default-layout stacktile riverctl default-layout rivertile
exec stacktile --per-tag-config --drop-empty-configs --outer-padding=0 --inner-padding=6 --primary-sublayout=stack exec rivertile

View file

@ -22,10 +22,10 @@ riverctl map normal $mod+Shift K swap previous
riverctl map normal $mod Return zoom riverctl map normal $mod Return zoom
riverctl map normal $mod H send-layout-cmd stacktile "primary_ratio -0.05" riverctl map normal $mod H send-layout-cmd rivertile "main-ratio -0.05"
riverctl map normal $mod L send-layout-cmd stacktile "primary_ratio +0.05" riverctl map normal $mod L send-layout-cmd rivertile "main-ratio +0.05"
riverctl map normal $mod+Shift H send-layout-cmd stacktile "primary_count +1" riverctl map normal $mod+Shift H send-layout-cmd rivertile "main-count +1"
riverctl map normal $mod+Shift L send-layout-cmd stacktile "primary_count -1" riverctl map normal $mod+Shift L send-layout-cmd rivertile "main-count -1"
riverctl declare-mode move-resize riverctl declare-mode move-resize
riverctl map normal $mod R enter-mode move-resize riverctl map normal $mod R enter-mode move-resize
@ -84,11 +84,10 @@ riverctl map normal $mod+Shift 0 set-view-tags $all_tags
riverctl map normal $mod Space toggle-float riverctl map normal $mod Space toggle-float
riverctl map normal $mod F toggle-fullscreen riverctl map normal $mod F toggle-fullscreen
riverctl map normal $mod Up send-layout-cmd stacktile "primary_position top" riverctl map normal $mod Up send-layout-cmd rivertile "main-location top"
riverctl map normal $mod Right send-layout-cmd stacktile "primary_position right" riverctl map normal $mod Right send-layout-cmd rivertile "main-location right"
riverctl map normal $mod Down send-layout-cmd stacktile "primary_position bottom" riverctl map normal $mod Down send-layout-cmd rivertile "main-location bottom"
riverctl map normal $mod Left send-layout-cmd stacktile "primary_position left" riverctl map normal $mod Left send-layout-cmd rivertile "main-location left"
riverctl map normal $mod M send-layout-cmd stacktile "all_primary toggle"
riverctl declare-mode passthrough riverctl declare-mode passthrough
riverctl map normal $mod F11 enter-mode passthrough riverctl map normal $mod F11 enter-mode passthrough

View file

@ -4,10 +4,10 @@ set -e
# https://github.com/jan-warchol/selenized/blob/e93e0d9fb47c7485f18fa16f9bdb70c2ee7fb5db/the-values.md # https://github.com/jan-warchol/selenized/blob/e93e0d9fb47c7485f18fa16f9bdb70c2ee7fb5db/the-values.md
echo "# Autogenerated by ~/.config/themer/foot.ini.sh echo "# Autogenerated by ~/.config/themer/foot.ini.sh
font=JetBrains Mono:style=Regular:size=10 font=Hack:pixelsize=15
font-bold=JetBrains Mono:style=Bold:size=10 font-bold=Hack:style=Bold:pixelsize=15
font-italic=JetBrains Mono:style=Italic:size=10 font-italic=Hack:style=Italic:pixelsize=15
font-bold-italic=JetBrains Mono:style=Bold Italic:size=10 font-bold-italic=Hack:style=Bold Italic:pixelsize=15
pad=5x5 pad=5x5

9
.gitmodules vendored
View file

@ -19,3 +19,12 @@
[submodule ".config/nvim/pack/plugins/start/zig.vim"] [submodule ".config/nvim/pack/plugins/start/zig.vim"]
path = .config/nvim/pack/plugins/start/zig.vim path = .config/nvim/pack/plugins/start/zig.vim
url = https://github.com/ziglang/zig.vim url = https://github.com/ziglang/zig.vim
[submodule ".config/nvim/pack/plugins/start/fzf.vim"]
path = .config/nvim/pack/plugins/start/fzf.vim
url = https://github.com/junegunn/fzf.vim
[submodule ".config/nvim/pack/plugins/start/rose-pine"]
path = .config/nvim/pack/plugins/start/rose-pine
url = https://github.com/rose-pine/neovim
[submodule ".config/nvim/pack/plugins/start/vim-go"]
path = .config/nvim/pack/plugins/start/vim-go
url = https://github.com/fatih/vim-go

View file

@ -1,7 +1,8 @@
#!/bin/sh #!/bin/sh
set -e set -e
cd ~ cd ~
file="$(find \ if test "$1" = "elegir"; then
find \
Documents Sync Pictures Downloads Proyectos \ Documents Sync Pictures Downloads Proyectos \
-iname '*.jpg' -or \ -iname '*.jpg' -or \
-iname '*.png' -or \ -iname '*.png' -or \
@ -13,10 +14,21 @@ file="$(find \
-iname '*.docx' -or \ -iname '*.docx' -or \
-iname '*.mp3' -or \ -iname '*.mp3' -or \
-type d \ -type d \
| fuzzel-run --dmenu --width=40)" | fzf > "$2"
exit $?
fi
out="$(mktemp)"
footclient buscar-archivos elegir $out
file="$(cat $out)"
# | fuzzel-run --dmenu --width=40)"
if test -e "$file"; then if test -e "$file"; then
xdg-open "$file" if test -d "$file"; then
exec thunar "$file"
else
exec xdg-open "$file"
fi
fi fi
# if test -d "$file"; then # if test -d "$file"; then