Added some options to $LESS and messed with vim clipboard
This commit is contained in:
@@ -14,7 +14,7 @@ fi
|
|||||||
#-I case insensitive
|
#-I case insensitive
|
||||||
#-j 5 show X lines above search for context
|
#-j 5 show X lines above search for context
|
||||||
## 4 - right/left four chars
|
## 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
|
# User specific aliases and functions
|
||||||
alias l.='ls -lh --color=auto' 2>/dev/null
|
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
|
#fix clear screen in vi mode
|
||||||
bind -m vi-insert "\C-l":clear-screen
|
bind -m vi-insert "\C-l":clear-screen
|
||||||
|
|
||||||
|
#add date/time to history
|
||||||
|
export HISTTIMEFORMAT="%F %T: "
|
||||||
|
|||||||
@@ -10,6 +10,9 @@ set showtabline=2
|
|||||||
set hidden
|
set hidden
|
||||||
set incsearch
|
set incsearch
|
||||||
|
|
||||||
|
" share system clipboard
|
||||||
|
set clipboard=^unnamed,unnamedplus
|
||||||
|
|
||||||
" hide showmode because its in statusline
|
" hide showmode because its in statusline
|
||||||
set noshowmode
|
set noshowmode
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user