diff --git a/bash/.bashrc b/bash/.bashrc index 7497146..15830ea 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -14,7 +14,7 @@ fi #-I case insensitive #-j 5 show X lines above search for context ## 4 - right/left four chars -export LESS='-C -M -I -j 5 -# 4' +export LESS='-C -M -I -j 5 -# 4 -R' # User specific aliases and functions alias l.='ls -lh --color=auto' 2>/dev/null @@ -39,3 +39,6 @@ bind -m vi-insert '"\C-x\C-e": edit-and-execute-command' #fix clear screen in vi mode bind -m vi-insert "\C-l":clear-screen + +#add date/time to history +export HISTTIMEFORMAT="%F %T: " diff --git a/vim/.vimrc b/vim/.vimrc index b3a0059..39ebe0c 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -10,6 +10,9 @@ set showtabline=2 set hidden set incsearch +" share system clipboard +set clipboard=^unnamed,unnamedplus + " hide showmode because its in statusline set noshowmode