updates from lal-10
This commit is contained in:
parent
af73674832
commit
a438be38fd
@ -23,3 +23,5 @@ fi
|
||||
[ -f ~/.bash_profile.local ] && . "$HOME/.bash_profile.local"
|
||||
|
||||
[ -f "$HOME/.bashrc" ] && . "$HOME/.bashrc"
|
||||
|
||||
. "$HOME/.atuin/bin/env"
|
||||
|
@ -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
1
home/any/var.dirs
Normal file
@ -0,0 +1 @@
|
||||
.var/tmp/tmp
|
0
home/any/var/.gitkeep
Normal file
0
home/any/var/.gitkeep
Normal file
1
home/any/var/tmp
Symbolic link
1
home/any/var/tmp
Symbolic link
@ -0,0 +1 @@
|
||||
../../../../.var/tmp/tmp
|
@ -3,4 +3,4 @@
|
||||
.config/nvim/plugged
|
||||
.config/nvim/session
|
||||
.config/nvim/spell
|
||||
.config/nvim/tmp
|
||||
.var/tmp/vim/
|
||||
|
@ -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:▓
|
||||
|
||||
|
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user