.
This commit is contained in:
parent
c373245cbc
commit
55686316aa
5 changed files with 17 additions and 1 deletions
1
README
1
README
|
|
@ -55,6 +55,7 @@ KNOWLEDGE
|
||||||
- nsxiv for image viewing
|
- nsxiv for image viewing
|
||||||
- dooble for browser
|
- dooble for browser
|
||||||
- links for quick html rendering
|
- links for quick html rendering
|
||||||
|
- zathura and zathura-pdf-mupdf as pdf viewer
|
||||||
- pcmanfm as a file manager
|
- pcmanfm as a file manager
|
||||||
|
|
||||||
* non-packaged packages
|
* non-packaged packages
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,15 @@ require("vis")
|
||||||
vis.events.subscribe(vis.events.INIT, function()
|
vis.events.subscribe(vis.events.INIT, function()
|
||||||
vis:command("set theme kento2")
|
vis:command("set theme kento2")
|
||||||
|
|
||||||
|
vis.options.autoindent = true
|
||||||
|
vis.options.breakat = " "
|
||||||
|
|
||||||
|
vis:map(vis.modes.NORMAL, 'h', 'gh')
|
||||||
|
vis:map(vis.modes.NORMAL, 'j', 'gj')
|
||||||
|
vis:map(vis.modes.NORMAL, 'k', 'gk')
|
||||||
|
vis:map(vis.modes.NORMAL, 'l', 'gl')
|
||||||
|
vis:map(vis.modes.NORMAL, '0', 'g0')
|
||||||
|
|
||||||
vis:command("map! normal n <vis-motion-search-repeat>")
|
vis:command("map! normal n <vis-motion-search-repeat>")
|
||||||
vis:map(vis.modes.VISUAL, ' y', '"+y')
|
vis:map(vis.modes.VISUAL, ' y', '"+y')
|
||||||
vis:map(vis.modes.VISUAL, ' p', '"+p')
|
vis:map(vis.modes.VISUAL, ' p', '"+p')
|
||||||
|
|
@ -13,3 +22,8 @@ vis.events.subscribe(vis.events.INIT, function()
|
||||||
vis:map(vis.modes.NORMAL, ' d', '"+d')
|
vis:map(vis.modes.NORMAL, ' d', '"+d')
|
||||||
vis:map(vis.modes.NORMAL, ' x', '"+x')
|
vis:map(vis.modes.NORMAL, ' x', '"+x')
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
vis.events.subscribe(vis.events.WIN_OPEN, function(win)
|
||||||
|
win.options.tabwidth = 3
|
||||||
|
win.options.wrapcolumn = 80
|
||||||
|
end)
|
||||||
|
|
|
||||||
1
files/.config/zathura/zathurarc
Normal file
1
files/.config/zathura/zathurarc
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
set selection-clipboard clipboard
|
||||||
|
|
@ -61,6 +61,7 @@ workspaces()
|
||||||
if $focused; then
|
if $focused; then
|
||||||
# clicking the layout symbol will cycle the layout
|
# clicking the layout symbol will cycle the layout
|
||||||
lyt="%{A:dkcmd set layout cycle:}${layouts[$layout]}%{A}"
|
lyt="%{A:dkcmd set layout cycle:}${layouts[$layout]}%{A}"
|
||||||
|
WIN="${title:0:50}"
|
||||||
f="$hi"
|
f="$hi"
|
||||||
fi
|
fi
|
||||||
# clicking on a workspace name will view it
|
# clicking on a workspace name will view it
|
||||||
|
|
|
||||||
|
|
@ -21,4 +21,3 @@ alias pc='pass -c'
|
||||||
alias pe='pass edit'
|
alias pe='pass edit'
|
||||||
|
|
||||||
date
|
date
|
||||||
printf 'BAT %s%%\n' "$(cat /sys/class/power_supply/BAT0/capacity)"
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue