updates from lal-10

This commit is contained in:
Diego Fernando Carrión 2024-10-09 20:31:11 +02:00
parent af73674832
commit a438be38fd
No known key found for this signature in database
GPG Key ID: A286B34D5CFB3404
8 changed files with 37 additions and 6 deletions

View File

@ -23,3 +23,5 @@ fi
[ -f ~/.bash_profile.local ] && . "$HOME/.bash_profile.local"
[ -f "$HOME/.bashrc" ] && . "$HOME/.bashrc"
. "$HOME/.atuin/bin/env"

View File

@ -101,6 +101,8 @@ else
fi
fi
[ -d "$HOME/.modular" ] && export PATH="$PATH:$HOME/.modular/bin"
if [ -d "$HOME/.kube" ]
then
export KUBECONFIG=$HOME/.kube/config.yaml
@ -156,3 +158,12 @@ then
fi
####
[[ -f ~/.bash-preexec.sh ]] && source ~/.bash-preexec.sh
if [ -d ~/.atuin ]
then
source "$HOME/.atuin/bin/env"
eval "$(atuin init bash --disable-up-arrow)"
bind -x '"\C-r": __atuin_history'
fi

1
home/any/var.dirs Normal file
View File

@ -0,0 +1 @@
.var/tmp/tmp

0
home/any/var/.gitkeep Normal file
View File

1
home/any/var/tmp Symbolic link
View File

@ -0,0 +1 @@
../../../../.var/tmp/tmp

View File

@ -3,4 +3,4 @@
.config/nvim/plugged
.config/nvim/session
.config/nvim/spell
.config/nvim/tmp
.var/tmp/vim/

View File

@ -146,6 +146,9 @@ Plug 'prabirshrestha/asyncomplete-lsp.vim'
Plug 'neovim/nvim-lspconfig' " https://github.com/neovim/nvim-lspconfig
Plug 'ziglang/zig.vim' " https://github.com/ziglang/zig.vim
" Mojo
Plug 'czheo/mojo.vim'
"*****************************************************************************
"*****************************************************************************
@ -211,6 +214,8 @@ let g:session_command_aliases = 1
syntax on
set ruler
set number
set relativenumber
nnoremap <silent> <leader>nn :set relativenumber!<CR>
let no_buffers_menu=1
colorscheme gruvbox
@ -246,7 +251,7 @@ endif
"" Disable the blinking cursor.
set gcr=a:blinkon0
" set gcr=a:blinkon0
au TermEnter * setlocal scrolloff=0
au TermLeave * setlocal scrolloff=3
@ -675,6 +680,7 @@ au FileType rust nmap gs <Plug>(rust-def-split)
au FileType rust nmap gx <Plug>(rust-def-vertical)
au FileType rust nmap <leader>gd <Plug>(rust-doc)
au FileType rust setlocal makeprg=make
" Zig
"disable format-on-save from `ziglang/zig.vim`
@ -737,9 +743,13 @@ else
let g:airline_left_alt_sep = ''
let g:airline_right_sep = ''
let g:airline_right_alt_sep = ''
let g:airline_symbols.branch = ''
" let g:airline_symbols.branch = ''
let g:airline_symbols.branch = ''
let g:airline_symbols.readonly = ''
let g:airline_symbols.linenr = ''
let g:airline_symbols.notexists = ' 󱞄'
let g:airline_symbols.dirty = '󱞂'
let g:airline_symbols.crypt = '󰯄'
endif
"*****************************************************************************
@ -748,10 +758,11 @@ endif
hi Normal guibg=NONE ctermbg=NONE
command! W w !sudo tee >/dev/null %
command! Cleanup silent! execute "%bd|e#|bd#"
set backupdir=~/.vim/tmp/backup//
set directory=~/.vim/tmp/swap//
set undodir=~/.vim/tmp/undo//
set backupdir=~/.var/tmp/vim/backup//
set directory=~/.var/tmp/vim/swap//
set undodir=~/.var/tmp/vim/undo//
set list lcs=tab:\⇥\ ,trail:▓

View File

@ -42,6 +42,11 @@ config.keys = {
mods = 'CTRL|SHIFT',
action = wezterm.action.ActivatePaneDirection "Down",
},
{
key = 'w',
mods = 'CTRL|SHIFT',
action = wezterm.action.CloseCurrentPane { confirm = true },
},
}
config.font = wezterm.font 'Fira Code Nerd Font'