Compare commits

..

No commits in common. "5631b8e003af046ab6eddf6e362db55978d74529" and "9a15df4d53446abf84c936a1b5e6538f3efed717" have entirely different histories.

9 changed files with 21 additions and 46 deletions

View file

@ -2,7 +2,6 @@ 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
@ -59,6 +58,8 @@ 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' }
@ -70,6 +71,4 @@ for _, lsp in ipairs(servers) do
end end
EOF EOF
let g:fzf_layout = { 'down': '40%' } noremap <space>f :FZF<return>
noremap <space>f :Files<return>

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

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

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

View file

@ -31,9 +31,8 @@ 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 rivertile riverctl default-layout stacktile
exec rivertile exec stacktile --per-tag-config --drop-empty-configs --outer-padding=0 --inner-padding=6 --primary-sublayout=stack

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 rivertile "main-ratio -0.05" riverctl map normal $mod H 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 L send-layout-cmd stacktile "primary_ratio +0.05"
riverctl map normal $mod+Shift H send-layout-cmd rivertile "main-count +1" riverctl map normal $mod+Shift H send-layout-cmd stacktile "primary_count +1"
riverctl map normal $mod+Shift L send-layout-cmd rivertile "main-count -1" riverctl map normal $mod+Shift L send-layout-cmd stacktile "primary_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,10 +84,11 @@ 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 rivertile "main-location top" riverctl map normal $mod Up send-layout-cmd stacktile "primary_position top"
riverctl map normal $mod Right send-layout-cmd rivertile "main-location right" riverctl map normal $mod Right send-layout-cmd stacktile "primary_position right"
riverctl map normal $mod Down send-layout-cmd rivertile "main-location bottom" riverctl map normal $mod Down send-layout-cmd stacktile "primary_position bottom"
riverctl map normal $mod Left send-layout-cmd rivertile "main-location left" riverctl map normal $mod Left send-layout-cmd stacktile "primary_position 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=Hack:pixelsize=15 font=JetBrains Mono:style=Regular:size=10
font-bold=Hack:style=Bold:pixelsize=15 font-bold=JetBrains Mono:style=Bold:size=10
font-italic=Hack:style=Italic:pixelsize=15 font-italic=JetBrains Mono:style=Italic:size=10
font-bold-italic=Hack:style=Bold Italic:pixelsize=15 font-bold-italic=JetBrains Mono:style=Bold Italic:size=10
pad=5x5 pad=5x5

9
.gitmodules vendored
View file

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