mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 08:41:34 +02:00
Add gpe(gpg wrapper) for ranger
This commit is contained in:
parent
633e8ad6cd
commit
71ddd0ad2f
7 changed files with 61 additions and 14 deletions
|
|
@ -28,18 +28,18 @@ super + q
|
|||
bspc node -c
|
||||
|
||||
super + control + r
|
||||
bspc wm -r && pkill sxhkd && sxhkd -c ~/.config/bspwm/sxhkd
|
||||
bspc wm -r \
|
||||
&& pkill sxhkd \
|
||||
&& sxhkd -c ~/.config/bspwm/sxhkd
|
||||
|
||||
### == BSPWM windows
|
||||
## Resize window
|
||||
super + ctrl + {h,j,k,l}
|
||||
bspc node -z {right -20 0,top 0 20,bottom 0 -20,left 20 0}
|
||||
|
||||
# Change focus & move focus window
|
||||
super + {_,shift + } {h,j,k,l}
|
||||
bspc node -{f,s} {west,south,north,east}
|
||||
|
||||
# Preselect the direction
|
||||
super + ctrl + {h,j,k,l}
|
||||
bspc node -z {right -20 0,top 0 20,bottom 0 -20,left 20 0}
|
||||
|
||||
### === BSPWM window preselect
|
||||
super + alt + {h,j,k,l}
|
||||
bspc node -p {west,south,north,east}
|
||||
|
||||
|
|
|
|||
|
|
@ -85,6 +85,7 @@ command! GoFmt :silent !gofmt -w %
|
|||
"== NERDTree
|
||||
let g:NERDTreeWinPos = "right"
|
||||
let g:NERDTreeMinimalUI = 1
|
||||
let g:NERDTreeWinSize = 24
|
||||
|
||||
"== Mapping
|
||||
let mapleader=";"
|
||||
|
|
|
|||
|
|
@ -22,16 +22,28 @@ set save_console_history false
|
|||
set scroll_offset 4
|
||||
|
||||
#== Mappings
|
||||
|
||||
# go to
|
||||
map gc cd ~/code
|
||||
map gd cd ~/Documents
|
||||
map gw cd ~/Downloads
|
||||
map g. cd ~/.dotfiles
|
||||
map @ shell $SHELL
|
||||
|
||||
# delete
|
||||
map dD delete
|
||||
map dT trash
|
||||
|
||||
# tab
|
||||
map <c-k> tab_shift 1
|
||||
map <c-j> tab_shift -1
|
||||
|
||||
# archive
|
||||
map sa shell zip -r archive.zip %s
|
||||
map ss shell tar -czvf archive.tar.gz %s
|
||||
map sd shell 7z a archive.7z %s
|
||||
map se shell extract %s
|
||||
|
||||
# gpg
|
||||
map ee shell gpe enc %s
|
||||
map ed shell gpe dec %s
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@ set default-bg "#262A2B"
|
|||
|
||||
set statusbar-fg "#CED4DA"
|
||||
set statusbar-bg "#1F2324"
|
||||
set statusbar-h-padding 10
|
||||
set statusbar-v-padding 10
|
||||
set statusbar-h-padding 7
|
||||
set statusbar-v-padding 7
|
||||
|
||||
set inputbar-fg "#FFFFFF"
|
||||
set inputbar-bg "#1F2324"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue