Update files
This commit is contained in:
+1
-1
@@ -31,7 +31,7 @@ export TZ='Europe/Oslo'
|
||||
#eval $(dircolors -b $HOME/.config/dircolors/dircolors.monokai)
|
||||
|
||||
# Functions
|
||||
#shn() { curl -F "shorten=$1" "https://envs.sh"; }
|
||||
#shn() { curl "https://is.gd/create.php?format=simple&url=$1"; }
|
||||
|
||||
# Cygwin
|
||||
if [[ "$(uname)" == *"CYGWIN"* ]]; then
|
||||
|
||||
+1
-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
|
||||
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
|
||||
Modified git files=git ls-files --modified
|
||||
|
||||
+50
-91
@@ -1,111 +1,64 @@
|
||||
## Sample initialization file for GNU nano
|
||||
## Please note that you must have configured nano with --enable-nanorc
|
||||
## for this file to be read! Also note that characters specially
|
||||
## interpreted by the shell should not be escaped here.
|
||||
##
|
||||
## To make sure a value is not enabled, use "unset <option>"
|
||||
##
|
||||
## For the options that take parameters, the default value is given.
|
||||
## Other options are unset by default.
|
||||
## Sample initialization file for GNU nano.
|
||||
|
||||
## Use auto-indentation
|
||||
## 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
|
||||
|
||||
## Backup files to filename~
|
||||
# set backup
|
||||
## 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 ""')>]}"
|
||||
|
||||
## Constantly display the cursor position in the status bar.
|
||||
## Constantly display the cursor position in the status bar or minibar.
|
||||
set constantshow
|
||||
|
||||
## Use cut to end of line with ^K by default
|
||||
# set cut
|
||||
|
||||
## Set the line length for wrapping text and justifying paragraphs.
|
||||
## If fill is negative, the line length will be the screen width less
|
||||
## this number.
|
||||
##
|
||||
## 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
|
||||
|
||||
## Enable ~/.nano_history for saving and reading search/replace strings.
|
||||
# set historylog
|
||||
## Display line numbers to the left (and any anchors in the margin).
|
||||
set linenumbers
|
||||
|
||||
## Use alternate keypad routines
|
||||
# set keypad
|
||||
## The opening and closing brackets that are found by a matching-bracket
|
||||
## search. This may not contain blank characters. The opening brackets
|
||||
## must come before the closing ones, and they must be in the same order.
|
||||
set matchbrackets "(<[{)>]}"
|
||||
|
||||
## Allow multiple file buffers (using ^R inserts into separate buffer).
|
||||
## You must have configured with --enable-multibuffer or --enable-extra
|
||||
## for this to work.
|
||||
##
|
||||
## set multibuffer
|
||||
## Enable mouse support, if available for your system. When enabled,
|
||||
## mouse clicks can be used to place the cursor, set the mark (with a
|
||||
## double click), and execute shortcuts. The mouse will work in the
|
||||
## X Window System, and on the console when gpm is running.
|
||||
set mouse
|
||||
|
||||
## Don't convert files from DOS/Mac format
|
||||
# set noconvert
|
||||
|
||||
## Don't follow symlinks when writing files
|
||||
# set nofollow
|
||||
|
||||
## Don't display the help lists at the bottom of the screen
|
||||
# set nohelp
|
||||
|
||||
## Don't wrap text at all
|
||||
#set nowrap
|
||||
|
||||
## Set operating directory. nano will not read or write files outside
|
||||
## this directory and its subdirectories. Also, the current directory
|
||||
## is changed to here, so files are inserted from this dir. A blank
|
||||
## string means the operating directory feature is turned off.
|
||||
##
|
||||
# set operatingdir ""
|
||||
|
||||
## Preserve the XON and XOFF keys (^Q and ^S)
|
||||
# set preserve
|
||||
|
||||
## The email-quote string, used to justify email-quoted paragraphs.
|
||||
## This is an extended regular expression if your system supports them,
|
||||
## otherwise a literal string. Default:
|
||||
# set quotestr "^([ ]*[\|>:}#])+"
|
||||
## if you have regexps, otherwise:
|
||||
# set quotestr "> "
|
||||
## You can get old nano quoted-justify behavior via:
|
||||
# set quotestr "(> )+"
|
||||
|
||||
## Do extended regular expression searches by default
|
||||
# set regexp
|
||||
|
||||
## Use smooth scrolling as the default
|
||||
# set smooth
|
||||
|
||||
## Use this spelling checker instead of the internal one. This option
|
||||
## does not properly have a default value.
|
||||
##
|
||||
# set speller "aspell -c"
|
||||
|
||||
## Allow nano to be suspended with ^Z
|
||||
bind ^Z suspend main
|
||||
## The regular expression that matches quoting characters in email
|
||||
## or line-comment introducers in source code. The default is:
|
||||
set quotestr "^([ ]*([!#%:;>|}]|//))+"
|
||||
|
||||
## Use this tab size instead of the default; it must be greater than 0
|
||||
set tabsize 4
|
||||
|
||||
## Save automatically on exit, don't prompt
|
||||
# set tempfile
|
||||
## 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 black,blue
|
||||
# set errorcolor bold,white,red
|
||||
# set spotlightcolor black,lightyellow
|
||||
# set selectedcolor lightwhite,magenta
|
||||
#set stripecolor ,#444
|
||||
#set scrollercolor cyan
|
||||
set numbercolor lightmagenta
|
||||
set keycolor black,blue
|
||||
set functioncolor lightgreen
|
||||
|
||||
## Disallow file modification, why would you want this in an rc file? ;)
|
||||
# set view
|
||||
## === Syntax coloring ===
|
||||
## 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"
|
||||
|
||||
## Color setup
|
||||
## Format:
|
||||
## syntax "short description" ["filename regex" ...]
|
||||
## color foreground,background "regex" ["regex"...]
|
||||
##
|
||||
## Legal colors: white, black, red, blue, green, yellow, magenta, cyan.
|
||||
## You may use the prefix "bright" to mean a stronger color highlight.
|
||||
##
|
||||
## To use multi-line regexes use the start="regex" end="regex" format.
|
||||
##
|
||||
## If your system supports transparency, not specifying a background
|
||||
## color will use a transparent color. If you don't want this, be sure
|
||||
## to set the background color to black or white.
|
||||
##
|
||||
include ~/.config/nano/batch.nanorc
|
||||
include ~/.config/nano/markdown.nanorc
|
||||
include /usr/share/nano/css.nanorc
|
||||
@@ -119,3 +72,9 @@ include /usr/share/nano/python.nanorc
|
||||
include /usr/share/nano/ruby.nanorc
|
||||
include /usr/share/nano/sh.nanorc
|
||||
include /usr/share/nano/xml.nanorc
|
||||
|
||||
## === Key bindings ===
|
||||
## 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
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
--no-check-certificate
|
||||
--js-runtimes node
|
||||
-o 'G:\download\%(title)s - %(id)s.%(ext)s'
|
||||
-o 'G:\download\%(title)a - %(id)s.%(ext)s'
|
||||
#--restrict-filenames
|
||||
Reference in New Issue
Block a user