Update
This commit is contained in:
@@ -37,7 +37,7 @@ alias grep='grep --color=auto'
|
|||||||
# for finding files by name
|
# for finding files by name
|
||||||
function rfnd() { find . -name "$1" ; }
|
function rfnd() { find . -name "$1" ; }
|
||||||
# find text inside files
|
# find text inside files
|
||||||
function rgrp() { grep -nr $1 * ; }
|
function rg() { grep -nr $1 * ; }
|
||||||
function cpd() { cp -avr $1 $2 ; }
|
function cpd() { cp -avr $1 $2 ; }
|
||||||
|
|
||||||
# extract tar archive
|
# extract tar archive
|
||||||
@@ -115,7 +115,7 @@ function aptr() { sudo apt remove $1 ; }
|
|||||||
|
|
||||||
# config files {{{ #
|
# config files {{{ #
|
||||||
alias lc="f ~/linux-config/"
|
alias lc="f ~/linux-config/"
|
||||||
function rlc() { grep -nr $1 ~/linux-config ; }
|
function glc() { grep $1 ~/linux-config/aliases/zsh_aliases ; }
|
||||||
alias lca="f ~/linux-config/aliases"
|
alias lca="f ~/linux-config/aliases"
|
||||||
|
|
||||||
alias vv="ni ~/.vimrc"
|
alias vv="ni ~/.vimrc"
|
||||||
@@ -143,7 +143,7 @@ alias tm="ni $usnp_dir/texmath.snippets"
|
|||||||
# }}} config files #
|
# }}} config files #
|
||||||
|
|
||||||
# applications {{{ #
|
# applications {{{ #
|
||||||
alias rg="ranger"
|
alias ran="ranger"
|
||||||
# okular
|
# okular
|
||||||
function ok() { nohup okular $1 > /dev/null 2>&1& ; }
|
function ok() { nohup okular $1 > /dev/null 2>&1& ; }
|
||||||
# xviewer
|
# xviewer
|
||||||
@@ -282,8 +282,9 @@ alias cdn="$cd_coding_dir"
|
|||||||
|
|
||||||
alias ans="f /usr/local/android-studio/bin && ./studio.sh"
|
alias ans="f /usr/local/android-studio/bin && ./studio.sh"
|
||||||
alias gx="ni ~/Documents/csgo-config/autoexec.cfg"
|
alias gx="ni ~/Documents/csgo-config/autoexec.cfg"
|
||||||
alias jn="ni ~/Documents/journal/9.md"
|
alias jnd="f ~/Documents/journal"
|
||||||
alias jnt="ni ~/Documents/journal/todo.md"
|
alias jn="ni ~/Documents/journal/todo/9.md"
|
||||||
|
alias jnt="ni ~/Documents/journal/todo/todo.md"
|
||||||
alias rs="f ~/Documents/runescape"
|
alias rs="f ~/Documents/runescape"
|
||||||
|
|
||||||
# ideas {{{ #
|
# ideas {{{ #
|
||||||
@@ -343,6 +344,9 @@ alias djs="python manage.py shell"
|
|||||||
|
|
||||||
alias sch="f ~/Documents/school"
|
alias sch="f ~/Documents/school"
|
||||||
alias sta="f ~/Documents/school/sta"
|
alias sta="f ~/Documents/school/sta"
|
||||||
|
|
||||||
|
# 236
|
||||||
alias 236="f ~/Documents/school/236"
|
alias 236="f ~/Documents/school/236"
|
||||||
|
alias a1="f ~/Documents/school/latex-notes/236/a1"
|
||||||
|
|
||||||
# }}} school #
|
# }}} school #
|
||||||
|
|||||||
@@ -161,7 +161,7 @@ set $ws7 "7 "
|
|||||||
workspace $ws7 output $samsung
|
workspace $ws7 output $samsung
|
||||||
bindsym $mod+F7 workspace $ws7; exec $def_term
|
bindsym $mod+F7 workspace $ws7; exec $def_term
|
||||||
|
|
||||||
set $ws8 "8 "
|
set $ws8 "8 🕮"
|
||||||
# assign [class="jetbrains-"] $ws8
|
# assign [class="jetbrains-"] $ws8
|
||||||
bindsym $mod+F8 workspace $ws8; exec $def_term
|
bindsym $mod+F8 workspace $ws8; exec $def_term
|
||||||
|
|
||||||
@@ -175,7 +175,7 @@ workspace $ws10 output $samsung
|
|||||||
bindsym $mod+F10 workspace $ws10; exec $def_term
|
bindsym $mod+F10 workspace $ws10; exec $def_term
|
||||||
bindsym Mod4+s workspace $ws10; exec spotify
|
bindsym Mod4+s workspace $ws10; exec spotify
|
||||||
|
|
||||||
set $ws11 "11 "
|
set $ws11 "11 "
|
||||||
workspace $ws11 output $benq
|
workspace $ws11 output $benq
|
||||||
bindsym $mod+F11 workspace $ws11; exec $def_term
|
bindsym $mod+F11 workspace $ws11; exec $def_term
|
||||||
|
|
||||||
|
|||||||
@@ -194,6 +194,8 @@ nnoremap <leader>s :set syn=sh<CR>
|
|||||||
nnoremap <leader>w Vgq
|
nnoremap <leader>w Vgq
|
||||||
" format this and next line
|
" format this and next line
|
||||||
nnoremap <leader>ww Vjgq
|
nnoremap <leader>ww Vjgq
|
||||||
|
" format current 3 lines
|
||||||
|
nnoremap <leader>www V2jgq
|
||||||
" toggle fold
|
" toggle fold
|
||||||
nnoremap <leader>z za
|
nnoremap <leader>z za
|
||||||
" copy next thing to system clipboard
|
" copy next thing to system clipboard
|
||||||
|
|||||||
Reference in New Issue
Block a user