This commit is contained in:
kento2 2026-02-10 14:07:09 +01:00
parent c373245cbc
commit 55686316aa
5 changed files with 17 additions and 1 deletions

1
README
View file

@ -55,6 +55,7 @@ KNOWLEDGE
- nsxiv for image viewing
- dooble for browser
- links for quick html rendering
- zathura and zathura-pdf-mupdf as pdf viewer
- pcmanfm as a file manager
* non-packaged packages

View file

@ -3,6 +3,15 @@ require("vis")
vis.events.subscribe(vis.events.INIT, function()
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:map(vis.modes.VISUAL, ' y', '"+y')
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, ' x', '"+x')
end)
vis.events.subscribe(vis.events.WIN_OPEN, function(win)
win.options.tabwidth = 3
win.options.wrapcolumn = 80
end)

View file

@ -0,0 +1 @@
set selection-clipboard clipboard

View file

@ -61,6 +61,7 @@ workspaces()
if $focused; then
# clicking the layout symbol will cycle the layout
lyt="%{A:dkcmd set layout cycle:}${layouts[$layout]}%{A}"
WIN="${title:0:50}"
f="$hi"
fi
# clicking on a workspace name will view it

View file

@ -21,4 +21,3 @@ alias pc='pass -c'
alias pe='pass edit'
date
printf 'BAT %s%%\n' "$(cat /sys/class/power_supply/BAT0/capacity)"