Update vimrc

Author Mitja Felicijan <mitja.felicijan@gmail.com> 2024-06-18 06:24:41 +0200
Committer Mitja Felicijan <mitja.felicijan@gmail.com> 2024-06-18 06:24:41 +0200
Commit dab35ba856e69e7ac18dda5123aa9ca86aab54ff (patch)
-rwxr-xr-x shenanigans.sh 4
-rw-r--r-- vimrc 2
2 files changed, 2 insertions, 4 deletions
diff --git a/shenanigans.sh b/shenanigans.sh
1
# Software list.
1
# Software list.
2
# cifs-utils tree s3cmd xclip mc gnupg ripgrep jq xmlstarlet fzf htop nvtop newsboat tmux ctags
2
# cifs-utils tree hstr s3cmd xclip mc gnupg ripgrep jq xmlstarlet fzf htop nvtop newsboat tmux ctags
3
  
3
  
4
# Magical environment variables.
4
# Magical environment variables.
5
  
5
  
...
51
export PATH=$HOME/Applications:$PATH
51
export PATH=$HOME/Applications:$PATH
52
export PATH=$HOME/go/bin:$PATH
52
export PATH=$HOME/go/bin:$PATH
53
export PATH=/usr/local/go/bin:$PATH
53
export PATH=/usr/local/go/bin:$PATH
54
export PATH=$HOME/Bitcoin/bitcoin-27.0/bin:$PATH
  
55
  
54
  
56
# History and search. Stolen from J.
55
# History and search. Stolen from J.
57
  
56
  
...
63
PROMPT_COMMAND="history -a; history -n; ${PROMPT_COMMAND}"
62
PROMPT_COMMAND="history -a; history -n; ${PROMPT_COMMAND}"
64
bind '"\e[A": history-search-backward'
63
bind '"\e[A": history-search-backward'
65
bind '"\e[B": history-search-forward'
64
bind '"\e[B": history-search-forward'
66
alias hh=hstr
  
67
export HSTR_CONFIG=hicolor
65
export HSTR_CONFIG=hicolor
68
if [[ $- =~ .i. ]]; then bind '"\C-h": "\C-a hstr -- \C-j"'; fi
66
if [[ $- =~ .i. ]]; then bind '"\C-h": "\C-a hstr -- \C-j"'; fi
69
  
67
  
...
diff --git a/vimrc b/vimrc
1
set nocompatible
1
set nocompatible
2
set path+=**
2
set path+=**
3
set relativenumber autoindent
3
set number relativenumber autoindent
4
set smartcase ignorecase incsearch
4
set smartcase ignorecase incsearch
5
set hidden nowrap nobackup noswapfile autoread
5
set hidden nowrap nobackup noswapfile autoread
6
set wildmenu laststatus=2
6
set wildmenu laststatus=2
...