i use arch btw
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add stow, asdf, direnv, fish, starship, neovim, and bin

+860
+1
asdf/.default-gems
··· 1 + neovim
+1
asdf/.default-npm-packages
··· 1 + neovim
+2
asdf/.default-perl-modules
··· 1 + Log::Log4perl 2 + Neovim::Ext
+2
asdf/.default-python-packages
··· 1 + pynvim 2 + virtualenv
+4
direnv/.config/direnv/lib/use_asdf.sh
··· 1 + ### Do not edit. This was autogenerated by 'asdf direnv setup' ### 2 + use_asdf() { 3 + source_env "$(asdf direnv envrc "$@")" 4 + }
+1
fish/.config/fish/completions/plug.fish
··· 1 + /home/bas/.local/share/fish/plug/kidonng/fish-plug/completions/plug.fish
+1
fish/.config/fish/completions/replay.fish
··· 1 + /home/bas/.local/share/fish/plug/jorgebucaran/replay.fish/completions/replay.fish
+34
fish/.config/fish/conf.d/.gitnow
··· 1 + [ keybindings ] 2 + 3 + # Alt + S 4 + state = \es 5 + 6 + # Alt + E 7 + stage = \ee 8 + 9 + # Ctrl + E 10 + unstage = \ce 11 + 12 + # Alt + M 13 + show = \em 14 + 15 + # Alt + C 16 + commit-all = \ec 17 + 18 + # Alt + D 19 + pull = \ed 20 + 21 + # Alt + P 22 + push = \ep 23 + 24 + # Alt + U 25 + upstream = \eu 26 + 27 + # Alt + L 28 + logs = \el 29 + 30 + # Alt + F 31 + feature = \ef 32 + 33 + # Alt + H 34 + hotfix = \eh
+1
fish/.config/fish/conf.d/abbr_tips.fish
··· 1 + /home/bas/.local/share/fish/plug/gazorby/fish-abbreviation-tips/conf.d/abbr_tips.fish
+1
fish/.config/fish/conf.d/autopair.fish
··· 1 + /home/bas/.local/share/fish/plug/jorgebucaran/autopair.fish/conf.d/autopair.fish
+18
fish/.config/fish/config.fish
··· 1 + command -sq brew && source (command -v brew && brew --prefix asdf || echo /opt/asdf-vm)/asdf.fish # source from brew if exists, otherwise use system-installed 2 + command -sq starship && starship init fish | source 3 + command -sq direnv && direnv hook fish | source 4 + command -sq zoxide && zoxide init fish | source 5 + 6 + set -Gx SSH_AUTH_SOCK $HOME/.ssh/agent.sock 7 + 8 + bind \er __select_from_last 9 + bind \e, __commandline_token_search_backward 10 + 11 + if string match -q -- "*microsoft*" (uname -a) 12 + ulimit -n 65536 # no idea how to set this permanently in WSL 13 + 14 + if not ss -a | grep -q $SSH_AUTH_SOCK 15 + rm -f $SSH_AUTH_SOCK 16 + #setsid socat UNIX-LISTEN:$SSH_AUTH_SOCK,fork EXEC:"/mnt/c/Users/Bas/wsl-ssh-agent/npiperelay.exe -ei -s //./pipe/openssh-ssh-agent",nofork 17 + end 18 + end
+45
fish/.config/fish/fish_variables
··· 1 + # This file contains fish universal variable definitions. 2 + # VERSION: 3.0 3 + SETUVAR --export ABBR_TIPS_PROMPT:\x5cn\U0001f4a1\x20\x5ce\x5b1m\x7b\x7b\x20\x2eabbr\x20\x7d\x7d\x5ce\x5b0m\x20\x3d\x3e\x20\x7b\x7b\x20\x2ecmd\x20\x7d\x7d 4 + SETUVAR --export ABBR_TIPS_REGEXES:\x28\x5e\x28\x5cw\x2b\x5cs\x2b\x29\x2b\x28\x2d\x7b1\x2c2\x7d\x29\x5cw\x2b\x29\x28\x5cs\x5cS\x2b\x29\x1e\x28\x5e\x28\x5cs\x3f\x28\x5cw\x2d\x3f\x29\x2b\x29\x7b3\x7d\x29\x2e\x2a\x1e\x28\x5e\x28\x5cs\x3f\x28\x5cw\x2d\x3f\x29\x2b\x29\x7b2\x7d\x29\x2e\x2a\x1e\x28\x5e\x28\x5cs\x3f\x28\x5cw\x2d\x3f\x29\x2b\x29\x7b1\x7d\x29\x2e\x2a 5 + SETUVAR --export BAT_THEME:Nord 6 + SETUVAR --export BROWSER:powershell\x2eexe\x20/c\x20start 7 + SETUVAR --export COLORTERM:truecolor 8 + SETUVAR --export DIRENV_LOG_FORMAT:\x1d 9 + SETUVAR --export EDITOR:nvim 10 + SETUVAR --export SUDO_EDITOR:nvim 11 + SETUVAR --export SYSTEMD_EDITOR:nvim 12 + SETUVAR --export __ABBR_TIPS_KEYS:te\x1ea__\x3aq\x1ea__adb\x1ea__choco\x1ea__cm\x1ea__fastboot\x1ea__gsudo\x1ea__keybase\x1ea__less\x1ea__mkcd\x1ea__rg\x1ea__spicetify\x1ea__to_list\x1ea__winget\x1ea__z\x1ea__zi\x1ea__take\x1ea__\x2dh 13 + SETUVAR --export __ABBR_TIPS_VALUES:\x27\x1etest\x1e\x27\x1eexit\x1e\x27\x1eadb\x2eexe\x1e\x27\x1echoco\x2eexe\x1e\x27\x1echezmoi\x1e\x27\x1efastboot\x2eexe\x1e\x27\x1esudo\x2eexe\x1e\x27\x1ekeybase\x2eexe\x1e\x27\x1e\x27less\x20\x2dR\x27\x1e\x27\x1e\x27mkdir\x20\x24argv\x3b\x20cd\x20\x24argv\x27\x1e\x27\x1e\x27rg\x20\x2dS\x27\x1e\x27\x1espicetify\x2eexe\x1e\x27\x1eto_list\x5c\x5c\x5c\x20tr\x5c\x5c\x5c\x20\x5c\x5c\x5c\x27\x5c\x5c\x5c\x20\x5c\x5c\x5c\x27\x5c\x5c\x5c\x20\x5c\x5c\x5c\x5cn\x5c\x5c\x5c\x20\x5c\x5c\x5c\x7c\x5c\x5c\x5c\x20nl\x1e\x27\x1e\x27cmd\x2eexe\x20/c\x20winget\x2eexe\x27\x1e\x27\x1e__zoxide_z\x1e\x27\x1e__zoxide_zi\x1emkdir\x20\x24argv\x3b\x20cd\x20\x24argv 14 + SETUVAR __fish_initialized:3400 15 + SETUVAR fish_color_autosuggestion:4c566a 16 + SETUVAR fish_color_cancel:\x2dr 17 + SETUVAR fish_color_command:81a1c1 18 + SETUVAR fish_color_comment:434c5e 19 + SETUVAR fish_color_cwd:green 20 + SETUVAR fish_color_cwd_root:red 21 + SETUVAR fish_color_end:88c0d0 22 + SETUVAR fish_color_error:ebcb8b 23 + SETUVAR fish_color_escape:00a6b2 24 + SETUVAR fish_color_history_current:\x2d\x2dbold 25 + SETUVAR fish_color_host:normal 26 + SETUVAR fish_color_host_remote:yellow 27 + SETUVAR fish_color_match:\x2d\x2dbackground\x3dbrblue 28 + SETUVAR fish_color_normal:normal 29 + SETUVAR fish_color_operator:00a6b2 30 + SETUVAR fish_color_param:eceff4 31 + SETUVAR fish_color_quote:a3be8c 32 + SETUVAR fish_color_redirection:b48ead 33 + SETUVAR fish_color_search_match:bryellow\x1e\x2d\x2dbackground\x3dbrblack 34 + SETUVAR fish_color_selection:white\x1e\x2d\x2dbold\x1e\x2d\x2dbackground\x3dbrblack 35 + SETUVAR fish_color_status:red 36 + SETUVAR fish_color_user:brgreen 37 + SETUVAR fish_color_valid_path:\x2d\x2dunderline 38 + SETUVAR fish_greeting:\x1d 39 + SETUVAR fish_key_bindings:fish_hybrid_key_bindings 40 + SETUVAR fish_pager_color_completion:normal 41 + SETUVAR fish_pager_color_description:B3A06D\x1eyellow 42 + SETUVAR fish_pager_color_prefix:normal\x1e\x2d\x2dbold\x1e\x2d\x2dunderline 43 + SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan 44 + SETUVAR fish_pager_color_selected_background:\x2dr 45 + SETUVAR plug_path:/home/bas/\x2elocal/share/fish/plug
+3
fish/.config/fish/functions/:q.fish
··· 1 + function :q --wraps=exit --description 'alias :q exit' 2 + exit $argv; 3 + end
+1
fish/.config/fish/functions/__abbr_tips_bind_newline.fish
··· 1 + /home/bas/.local/share/fish/plug/gazorby/fish-abbreviation-tips/functions/__abbr_tips_bind_newline.fish
+1
fish/.config/fish/functions/__abbr_tips_bind_space.fish
··· 1 + /home/bas/.local/share/fish/plug/gazorby/fish-abbreviation-tips/functions/__abbr_tips_bind_space.fish
+1
fish/.config/fish/functions/__abbr_tips_init.fish
··· 1 + /home/bas/.local/share/fish/plug/gazorby/fish-abbreviation-tips/functions/__abbr_tips_init.fish
+27
fish/.config/fish/functions/__commandline_token_search_backward.fish
··· 1 + function __commandline_token_search_backward 2 + set -l tokens (string escape (commandline -o)) 3 + set -l token_count (count $tokens) 4 + 5 + if test $token_count -lt 2 6 + return 7 + end 8 + 9 + if test "$token_count" != "$__commandline_token_count" 10 + set -ge __commandline_token_index 11 + end 12 + 13 + if not set -gq __commandline_token_index 14 + set -g __commandline_token_index $token_count 15 + set -g __commandline_token_count (expr $token_count + 1) 16 + else 17 + set -g __commandline_token_index (expr $__commandline_token_index - 1) 18 + 19 + if test $__commandline_token_index = 0 20 + set -g __commandline_token_index (expr $token_count - 1) 21 + end 22 + end 23 + 24 + set -l buffer (commandline -b) 25 + commandline -r (string replace -r -- $tokens[-1]'$' '' $buffer) 26 + commandline -i $tokens[$__commandline_token_index] 27 + end
+8
fish/.config/fish/functions/__select_from_last.fish
··· 1 + function __select_from_last 2 + set -l FZF_OUT (eval $history[1] | fzf --select-1 --exit-0) 3 + set -l POS (commandline -C) 4 + if test -n "$FZF_OUT" 5 + commandline -a $FZF_OUT 6 + commandline -C (math ""(string length $FZF_OUT)" + $POS") 7 + end 8 + end
+1
fish/.config/fish/functions/_autopair_backspace.fish
··· 1 + /home/bas/.local/share/fish/plug/jorgebucaran/autopair.fish/functions/_autopair_backspace.fish
+1
fish/.config/fish/functions/_autopair_insert_left.fish
··· 1 + /home/bas/.local/share/fish/plug/jorgebucaran/autopair.fish/functions/_autopair_insert_left.fish
+1
fish/.config/fish/functions/_autopair_insert_right.fish
··· 1 + /home/bas/.local/share/fish/plug/jorgebucaran/autopair.fish/functions/_autopair_insert_right.fish
+1
fish/.config/fish/functions/_autopair_insert_same.fish
··· 1 + /home/bas/.local/share/fish/plug/jorgebucaran/autopair.fish/functions/_autopair_insert_same.fish
+1
fish/.config/fish/functions/_autopair_tab.fish
··· 1 + /home/bas/.local/share/fish/plug/jorgebucaran/autopair.fish/functions/_autopair_tab.fish
+3
fish/.config/fish/functions/adb.fish
··· 1 + function adb --wraps=adb.exe --description 'alias adb=adb.exe' 2 + adb.exe $argv; 3 + end
+4
fish/.config/fish/functions/cdb.fish
··· 1 + function cdb --description 'cd to the base directory of a file' 2 + isatty || read -az stdin && set -a argv $stdin 3 + cd (dirname $argv) 4 + end
+4
fish/.config/fish/functions/choco.fish
··· 1 + # Defined via `source` 2 + function choco --wraps=choco.exe --description 'alias choco=choco.exe' 3 + choco.exe $argv; 4 + end
+3
fish/.config/fish/functions/cm.fish
··· 1 + function cm --wraps=chezmoi --description 'alias cm chezmoi' 2 + chezmoi $argv; 3 + end
+20
fish/.config/fish/functions/dedupevar.fish
··· 1 + function dedupevar --description 'Remove duplicates from environment variable' 2 + if test (count $argv) = 1 3 + set -l newvar 4 + set -l count 0 5 + for v in $$argv 6 + if contains -- $v $newvar 7 + set count (math $count+1) 8 + else 9 + set newvar $newvar $v 10 + end 11 + end 12 + set $argv $newvar 13 + test $count -gt 0 14 + and echo Removed $count duplicates from $argv 15 + else 16 + for a in $argv 17 + dedupevar $a 18 + end 19 + end 20 + end
+3
fish/.config/fish/functions/fastboot.fish
··· 1 + function fastboot --wraps=fastboot.exe --description 'alias fastboot=fastboot.exe' 2 + fastboot.exe $argv; 3 + end
+3
fish/.config/fish/functions/fish_mode_prompt.fish
··· 1 + function fish_mode_prompt 2 + 3 + end
+9
fish/.config/fish/functions/funcdel.fish
··· 1 + function funcdel --argument func 2 + functions -e $func 3 + if test -e ~/.config/fish/functions/$func.fish 4 + rm ~/.config/fish/functions/$func.fish 5 + echo "Deleted function '$func'" 6 + else 7 + echo "Couldn't find function '$func'" 8 + end 9 + end
+4
fish/.config/fish/functions/gsudo.fish
··· 1 + # Defined via `source` 2 + function gsudo --wraps=sudo.exe --description 'alias gsudo=sudo.exe' 3 + sudo.exe $argv; 4 + end
+3
fish/.config/fish/functions/keybase.fish
··· 1 + function keybase --wraps=keybase.exe --description 'alias keybase keybase.exe' 2 + keybase.exe $argv; 3 + end
+47
fish/.config/fish/functions/latest.fish
··· 1 + function latest --description 'Update asdf managed tools to their latest version' 2 + isatty || read -az stdin && set -a argv $stdin 3 + 4 + if test -n "$argv" 5 + set plugins $argv 6 + 7 + for plugin in $plugins 8 + if asdf plugin list | grep -q $plugin 9 + asdf plugin update $plugin 10 + else 11 + asdf plugin add $plugin 12 + end 13 + end 14 + else 15 + set plugins (asdf plugin list) 16 + asdf plugin update --all 17 + end 18 + 19 + for plugin in $plugins 20 + if test $plugin = python 21 + set latest2 (asdf list all python | grep \^2 | grep -Ev 'dev|b' | tail -n1) 22 + set latest3 (asdf latest python) 23 + 24 + asdf install python $latest3 25 + asdf install python $latest2 26 + asdf global python $latest3 $latest2 27 + else if test $plugin = java 28 + set latest (asdf list all java | grep temurin | grep -v jre | tail -n1) 29 + 30 + asdf install java $latest 31 + asdf global java $latest 32 + else if test $plugin = neovim 33 + asdf install neovim nightly 34 + asdf global neovim nightly 35 + else if test $plugin = perl 36 + set latest (asdf list all perl | grep -v RC | tail -n1) 37 + 38 + asdf install perl $latest 39 + asdf global perl $latest 40 + else 41 + set latest (asdf latest $plugin) 42 + 43 + asdf install $plugin $latest 44 + asdf global $plugin $latest 45 + end 46 + end 47 + end
+3
fish/.config/fish/functions/less.fish
··· 1 + function less --description 'alias less=less -R' 2 + command less -R $argv; 3 + end
+1
fish/.config/fish/functions/man.fish
··· 1 + /home/bas/.local/share/fish/plug/decors/fish-colored-man/functions/man.fish
+3
fish/.config/fish/functions/mkcd.fish
··· 1 + function mkcd --wraps='mkdir $argv; cd $argv' --description 'alias mkcd mkdir $argv; cd $argv' 2 + mkdir $argv; cd $argv; 3 + end
+1
fish/.config/fish/functions/plug.fish
··· 1 + /home/bas/.local/share/fish/plug/kidonng/fish-plug/functions/plug.fish
+1
fish/.config/fish/functions/replay.fish
··· 1 + /home/bas/.local/share/fish/plug/jorgebucaran/replay.fish/functions/replay.fish
+3
fish/.config/fish/functions/rg.fish
··· 1 + function rg --description 'alias rg rg -S' 2 + command rg -S $argv; 3 + end
+8
fish/.config/fish/functions/rr.fish
··· 1 + # Defined interactively 2 + function rr 3 + set PREV_CMD (history | head -1) 4 + set PREV_OUTPUT (eval $PREV_CMD) 5 + set CMD $argv[1] 6 + echo "Running '$CMD $PREV_OUTPUT'" 7 + eval "$CMD $PREV_OUTPUT" 8 + end
+3
fish/.config/fish/functions/spicetify.fish
··· 1 + function spicetify --wraps=spicetify.exe --description 'alias spicetify=spicetify.exe' 2 + spicetify.exe $argv; 3 + end
+3
fish/.config/fish/functions/take.fish
··· 1 + function take --wraps='mkdir $argv; cd $argv' --wraps='mkdir $argv; cd' --description 'alias take mkdir $argv; cd' 2 + mkdir $argv; cd $argv; 3 + end
+3
fish/.config/fish/functions/to_list.fish
··· 1 + function to_list --wraps=tr\ \'\ \'\ \\n\ \|\ nl --description alias\ to_list\ tr\ \'\ \'\ \\n\ \|\ nl 2 + tr ' ' \n | nl $argv; 3 + end
+3
fish/.config/fish/functions/up.fish
··· 1 + function up --description='upgrade everything' 2 + sudo apt update && sudo apt full-upgrade && sudo apt autoremove && brew upgrade --fetch-head && latest $argv; 3 + end
+5
fish/.config/fish/functions/winget.fish
··· 1 + function winget --wraps='cmd.exe /c winget.exe' --description 'alias winget=cmd.exe /c winget.exe' 2 + cd /mnt/c; 3 + cmd.exe /c winget.exe $argv; 4 + cd -; 5 + end
+5
fish_plug_plugins
··· 1 + decors/fish-colored-man 2 + gazorby/fish-abbreviation-tips 3 + jorgebucaran/autopair.fish 4 + jorgebucaran/replay.fish 5 + kidonng/fish-plug
+1
nvim/.config/nvim/.envrc
··· 1 + use asdf
+10
nvim/.config/nvim/after/ftplugin/lua.lua
··· 1 + local opt = vim.opt_local 2 + opt.formatoptions = opt.formatoptions - 'o' 3 + 4 + -- set indentation for Lua until https://github.com/sumneko/lua-language-server/issues/1068 is fixed 5 + opt.shiftwidth=2 6 + opt.softtabstop=2 7 + 8 + opt.suffixesadd:prepend('.lua') 9 + opt.suffixesadd:prepend('init.lua') 10 + opt.path:prepend(vim.fn.stdpath('config')..'/lua')
+4
nvim/.config/nvim/init.lua
··· 1 + require('options') 2 + require('autocmds') 3 + require('plugins') 4 + require('keymaps')
+10
nvim/.config/nvim/lua/autocmds.lua
··· 1 + -- fix blinking cursor after exiting Neovim in Windows Terminal 2 + vim.cmd('au VimLeave * set guicursor=a:block-blinkon1') 3 + 4 + -- press q to close help 5 + vim.cmd('au FileType help nmap <silent> <buffer> q :q<CR>') 6 + 7 + -- detect jsonnet files 8 + vim.cmd('au BufRead,BufNewFile *.jsonnet,*.libsonnet set filetype=jsonnet') 9 + 10 + -- vim.cmd('au FileType c set tabstop=4<CR>')
+15
nvim/.config/nvim/lua/keymaps.lua
··· 1 + local map = vim.keymap.set 2 + local silent = { silent = true } 3 + 4 + map('n', 'n', "<Cmd>silent execute('normal! ' . v:count1 . 'n')<CR><Cmd>lua require('hlslens').start()<CR>", silent) 5 + map('n', 'N', "<Cmd>silent execute('normal! ' . v:count1 . 'N')<CR><Cmd>lua require('hlslens').start()<CR>", silent) 6 + map('n', '*', "*<Cmd>lua require('hlslens').start()<CR>", silent) 7 + map('n', '#', "#<Cmd>lua require('hlslens').start()<CR>", silent) 8 + map('n', 'g*', "g*<Cmd>lua require('hlslens').start()<CR>", silent) 9 + map('n', 'g#', "g#<Cmd>lua require('hlslens').start()<CR>", silent) 10 + map('n', '<Esc>', ':noh<CR>', silent) 11 + 12 + map('n', '<C-k>', '<C-w><C-k>') 13 + map('n', '<C-j>', '<C-w><C-j>') 14 + map('n', '<C-l>', '<C-w><C-l>') 15 + map('n', '<C-h>', '<C-w><C-h>')
+26
nvim/.config/nvim/lua/options.lua
··· 1 + -- options 2 + local opt = vim.opt 3 + opt.number = true 4 + opt.relativenumber = true 5 + opt.mouse = 'a' 6 + opt.cursorline = true 7 + opt.title = true 8 + opt.timeoutlen = 1000 9 + opt.ttimeoutlen = 10 10 + opt.splitbelow = true 11 + opt.splitright = true 12 + opt.laststatus = 3 13 + opt.ignorecase = true 14 + opt.smartcase = true 15 + opt.signcolumn = 'yes' 16 + opt.scrolloff = 8 17 + opt.undofile = true 18 + opt.clipboard = 'unnamedplus' 19 + opt.inccommand = 'split' 20 + opt.formatoptions = opt.formatoptions - 'o' 21 + opt.termguicolors = true 22 + opt.tabstop = 4 23 + opt.shiftwidth = 4 24 + 25 + local g = vim.g 26 + g.mapleader = ' '
+179
nvim/.config/nvim/lua/plugins.lua
··· 1 + local fn = vim.fn 2 + 3 + local install_path = fn.stdpath('data') .. '/site/pack/packer/start/packer.nvim' 4 + local packer_bootstrap = false 5 + if fn.empty(fn.glob(install_path)) > 0 then 6 + packer_bootstrap = true 7 + fn.system({'git', 'clone', '--depth=1', 'https://github.com/wbthomason/packer.nvim', install_path}) 8 + vim.o.runtimepath = vim.fn.stdpath('data') .. '/site/pack/*/start/*,' .. vim.o.runtimepath 9 + end 10 + 11 + require('packer').startup(function(use) 12 + use 'wbthomason/packer.nvim' 13 + use 'shaunsingh/nord.nvim' 14 + use { 15 + 'nvim-lualine/lualine.nvim', 16 + requires = { 'kyazdani42/nvim-web-devicons' } 17 + } 18 + use { 19 + 'nvim-telescope/telescope.nvim', 20 + requires = { 'nvim-lua/plenary.nvim' } 21 + } 22 + use { 23 + 'pwntester/octo.nvim', 24 + requires = { 25 + 'nvim-lua/plenary.nvim', 26 + 'nvim-telescope/telescope.nvim', 27 + 'kyazdani42/nvim-web-devicons' 28 + } 29 + } 30 + use 'folke/which-key.nvim' 31 + -- use 'andweeb/presence.nvim' 32 + use 'WilliamWelsh/presence.nvim' 33 + use { 'nvim-treesitter/nvim-treesitter', run = ':TSUpdate' } 34 + use 'kevinhwang91/nvim-hlslens' 35 + use 'petertriho/nvim-scrollbar' 36 + -- use 'tpope/vim-surround' 37 + use 'kylechui/nvim-surround' 38 + use 'tpope/vim-repeat' 39 + use 'numtostr/comment.nvim' 40 + use 'akinsho/toggleterm.nvim' 41 + use 'zegervdv/nrpattern.nvim' 42 + use 'neovim/nvim-lspconfig' 43 + use 'williamboman/nvim-lsp-installer' 44 + use 'ms-jpq/coq_nvim' 45 + use 'ms-jpq/coq.artifacts' 46 + use 'ms-jpq/coq.thirdparty' 47 + use 'j-hui/fidget.nvim' 48 + -- use 'github/copilot.vim' 49 + use 'lewis6991/gitsigns.nvim' 50 + use 'karb94/neoscroll.nvim' 51 + use 'rcarriga/nvim-notify' 52 + use 'lewis6991/impatient.nvim' 53 + use 'tpope/vim-sleuth' 54 + 55 + if packer_bootstrap then 56 + require('packer').sync() 57 + end 58 + end) 59 + 60 + local plugins_no_config = { 'which-key', 'Comment', 'toggleterm', 'nrpattern', 'gitsigns', 'fidget', 'octo', 'nvim-surround' } 61 + for _, plugin in pairs(plugins_no_config) do 62 + require(plugin).setup() 63 + end 64 + 65 + local nord_options = { 66 + borders = true, 67 + italic = false, 68 + } 69 + 70 + for option, value in pairs(nord_options) do 71 + vim.g['nord_' .. option] = value 72 + end 73 + 74 + require('nord').set() 75 + 76 + require('lualine').setup { 77 + options = { 78 + theme = 'nord', 79 + -- component_separators = {left = '', right = ''}, 80 + -- section_separators = {left = '', right = ''}, 81 + globalstatus = true 82 + } 83 + } 84 + 85 + require('presence'):setup({ 86 + show_time = false, 87 + neovim_image_text = 'Neovim' 88 + }) 89 + 90 + require('nvim-treesitter.configs').setup { 91 + ensure_installed = 'all', 92 + sync_install = false, 93 + highlight = { 94 + enable = true 95 + } 96 + } 97 + 98 + require('toggleterm').setup { 99 + shade_terminals = false 100 + } 101 + 102 + require('scrollbar').setup { 103 + handle = { 104 + color = require('nord.colors').nord2_gui 105 + }, 106 + handlers = { 107 + search = true 108 + } 109 + } 110 + 111 + local runtime_path = vim.split(package.path, ';') 112 + table.insert(runtime_path, "lua/?.lua") 113 + table.insert(runtime_path, "lua/?/init.lua") 114 + 115 + local lsp_opts = { 116 + sumneko_lua = { 117 + settings = { 118 + Lua = { 119 + runtime = { 120 + version = "LuaJIT", 121 + path = runtime_path 122 + }, 123 + diagnostics = { 124 + globals = { 'vim' } 125 + }, 126 + workspace = { 127 + library = { 128 + [fn.expand("$VIMRUNTIME/lua")] = true, 129 + [fn.expand("$VIMRUNTIME/lua/vim/lsp")] = true 130 + } 131 + }, 132 + format = { 133 + enable = true, 134 + defaultConfig = { 135 + indent_style = 'space', 136 + indent_size = '2' 137 + } 138 + } 139 + } 140 + } 141 + } 142 + } 143 + 144 + vim.g.coq_settings = { 145 + auto_start = 'shut-up', 146 + display = { icons = { mode = 'short' } }, 147 + limits = { completion_auto_timeout = 0.5 }, 148 + } 149 + 150 + -- Copilot is bugged with Node 18 151 + -- vim.g.copilot_node_command = '/home/bas/.asdf/installs/nodejs/17.9.0/bin/node' 152 + 153 + local lsp_installer = require("nvim-lsp-installer") 154 + local coq = require('coq') 155 + 156 + lsp_installer.on_server_ready(function(server) 157 + local opts = lsp_opts[server.name] or {} 158 + 159 + server:setup(coq.lsp_ensure_capabilities(opts)) 160 + end) 161 + 162 + require('coq_3p') { 163 + -- { src = "copilot", short_name = "COP", accept_key = "<c-f>" }, 164 + { src = "nvimlua", short_name = "nLUA" } 165 + } 166 + 167 + require('neoscroll').setup { 168 + easing_function = 'quadratic' 169 + } 170 + 171 + require('notify').setup { 172 + minimum_width = 16, 173 + on_open = function(win) 174 + vim.api.nvim_win_set_option(win, 'winblend', 40) 175 + vim.api.nvim_win_set_config(win, { zindex = 100 }) 176 + end 177 + } 178 + 179 + vim.notify = require('notify')
+222
nvim/.config/nvim/plugin/packer_compiled.lua
··· 1 + -- Automatically generated packer.nvim plugin loader code 2 + 3 + if vim.api.nvim_call_function('has', {'nvim-0.5'}) ~= 1 then 4 + vim.api.nvim_command('echohl WarningMsg | echom "Invalid Neovim version for packer.nvim! | echohl None"') 5 + return 6 + end 7 + 8 + vim.api.nvim_command('packadd packer.nvim') 9 + 10 + local no_errors, error_msg = pcall(function() 11 + 12 + local time 13 + local profile_info 14 + local should_profile = false 15 + if should_profile then 16 + local hrtime = vim.loop.hrtime 17 + profile_info = {} 18 + time = function(chunk, start) 19 + if start then 20 + profile_info[chunk] = hrtime() 21 + else 22 + profile_info[chunk] = (hrtime() - profile_info[chunk]) / 1e6 23 + end 24 + end 25 + else 26 + time = function(chunk, start) end 27 + end 28 + 29 + local function save_profiles(threshold) 30 + local sorted_times = {} 31 + for chunk_name, time_taken in pairs(profile_info) do 32 + sorted_times[#sorted_times + 1] = {chunk_name, time_taken} 33 + end 34 + table.sort(sorted_times, function(a, b) return a[2] > b[2] end) 35 + local results = {} 36 + for i, elem in ipairs(sorted_times) do 37 + if not threshold or threshold and elem[2] > threshold then 38 + results[i] = elem[1] .. ' took ' .. elem[2] .. 'ms' 39 + end 40 + end 41 + 42 + _G._packer = _G._packer or {} 43 + _G._packer.profile_output = results 44 + end 45 + 46 + time([[Luarocks path setup]], true) 47 + local package_path_str = "/home/bas/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?.lua;/home/bas/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?/init.lua;/home/bas/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?.lua;/home/bas/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?/init.lua" 48 + local install_cpath_pattern = "/home/bas/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/lua/5.1/?.so" 49 + if not string.find(package.path, package_path_str, 1, true) then 50 + package.path = package.path .. ';' .. package_path_str 51 + end 52 + 53 + if not string.find(package.cpath, install_cpath_pattern, 1, true) then 54 + package.cpath = package.cpath .. ';' .. install_cpath_pattern 55 + end 56 + 57 + time([[Luarocks path setup]], false) 58 + time([[try_loadstring definition]], true) 59 + local function try_loadstring(s, component, name) 60 + local success, result = pcall(loadstring(s), name, _G.packer_plugins[name]) 61 + if not success then 62 + vim.schedule(function() 63 + vim.api.nvim_notify('packer.nvim: Error running ' .. component .. ' for ' .. name .. ': ' .. result, vim.log.levels.ERROR, {}) 64 + end) 65 + end 66 + return result 67 + end 68 + 69 + time([[try_loadstring definition]], false) 70 + time([[Defining packer_plugins]], true) 71 + _G.packer_plugins = { 72 + ["comment.nvim"] = { 73 + loaded = true, 74 + path = "/home/bas/.local/share/nvim/site/pack/packer/start/comment.nvim", 75 + url = "https://github.com/numtostr/comment.nvim" 76 + }, 77 + ["coq.artifacts"] = { 78 + loaded = true, 79 + path = "/home/bas/.local/share/nvim/site/pack/packer/start/coq.artifacts", 80 + url = "https://github.com/ms-jpq/coq.artifacts" 81 + }, 82 + ["coq.thirdparty"] = { 83 + loaded = true, 84 + path = "/home/bas/.local/share/nvim/site/pack/packer/start/coq.thirdparty", 85 + url = "https://github.com/ms-jpq/coq.thirdparty" 86 + }, 87 + coq_nvim = { 88 + loaded = true, 89 + path = "/home/bas/.local/share/nvim/site/pack/packer/start/coq_nvim", 90 + url = "https://github.com/ms-jpq/coq_nvim" 91 + }, 92 + ["fidget.nvim"] = { 93 + loaded = true, 94 + path = "/home/bas/.local/share/nvim/site/pack/packer/start/fidget.nvim", 95 + url = "https://github.com/j-hui/fidget.nvim" 96 + }, 97 + ["gitsigns.nvim"] = { 98 + loaded = true, 99 + path = "/home/bas/.local/share/nvim/site/pack/packer/start/gitsigns.nvim", 100 + url = "https://github.com/lewis6991/gitsigns.nvim" 101 + }, 102 + ["impatient.nvim"] = { 103 + loaded = true, 104 + path = "/home/bas/.local/share/nvim/site/pack/packer/start/impatient.nvim", 105 + url = "https://github.com/lewis6991/impatient.nvim" 106 + }, 107 + ["lualine.nvim"] = { 108 + loaded = true, 109 + path = "/home/bas/.local/share/nvim/site/pack/packer/start/lualine.nvim", 110 + url = "https://github.com/nvim-lualine/lualine.nvim" 111 + }, 112 + ["neoscroll.nvim"] = { 113 + loaded = true, 114 + path = "/home/bas/.local/share/nvim/site/pack/packer/start/neoscroll.nvim", 115 + url = "https://github.com/karb94/neoscroll.nvim" 116 + }, 117 + ["nord.nvim"] = { 118 + loaded = true, 119 + path = "/home/bas/.local/share/nvim/site/pack/packer/start/nord.nvim", 120 + url = "https://github.com/shaunsingh/nord.nvim" 121 + }, 122 + ["nrpattern.nvim"] = { 123 + loaded = true, 124 + path = "/home/bas/.local/share/nvim/site/pack/packer/start/nrpattern.nvim", 125 + url = "https://github.com/zegervdv/nrpattern.nvim" 126 + }, 127 + ["nvim-hlslens"] = { 128 + loaded = true, 129 + path = "/home/bas/.local/share/nvim/site/pack/packer/start/nvim-hlslens", 130 + url = "https://github.com/kevinhwang91/nvim-hlslens" 131 + }, 132 + ["nvim-lsp-installer"] = { 133 + loaded = true, 134 + path = "/home/bas/.local/share/nvim/site/pack/packer/start/nvim-lsp-installer", 135 + url = "https://github.com/williamboman/nvim-lsp-installer" 136 + }, 137 + ["nvim-lspconfig"] = { 138 + loaded = true, 139 + path = "/home/bas/.local/share/nvim/site/pack/packer/start/nvim-lspconfig", 140 + url = "https://github.com/neovim/nvim-lspconfig" 141 + }, 142 + ["nvim-notify"] = { 143 + loaded = true, 144 + path = "/home/bas/.local/share/nvim/site/pack/packer/start/nvim-notify", 145 + url = "https://github.com/rcarriga/nvim-notify" 146 + }, 147 + ["nvim-scrollbar"] = { 148 + loaded = true, 149 + path = "/home/bas/.local/share/nvim/site/pack/packer/start/nvim-scrollbar", 150 + url = "https://github.com/petertriho/nvim-scrollbar" 151 + }, 152 + ["nvim-surround"] = { 153 + loaded = true, 154 + path = "/home/bas/.local/share/nvim/site/pack/packer/start/nvim-surround", 155 + url = "https://github.com/kylechui/nvim-surround" 156 + }, 157 + ["nvim-treesitter"] = { 158 + loaded = true, 159 + path = "/home/bas/.local/share/nvim/site/pack/packer/start/nvim-treesitter", 160 + url = "https://github.com/nvim-treesitter/nvim-treesitter" 161 + }, 162 + ["nvim-web-devicons"] = { 163 + loaded = true, 164 + path = "/home/bas/.local/share/nvim/site/pack/packer/start/nvim-web-devicons", 165 + url = "https://github.com/kyazdani42/nvim-web-devicons" 166 + }, 167 + ["octo.nvim"] = { 168 + loaded = true, 169 + path = "/home/bas/.local/share/nvim/site/pack/packer/start/octo.nvim", 170 + url = "https://github.com/pwntester/octo.nvim" 171 + }, 172 + ["packer.nvim"] = { 173 + loaded = true, 174 + path = "/home/bas/.local/share/nvim/site/pack/packer/start/packer.nvim", 175 + url = "https://github.com/wbthomason/packer.nvim" 176 + }, 177 + ["plenary.nvim"] = { 178 + loaded = true, 179 + path = "/home/bas/.local/share/nvim/site/pack/packer/start/plenary.nvim", 180 + url = "https://github.com/nvim-lua/plenary.nvim" 181 + }, 182 + ["presence.nvim"] = { 183 + loaded = true, 184 + path = "/home/bas/.local/share/nvim/site/pack/packer/start/presence.nvim", 185 + url = "https://github.com/WilliamWelsh/presence.nvim" 186 + }, 187 + ["telescope.nvim"] = { 188 + loaded = true, 189 + path = "/home/bas/.local/share/nvim/site/pack/packer/start/telescope.nvim", 190 + url = "https://github.com/nvim-telescope/telescope.nvim" 191 + }, 192 + ["toggleterm.nvim"] = { 193 + loaded = true, 194 + path = "/home/bas/.local/share/nvim/site/pack/packer/start/toggleterm.nvim", 195 + url = "https://github.com/akinsho/toggleterm.nvim" 196 + }, 197 + ["vim-repeat"] = { 198 + loaded = true, 199 + path = "/home/bas/.local/share/nvim/site/pack/packer/start/vim-repeat", 200 + url = "https://github.com/tpope/vim-repeat" 201 + }, 202 + ["vim-sleuth"] = { 203 + loaded = true, 204 + path = "/home/bas/.local/share/nvim/site/pack/packer/start/vim-sleuth", 205 + url = "https://github.com/tpope/vim-sleuth" 206 + }, 207 + ["which-key.nvim"] = { 208 + loaded = true, 209 + path = "/home/bas/.local/share/nvim/site/pack/packer/start/which-key.nvim", 210 + url = "https://github.com/folke/which-key.nvim" 211 + } 212 + } 213 + 214 + time([[Defining packer_plugins]], false) 215 + if should_profile then save_profiles() end 216 + 217 + end) 218 + 219 + if not no_errors then 220 + error_msg = error_msg:gsub('"', '\\"') 221 + vim.api.nvim_command('echohl ErrorMsg | echom "Error in packer_compiled: '..error_msg..'" | echom "Please check your config for correctness" | echohl None') 222 + end
+90
starship/.config/starship.toml
··· 1 + [character] 2 + success_symbol = "[❯](bold purple)" 3 + 4 + [cmd_duration] 5 + min_time = 4_000 6 + 7 + [directory] 8 + read_only = " " 9 + truncation_length = 5 10 + truncate_to_repo = false 11 + truncation_symbol = "../" 12 + 13 + [container] 14 + disabled = true 15 + 16 + [hostname] 17 + style = "bold dimmed white" 18 + 19 + [aws] 20 + symbol = " " 21 + disabled = true 22 + 23 + [conda] 24 + symbol = " " 25 + 26 + [dart] 27 + symbol = " " 28 + 29 + [docker_context] 30 + symbol = " " 31 + 32 + [elixir] 33 + symbol = " " 34 + 35 + [elm] 36 + symbol = " " 37 + 38 + [git_branch] 39 + symbol = " " 40 + 41 + [golang] 42 + symbol = " " 43 + 44 + #[haskell] 45 + #symbol = " " 46 + 47 + [hg_branch] 48 + symbol = " " 49 + 50 + [java] 51 + symbol = " " 52 + 53 + [julia] 54 + symbol = " " 55 + 56 + [memory_usage] 57 + symbol = " " 58 + 59 + [nim] 60 + symbol = " " 61 + 62 + [nix_shell] 63 + symbol = " " 64 + 65 + [nodejs] 66 + symbol = " " 67 + 68 + [package] 69 + symbol = " " 70 + 71 + [perl] 72 + symbol = " " 73 + 74 + [php] 75 + symbol = " " 76 + 77 + [python] 78 + symbol = " " 79 + 80 + [ruby] 81 + symbol = " " 82 + 83 + [rust] 84 + symbol = " " 85 + 86 + [scala] 87 + symbol = " " 88 + 89 + [swift] 90 + symbol = "ﯣ "
+1
stow/.stowrc
··· 1 + --dir ~/dotfiles --target ~