initial import
This commit is contained in:
parent
f8b4ed3351
commit
a8b69a8db2
35 changed files with 11590 additions and 0 deletions
16
home/bashrc
Normal file
16
home/bashrc
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
|
||||
PATH=$PATH:$HOME/.local/bin:$HOME/bin
|
||||
QUOTING_STYLE=literal
|
||||
BC_ENV_ARGS="-l -q"
|
||||
export PATH QUOTING_STYLE BC_ENV_ARGS
|
||||
|
||||
alias vi="vim"
|
||||
unset SSH_ASKPASS
|
||||
|
||||
HISTCONTROL="ignoredups"
|
||||
HISTTIMEFORMAT='%Y-%m-%d %H:%M '
|
||||
HISTSIZE=1000
|
||||
HISTFILESIZE=2000
|
||||
|
||||
shopt -s cmdhist histappend
|
||||
shopt -s checkwinsize
|
||||
2
home/gitconfig
Normal file
2
home/gitconfig
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
[pull]
|
||||
rebase = false
|
||||
3
home/gpg-agent.conf
Normal file
3
home/gpg-agent.conf
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
pinentry-program /usr/bin/pinentry-tty
|
||||
allow-loopback-pinentry
|
||||
disable-scdaemon
|
||||
8
home/inputrc
Normal file
8
home/inputrc
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#
|
||||
# ~/.inputrc
|
||||
#
|
||||
|
||||
# man readline
|
||||
set colored-stats On
|
||||
set mark-symlinked-directories On
|
||||
set enable-bracketed-paste Off
|
||||
2
home/selected_editor
Normal file
2
home/selected_editor
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
# Generated by /usr/bin/select-editor
|
||||
SELECTED_EDITOR="/usr/bin/vim.nox"
|
||||
1
home/tmux.conf
Normal file
1
home/tmux.conf
Normal file
|
|
@ -0,0 +1 @@
|
|||
set-option -g mouse on
|
||||
90
home/vimrc
Normal file
90
home/vimrc
Normal file
|
|
@ -0,0 +1,90 @@
|
|||
" ~/.vimrc
|
||||
|
||||
" This must be first - it changes other options as a side effect
|
||||
set nocompatible " use Vim settings, rather then Vi settings
|
||||
|
||||
set shortmess+=I " get rid of the intro screen on blank file
|
||||
set background=dark " this works better for text mode white-on-black terms
|
||||
set backspace=2 " allow backspacing over everything in insert mode
|
||||
set esckeys " allow cursor keys in insert mode
|
||||
set noautoindent " always set autoindenting off
|
||||
set shiftwidth=4 " number of spaces used for autoindent insertions
|
||||
set tabstop=4 " tabstop positions
|
||||
|
||||
set nobackup " backups are for wimps
|
||||
set history=250 " keep 250 lines of command line history
|
||||
|
||||
set noerrorbells " damn that beep to hell
|
||||
set visualbell " enable terminal visual bell, but...
|
||||
set t_vb= " ...unset the code to do it. (MacVim needs this)
|
||||
set magic " use 'magic' patterns (extended regexp) in search
|
||||
set ignorecase " ignore case during searches
|
||||
set smartcase " all lower/upper = case insensitive, \c \C overrides
|
||||
|
||||
set laststatus=2 " show status line, even if only one buffer
|
||||
set report=0 " show report on all (0) changes
|
||||
set lazyredraw " do not update screen while executing macros
|
||||
set ruler " show the cursor position all the time
|
||||
set showcmd " show current uncompleted command
|
||||
set showmode " show current mode
|
||||
set showmatch " show matching brackets
|
||||
|
||||
" tone down that dang bold highlighting, folks
|
||||
" highlight=8b,db,es,hs,mb,Mn,nu,rs,sr,tb,vr,ws
|
||||
set highlight=8r,db,es,hs,mb,Mr,nu,rs,sr,tb,vr,ws
|
||||
|
||||
" highlight extra/unwanted whitespace
|
||||
autocmd ColorScheme * highlight ExtraWhitespace ctermbg=red guibg=red
|
||||
highlight ExtraWhitespace ctermbg=red guibg=red guifg=red
|
||||
match ExtraWhitespace /\s\+$\| \+\ze\t/
|
||||
|
||||
" do not jump to first character with page commands, ie keep the cursor
|
||||
" in the current column.
|
||||
set nostartofline
|
||||
|
||||
" what info to store from an editing session in the viminfo file
|
||||
set viminfo='50,\"100,:100,n~/.viminfo
|
||||
|
||||
" allow the last line to be a modeline - useful when
|
||||
" the last line gives the preferred textwidth
|
||||
set modeline
|
||||
set modelines=1
|
||||
|
||||
" add the dash ('-'), the dot ('.'), and the '@' as "letters" to "words".
|
||||
" this makes it possible to expand email addresses, eg: joe-www@foo.org
|
||||
set iskeyword=@,48-57,_,192-255,-,.,@-@
|
||||
|
||||
" which chars/keys to allow eol wrapping (:help whichwrap)
|
||||
set whichwrap=<,>,[,]
|
||||
|
||||
" enable wrapping but without linebreaks
|
||||
set wrap
|
||||
set linebreak
|
||||
set nolist " list disables linebreak
|
||||
set textwidth=0
|
||||
set wrapmargin=0
|
||||
set formatoptions+=l
|
||||
|
||||
" When you forgot to sudo before editing a file
|
||||
cmap w!! w !sudo tee > /dev/null %
|
||||
|
||||
" When the backspace key sends a "delete" character
|
||||
" then you simply map the "delete" to a "backspace" (CTRL-H):
|
||||
map <Del> <C-H>
|
||||
|
||||
" Don't use Ex mode, use Q for formatting
|
||||
map Q gq
|
||||
|
||||
" Make shift-insert work like in Xterm
|
||||
map <S-Insert> <MiddleMouse>
|
||||
map! <S-Insert> <MiddleMouse>
|
||||
|
||||
" Make p in Visual mode replace the selected text with the "" register.
|
||||
vnoremap p <Esc>:let current_reg = @"<CR>gvdi<C-R>=current_reg<CR><Esc>
|
||||
|
||||
" Switch syntax highlighting on, when the terminal has colors
|
||||
" Also switch on highlighting the last used search pattern.
|
||||
if &t_Co > 2 || has("gui_running")
|
||||
syntax on
|
||||
set hlsearch
|
||||
endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue