New plugin for relative numbers on nvim, and new fish function for working more easily with repos in all the system
This commit is contained in:
parent
903de02e1e
commit
14d92d46ef
6 changed files with 26 additions and 10 deletions
|
@ -26,11 +26,12 @@
|
|||
"channelId": "923262113500246027"
|
||||
},
|
||||
{
|
||||
"name": "Friends",
|
||||
"url": "/channels/@me",
|
||||
"name": "@spider300",
|
||||
"url": "/channels/@me/347377928914337792",
|
||||
"selected": false,
|
||||
"currentStatus": "none",
|
||||
"iconUrl": "https://cdn.discordapp.com/embed/avatars/0.png"
|
||||
"currentStatus": "online",
|
||||
"iconUrl": "https://cdn.discordapp.com/avatars/346980245028601857/fa3802f0571349385c58a99e46c4ff07.webp?size=40",
|
||||
"channelId": "347377928914337792"
|
||||
}
|
||||
],
|
||||
"favs": [],
|
||||
|
|
|
@ -21,6 +21,7 @@ if status is-interactive
|
|||
fzf_configure_bindings --directory=\cf
|
||||
|
||||
source ~/.config/fish/functions/fzf_git.fish
|
||||
source ~/.config/fish/functions/fzf_git_all.fish
|
||||
|
||||
colorscript random
|
||||
end
|
||||
|
|
10
.config/fish/functions/fzf_git_all.fish
Normal file
10
.config/fish/functions/fzf_git_all.fish
Normal file
|
@ -0,0 +1,10 @@
|
|||
function allrepos
|
||||
set -l search_directories ~/Descargas/ /docs/Documentos/ ~/.config/ ~/.local/share/
|
||||
set -l excluded_directory /docs/Documentos/Repos/
|
||||
set -l selected_dir (find $search_directories -type d -name '.git' -not -path "$excluded_directory/*" -exec dirname '{}' \; | fzf)
|
||||
|
||||
if test -n "$selected_dir"
|
||||
cd "$selected_dir"
|
||||
vim .
|
||||
end
|
||||
end
|
|
@ -17,7 +17,7 @@
|
|||
"edgy.nvim": { "branch": "main", "commit": "4ccc1c67ae2b1a0c55f18c83d03b714e2bb1bae4" },
|
||||
"flash.nvim": { "branch": "main", "commit": "967117690bd677cb7b6a87f0bc0077d2c0be3a27" },
|
||||
"friendly-snippets": { "branch": "main", "commit": "377d45475b49e37460a902d6d569d2093d4037d0" },
|
||||
"gitsigns.nvim": { "branch": "main", "commit": "55f8fc7b13205d44359080ed00095674c353bd76" },
|
||||
"gitsigns.nvim": { "branch": "main", "commit": "5a2b1205841bc06ffb15719b14d54987e17b22ae" },
|
||||
"glance.nvim": { "branch": "master", "commit": "ec19dbdabd47fc2f094f7457a84ae78e7c9b5610" },
|
||||
"glow.nvim": { "branch": "main", "commit": "8942dfb05794f436af4fbc90a34393f1fd36f361" },
|
||||
"indent-blankline.nvim": { "branch": "master", "commit": "4541d690816cb99a7fc248f1486aa87f3abce91c" },
|
||||
|
@ -26,7 +26,7 @@
|
|||
"lualine.nvim": { "branch": "master", "commit": "45e27ca739c7be6c49e5496d14fcf45a303c3a63" },
|
||||
"mason-lspconfig.nvim": { "branch": "main", "commit": "e86a4c84ff35240639643ffed56ee1c4d55f538e" },
|
||||
"mason-nvim-dap.nvim": { "branch": "main", "commit": "6148b51db945b55b3b725da39eaea6441e59dff8" },
|
||||
"mason.nvim": { "branch": "main", "commit": "74eac861b013786bf231b204b4ba9a7d380f4bd9" },
|
||||
"mason.nvim": { "branch": "main", "commit": "68e6a153d7cd1251eb85ebb48d2e351e9ab940b8" },
|
||||
"mdpreview.nvim": { "branch": "master", "commit": "22ca06ae45cb06518600b36418674be456cfb2df" },
|
||||
"mini.ai": { "branch": "main", "commit": "5218ea75e635df78a807bc9d5a7162594fb76d02" },
|
||||
"mini.bufremove": { "branch": "main", "commit": "7821606e35c1ac931b56d8e3155f45ffe76ee7e5" },
|
||||
|
@ -52,10 +52,11 @@
|
|||
"nvim-lspconfig": { "branch": "master", "commit": "0d29cad8de3b2c654315203fc1fe12fde722a18a" },
|
||||
"nvim-navic": { "branch": "master", "commit": "9c89730da6a05acfeb6a197e212dfadf5aa60ca0" },
|
||||
"nvim-notify": { "branch": "master", "commit": "ea9c8ce7a37f2238f934e087c255758659948e0f" },
|
||||
"nvim-numbertoggle": { "branch": "main", "commit": "1dcc1507578f6f216917065da9dac169670dbcd3" },
|
||||
"nvim-scrollview": { "branch": "main", "commit": "e33e4c0ba5bf8fdde4d4d8011f62f6d72669884a" },
|
||||
"nvim-spectre": { "branch": "master", "commit": "5b39919a2947b1266b3aa34d0b0b14c35523bc69" },
|
||||
"nvim-terminal.lua": { "branch": "master", "commit": "095f98aaa7265628a72cd2706350c091544b5602" },
|
||||
"nvim-treesitter": { "branch": "master", "commit": "f7bb866405530e863135596900781e73cbf6f4ed" },
|
||||
"nvim-treesitter": { "branch": "master", "commit": "17d3398b5bd0d0042e1a71ee1842a831399cae97" },
|
||||
"nvim-treesitter-context": { "branch": "master", "commit": "a17c31268b56d53624fdc9cb03a225d4a17cabdb" },
|
||||
"nvim-treesitter-textobjects": { "branch": "master", "commit": "9e519b6146512c8e2e702faf8ac48420f4f5deec" },
|
||||
"nvim-ts-autotag": { "branch": "main", "commit": "6be1192965df35f94b8ea6d323354f7dc7a557e4" },
|
||||
|
@ -76,7 +77,7 @@
|
|||
"undotree": { "branch": "master", "commit": "0e11ba7325efbbb3f3bebe06213afa3e7ec75131" },
|
||||
"venv-selector.nvim": { "branch": "main", "commit": "48b8d9775058ef5650016038f58d127b059b9987" },
|
||||
"vim-floaterm": { "branch": "master", "commit": "bcaeabf89a92a924031d471395054d84bd88ce2f" },
|
||||
"vim-illuminate": { "branch": "master", "commit": "5ed17582a8e97bf0a0c617c3cf762e98f87b9859" },
|
||||
"vim-illuminate": { "branch": "master", "commit": "76f28e858f1caae87bfa45fb4fd09e4b053fc45b" },
|
||||
"vim-startuptime": { "branch": "master", "commit": "454b3de856b7bd298700de33d79774ca9b9e3875" },
|
||||
"vim-wakatime": { "branch": "master", "commit": "0d2efa2daff34b27b0d227d4c3b136811c93db93" },
|
||||
"which-key.nvim": { "branch": "main", "commit": "7ccf476ebe0445a741b64e36c78a682c1c6118b7" },
|
||||
|
|
|
@ -77,8 +77,6 @@ if vim.g.neovide then
|
|||
vim.g.neovide_theme = "catppuccin-macchiato"
|
||||
end
|
||||
|
||||
vim.opt.relativenumber = false
|
||||
|
||||
vim.opt.shell = "fish"
|
||||
|
||||
vim.opt.shiftwidth = 4
|
||||
|
|
5
.config/nvim/lua/plugins/relativenumbers.lua
Normal file
5
.config/nvim/lua/plugins/relativenumbers.lua
Normal file
|
@ -0,0 +1,5 @@
|
|||
return {
|
||||
{
|
||||
"sitiom/nvim-numbertoggle",
|
||||
},
|
||||
}
|
Loading…
Add table
Reference in a new issue