From 2eaa1082f767940a82f85fddb5e77bf5fa943ff4 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Fri, 13 Feb 2026 18:26:44 +0100 Subject: Update --- .shenanigans.sh | 4 ++-- .vimrc | 6 +----- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.shenanigans.sh b/.shenanigans.sh index ab8d5ab..8d92252 100755 --- a/.shenanigans.sh +++ b/.shenanigans.sh @@ -48,7 +48,8 @@ if [[ "${BASH_SOURCE[0]}" != "${0}" ]]; then export HISTSIZE= export HISTFILESIZE= export HISTFILE=~/.bash_history_infinite - PROMPT_COMMAND="history -a; history -n; ${PROMPT_COMMAND}" + PROMPT_COMMAND="history -a; ${PROMPT_COMMAND}" + # PROMPT_COMMAND="history -a; history -n; ${PROMPT_COMMAND}" bind '"\e[A": history-search-backward' bind '"\e[B": history-search-forward' export HSTR_CONFIG=hicolor @@ -96,5 +97,4 @@ worldclocks() { printf "%-18s %s\n" "Brisbane:" "$(TZ='Australia/Brisbane' date +'%a %H:%M')" printf "%-18s %s\n" "San Francisco:" "$(TZ='America/Los_Angeles' date +'%a %H:%M')" printf "%-18s %s\n" "New York:" "$(TZ='America/New_York' date +'%a %H:%M')" - } diff --git a/.vimrc b/.vimrc index 1fc7921..01f79ef 100644 --- a/.vimrc +++ b/.vimrc @@ -13,7 +13,7 @@ set encoding=utf8 spelllang=en_us laststatus=2 tabstop=4 shiftwidth=4 set number autoindent cursorline ignorecase hlsearch incsearch signcolumn=yes set hidden nowrap nobackup noswapfile noundofile autoread updatetime=300 set backspace=indent,eol,start completeopt=menuone path+=** -set foldmethod=syntax foldlevel=99 foldopen= lazyredraw +set foldmethod=syntax foldlevel=99 foldopen= lazyredraw scrolloff=10 set wildignore+=*/.git/*,*/.hg/*,*/.svn/*,*/vendor,tags,*.o,*.a,*.so set grepprg=rg\ --vimgrep\ --no-heading\ --smart-case colorscheme wildcharm @@ -35,17 +35,13 @@ nnoremap d :bd nnoremap t :term nnoremap q :nohlsearch nnoremap e :ALEPopulateQuickfix:sleep 100m:copen -" nnoremap w :vimgrep //gj **/*:copen - nnoremap w :silent! grep! \| cwindow \| redraw! - nmap gr :ALEFindReferences -quickfix:sleep 100m:copen nmap gd :ALEGoToDefinition nmap re :ALERename let g:ctrlp_use_caching = 0 -" let g:ctrlp_working_path_mode = '' let g:ctrlp_working_path_mode = 'ra' let g:ale_hover_to_floating_preview = 1 let g:ale_detail_to_floating_preview = 1 -- cgit v1.2.3