Compare commits
10 commits
9a15df4d53
...
5631b8e003
Author | SHA1 | Date | |
---|---|---|---|
5631b8e003 | |||
655740b835 | |||
1622083260 | |||
08b7408843 | |||
b703fece83 | |||
6737474fcb | |||
8388f0f613 | |||
1794c85308 | |||
0c74b897c0 | |||
ad1fc97ff9 |
9 changed files with 46 additions and 21 deletions
|
@ -2,6 +2,7 @@ set mouse=a " Enable mouse
|
|||
set linebreak " Wrap words
|
||||
set hidden " Do not save when switching buffers
|
||||
set inccommand=nosplit " Incremental live completion
|
||||
set tabstop=4 shiftwidth=4 " 4 space \t
|
||||
|
||||
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_next()<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
|
||||
|
||||
local servers = { 'zls', 'gopls' }
|
||||
|
@ -71,4 +70,6 @@ for _, lsp in ipairs(servers) do
|
|||
end
|
||||
EOF
|
||||
|
||||
noremap <space>f :FZF<return>
|
||||
let g:fzf_layout = { 'down': '40%' }
|
||||
|
||||
noremap <space>f :Files<return>
|
||||
|
|
1
.config/nvim/pack/plugins/start/fzf.vim
Submodule
1
.config/nvim/pack/plugins/start/fzf.vim
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit d6aa21476b2854694e6aa7b0941b8992a906c5ec
|
1
.config/nvim/pack/plugins/start/rose-pine
Submodule
1
.config/nvim/pack/plugins/start/rose-pine
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit e9bf877ded422ce4323980c8347ca8578fe3b408
|
1
.config/nvim/pack/plugins/start/vim-go
Submodule
1
.config/nvim/pack/plugins/start/vim-go
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 2831f4872431685d28fbe3e567cd539a455fe750
|
|
@ -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 gnome-calendar
|
||||
riverctl csd-filter-add app-id org.pwmt.zathura
|
||||
|
||||
~/.config/river/keys
|
||||
|
||||
riverctl default-layout stacktile
|
||||
exec stacktile --per-tag-config --drop-empty-configs --outer-padding=0 --inner-padding=6 --primary-sublayout=stack
|
||||
riverctl default-layout rivertile
|
||||
exec rivertile
|
||||
|
|
|
@ -22,10 +22,10 @@ riverctl map normal $mod+Shift K swap previous
|
|||
|
||||
riverctl map normal $mod Return zoom
|
||||
|
||||
riverctl map normal $mod H send-layout-cmd stacktile "primary_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 stacktile "primary_count +1"
|
||||
riverctl map normal $mod+Shift L send-layout-cmd stacktile "primary_count -1"
|
||||
riverctl map normal $mod H send-layout-cmd rivertile "main-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 rivertile "main-count +1"
|
||||
riverctl map normal $mod+Shift L send-layout-cmd rivertile "main-count -1"
|
||||
|
||||
riverctl declare-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 F toggle-fullscreen
|
||||
|
||||
riverctl map normal $mod Up send-layout-cmd stacktile "primary_position top"
|
||||
riverctl map normal $mod Right send-layout-cmd stacktile "primary_position right"
|
||||
riverctl map normal $mod Down send-layout-cmd stacktile "primary_position bottom"
|
||||
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 map normal $mod Up send-layout-cmd rivertile "main-location top"
|
||||
riverctl map normal $mod Right send-layout-cmd rivertile "main-location right"
|
||||
riverctl map normal $mod Down send-layout-cmd rivertile "main-location bottom"
|
||||
riverctl map normal $mod Left send-layout-cmd rivertile "main-location left"
|
||||
|
||||
riverctl declare-mode passthrough
|
||||
riverctl map normal $mod F11 enter-mode passthrough
|
||||
|
|
|
@ -4,10 +4,10 @@ set -e
|
|||
# https://github.com/jan-warchol/selenized/blob/e93e0d9fb47c7485f18fa16f9bdb70c2ee7fb5db/the-values.md
|
||||
|
||||
echo "# Autogenerated by ~/.config/themer/foot.ini.sh
|
||||
font=JetBrains Mono:style=Regular:size=10
|
||||
font-bold=JetBrains Mono:style=Bold:size=10
|
||||
font-italic=JetBrains Mono:style=Italic:size=10
|
||||
font-bold-italic=JetBrains Mono:style=Bold Italic:size=10
|
||||
font=Hack:pixelsize=15
|
||||
font-bold=Hack:style=Bold:pixelsize=15
|
||||
font-italic=Hack:style=Italic:pixelsize=15
|
||||
font-bold-italic=Hack:style=Bold Italic:pixelsize=15
|
||||
|
||||
pad=5x5
|
||||
|
||||
|
|
9
.gitmodules
vendored
9
.gitmodules
vendored
|
@ -19,3 +19,12 @@
|
|||
[submodule ".config/nvim/pack/plugins/start/zig.vim"]
|
||||
path = .config/nvim/pack/plugins/start/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
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
cd ~
|
||||
file="$(find \
|
||||
if test "$1" = "elegir"; then
|
||||
find \
|
||||
Documents Sync Pictures Downloads Proyectos \
|
||||
-iname '*.jpg' -or \
|
||||
-iname '*.png' -or \
|
||||
|
@ -13,10 +14,21 @@ file="$(find \
|
|||
-iname '*.docx' -or \
|
||||
-iname '*.mp3' -or \
|
||||
-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
|
||||
xdg-open "$file"
|
||||
if test -d "$file"; then
|
||||
exec thunar "$file"
|
||||
else
|
||||
exec xdg-open "$file"
|
||||
fi
|
||||
fi
|
||||
|
||||
# if test -d "$file"; then
|
||||
|
|
Loading…
Reference in a new issue