Update files
This commit is contained in:
+5
-5
@@ -19,7 +19,7 @@ umask 0077
|
||||
export DISPLAY='localhost:0.0'
|
||||
export EDITOR='nano'
|
||||
export FIGNORE='.dll:.cpl'
|
||||
export GREP_COLORS='ms=30;43' # ANSI Black;Yellow
|
||||
export GREP_COLORS='ms=30;43:fn=94' # https://stackoverflow.com/a/33206814/202114
|
||||
export HISTCONTROL='ignoreboth:erasedups'
|
||||
export LANG='en_US.UTF-8'
|
||||
export LESS='-iRM'
|
||||
@@ -66,11 +66,11 @@ alias gs='git status'
|
||||
alias gw='git whatchanged'
|
||||
|
||||
# Git Prompt
|
||||
if [[ -e /usr/share/git-core/git-prompt.sh ]]; then
|
||||
source /usr/share/git-core/git-prompt.sh
|
||||
export PS1='\n\[\033[32m\]\u@\h \[\033[33m\w\033[0m\]$(__git_ps1 " (%s)")\n\$ '
|
||||
if [[ -e ~/.config/git/git-prompt.sh ]]; then
|
||||
source ~/.config/git/git-prompt.sh
|
||||
export PS1='\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]$(__git_ps1 " (%s)")\n\$ '
|
||||
else
|
||||
export PS1='\n\[\033[32m\]\u@\h \[\033[33m\w\033[0m\]\n\$ '
|
||||
export PS1='\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$ '
|
||||
fi
|
||||
|
||||
# Keychain for SSH Agent
|
||||
|
||||
+2
-2
@@ -102,7 +102,7 @@ menubar_visible=true
|
||||
free_space=true
|
||||
horizontal_split=false
|
||||
vertical_equal=true
|
||||
left_panel_size=106
|
||||
left_panel_size=79
|
||||
horizontal_equal=true
|
||||
top_panel_size=1
|
||||
|
||||
@@ -166,5 +166,5 @@ simple_swap=false
|
||||
[Panelize]
|
||||
Find rejects after patching=find . -name \\*.rej -print
|
||||
Find *.orig after patching=find . -name \\*.orig -print
|
||||
Find SUID and SGID programs=find . \\( \\( -perm -04000 -a -perm /011 \\) -o \\( -perm -02000 -a -perm /01 \\) \\) -print
|
||||
Modified git files=git ls-files --modified
|
||||
Find SUID and SGID programs=find . \\( \\( -perm -04000 -a -perm /011 \\) -o \\( -perm -02000 -a -perm /01 \\) \\) -print
|
||||
|
||||
+43
-8
@@ -1,22 +1,33 @@
|
||||
## Sample initialization file for GNU nano.
|
||||
|
||||
## When soft line wrapping is enabled, make it wrap lines at blanks
|
||||
## (tabs and spaces) instead of always at the edge of the screen.
|
||||
set atblanks
|
||||
|
||||
## Automatically indent a newly created line to the same number of
|
||||
## tabs and/or spaces as the preceding line -- or as the next line
|
||||
## if the preceding line is the beginning of a paragraph.
|
||||
unset autoindent
|
||||
set autoindent
|
||||
|
||||
## The characters treated as closing brackets when justifying paragraphs.
|
||||
## This may not include any blank characters. Only closing punctuation,
|
||||
## optionally followed by these closing brackets, can end sentences.
|
||||
set brackets ""')>]}"
|
||||
|
||||
## Automatically hard-wrap the current line when it becomes overlong.
|
||||
set breaklonglines
|
||||
|
||||
## Constantly display the cursor position in the status bar or minibar.
|
||||
set constantshow
|
||||
|
||||
## Set the target width for automatic hard-wrapping and for justifying
|
||||
## paragraphs. If the specified value is 0 or less, the wrapping point
|
||||
## will be the terminal's width minus this number.
|
||||
set fill 79
|
||||
set fill 76
|
||||
|
||||
## Draw a vertical stripe at the given column, to help judge text width.
|
||||
## (This option does not have a default value.)
|
||||
set guidestripe 77
|
||||
|
||||
## Display line numbers to the left (and any anchors in the margin).
|
||||
set linenumbers
|
||||
@@ -36,18 +47,38 @@ set mouse
|
||||
## or line-comment introducers in source code. The default is:
|
||||
set quotestr "^([ ]*([!#%:;>|}]|//))+"
|
||||
|
||||
## Make the Home key smarter: when Home is pressed anywhere but at the
|
||||
## very beginning of non-whitespace characters on a line, the cursor
|
||||
## will jump to that beginning (either forwards or backwards). If the
|
||||
## cursor is already at that position, it will jump to the true start
|
||||
## of the line (the left edge).
|
||||
set smarthome
|
||||
|
||||
## Spread overlong lines over multiple screen lines.
|
||||
set softwrap
|
||||
|
||||
## Use the end of the title bar for some state flags: I = auto-indenting,
|
||||
## M = mark, L = hard-wrapping long lines, R = recording, S = soft-wrapping.
|
||||
set stateflags
|
||||
|
||||
## Use this tab size instead of the default; it must be greater than 0
|
||||
set tabsize 4
|
||||
|
||||
## Snip whitespace at the end of lines when justifying or hard-wrapping.
|
||||
set trimblanks
|
||||
|
||||
## Save files by default in Unix format (also when they were DOS or Mac).
|
||||
set unix
|
||||
|
||||
## Paint the interface elements of nano. These are examples; there are
|
||||
## no colors by default, except for errorcolor and spotlightcolor.
|
||||
set titlecolor black,lightyellow
|
||||
#set promptcolor black,yellow
|
||||
set statuscolor bold,lightwhite,grey
|
||||
# set errorcolor bold,white,red
|
||||
# set spotlightcolor black,lightyellow
|
||||
# set selectedcolor lightwhite,magenta
|
||||
#set stripecolor ,#444
|
||||
#set errorcolor bold,white,red
|
||||
#set spotlightcolor black,lightyellow
|
||||
#set selectedcolor lightwhite,magenta
|
||||
set stripecolor ,#555
|
||||
#set scrollercolor cyan
|
||||
set numbercolor lightmagenta
|
||||
set keycolor black,blue
|
||||
@@ -57,7 +88,7 @@ set functioncolor lightgreen
|
||||
## For all details, see 'man nanorc', section SYNTAX HIGHLIGHTING.
|
||||
|
||||
## To include most of the existing syntax definitions, you can do:
|
||||
#include "/usr/share/nano/*.nanorc"
|
||||
## include "/usr/share/nano/*.nanorc"
|
||||
|
||||
include ~/.config/nano/batch.nanorc
|
||||
include ~/.config/nano/markdown.nanorc
|
||||
@@ -77,4 +108,8 @@ include /usr/share/nano/xml.nanorc
|
||||
## For all details, see 'man nanorc', section REBINDING KEYS.
|
||||
|
||||
## If you want to suspend nano with one keystroke (instead of with ^T^Z):
|
||||
bind ^Z suspend main
|
||||
#bind ^Z suspend main
|
||||
bind ^Z undo main
|
||||
bind ^C copy main
|
||||
bind ^V paste all
|
||||
bind ^W chopwordleft main
|
||||
|
||||
Reference in New Issue
Block a user