diff --git a/.shenanigans.sh b/.shenanigans.sh index ab8d5ab249d6e65caa45c592cb0affd0bd0b8c44..8d922525678acb4d937d0edd51a6b2a74551a7d9 100755 --- a/.shenanigans.sh +++ b/.shenanigans.sh @@ -48,7 +48,8 @@ shopt -s histappend 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 @@ printf "%-18s %s\n" "Local:" "$(TZ='Europe/Ljubljana' date +'%a %H:%M')" 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 1fc7921414b20f23b0c2cbccb490af3dc75f7ac3..01f79efc2edad571da2171b3ffbb80f0dde15b59 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