Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1589074fc7 | ||
|
|
a388c87a44 | ||
|
|
c0c3dc1b5b |
10
.bashrc
10
.bashrc
@@ -70,17 +70,14 @@ fi
|
|||||||
|
|
||||||
#---begin fzf setup---
|
#---begin fzf setup---
|
||||||
#fast fuzzy file searching with fzf
|
#fast fuzzy file searching with fzf
|
||||||
#fzf kbd shortcuts: <alt-c>, <ctrl-t>, <ctrl-p>
|
#fzf kbd shortcuts: <alt-c>, <ctrl-r>, <ctrl-t>, <ctrl-p>
|
||||||
source /usr/share/fzf/key-bindings.bash
|
source /usr/share/fzf/key-bindings.bash
|
||||||
source /usr/share/fzf/completion.bash
|
source /usr/share/fzf/completion.bash
|
||||||
|
|
||||||
#use ripgrep with fzf
|
#use ripgrep with fzf
|
||||||
#export FZF_DEFAULT_COMMAND='rg -i --files --glob "!.git/*"'
|
export FZF_DEFAULT_COMMAND='rg -i --files --glob "!.git/*"'
|
||||||
#export FZF_DEFAULT_COMMAND='rg --files --no-ignore --hidden --follow --glob "!.git/*"'
|
#export FZF_DEFAULT_COMMAND='rg --files --no-ignore --hidden --follow --glob "!.git/*"'
|
||||||
|
|
||||||
#bat instead of cat
|
|
||||||
#fzf --preview 'bat --color=always --style=numbers --line-range=:500 {}'
|
|
||||||
|
|
||||||
#or use fd with fzf
|
#or use fd with fzf
|
||||||
# export FZF_DEFAULT_COMMAND="fd --type file --color=always"
|
# export FZF_DEFAULT_COMMAND="fd --type file --color=always"
|
||||||
# export FZF_DEFAULT_COMMAND='fd --type file --hidden --color=always --follow --exclude .git'
|
# export FZF_DEFAULT_COMMAND='fd --type file --hidden --color=always --follow --exclude .git'
|
||||||
@@ -97,7 +94,8 @@ bind -x '"\C-p": fzfcmd;'
|
|||||||
|
|
||||||
|
|
||||||
#setup bash history
|
#setup bash history
|
||||||
export HISTIGNORE="ls*:cd*:exit:ps*:history:pass*:gpg*:start*"
|
#export HISTIGNORE="ls*:cd*:exit:ps*:history:pass*:gpg*:start*"
|
||||||
|
export HISTIGNORE="ls*:cd*:exit:ps*:history:gpg*:start*"
|
||||||
# export HISTSIZE=4096
|
# export HISTSIZE=4096
|
||||||
export HISTSIZE=-1 #make unlimited
|
export HISTSIZE=-1 #make unlimited
|
||||||
# export HISTSIZE=0 #disable history
|
# export HISTSIZE=0 #disable history
|
||||||
|
|||||||
@@ -54,6 +54,9 @@ font pango:monospace 8
|
|||||||
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
|
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
|
||||||
# output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
|
# output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
|
||||||
# output * bg #000000 solid_color
|
# output * bg #000000 solid_color
|
||||||
|
# output * bg #333333 solid_color
|
||||||
|
# output * bg #0000FF solid_color
|
||||||
|
output * bg #003151 solid_color
|
||||||
|
|
||||||
#Apple trackpad input device id:
|
#Apple trackpad input device id:
|
||||||
input "1452:657:bcm5974" {
|
input "1452:657:bcm5974" {
|
||||||
|
|||||||
@@ -4,3 +4,6 @@ Description=check-battery
|
|||||||
[Service]
|
[Service]
|
||||||
ExecStart=%h/bin/check-battery.sh
|
ExecStart=%h/bin/check-battery.sh
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=check-battery.timer
|
||||||
|
; WantedBy=timers.target
|
||||||
|
|||||||
3
.nanorc
Normal file
3
.nanorc
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
include /usr/share/nano/*.nanorc
|
||||||
|
set regexp
|
||||||
|
set nowrap
|
||||||
4
.vimrc
4
.vimrc
@@ -396,7 +396,7 @@ endif
|
|||||||
|
|
||||||
" Set color manually
|
" Set color manually
|
||||||
" colorscheme base16-gruvbox-dark-hard
|
" colorscheme base16-gruvbox-dark-hard
|
||||||
colorscheme base16-atelier-dune-light
|
colorscheme base16-gruvbox-dark-hard
|
||||||
|
|
||||||
"gvim options
|
"gvim options
|
||||||
" if &t_Co > 2 || has("gui_running")
|
" if &t_Co > 2 || has("gui_running")
|
||||||
@@ -409,7 +409,7 @@ if has("gui_running")
|
|||||||
" default is go=aegimrLtT
|
" default is go=aegimrLtT
|
||||||
set go=aegLt
|
set go=aegLt
|
||||||
":set go+=m or go-=m to toggle menu
|
":set go+=m or go-=m to toggle menu
|
||||||
" colorscheme base16-atelier-dune-light
|
" colorscheme base16-gruvbox-dark-hard
|
||||||
" colorscheme base16-gruvbox-dark-hard
|
" colorscheme base16-gruvbox-dark-hard
|
||||||
autocmd VimEnter * Goyo
|
autocmd VimEnter * Goyo
|
||||||
autocmd VimEnter * Limelight0.8
|
autocmd VimEnter * Limelight0.8
|
||||||
|
|||||||
Reference in New Issue
Block a user