.
This commit is contained in:
parent
16cb26991f
commit
4d4c82ed6f
3 changed files with 11 additions and 6 deletions
13
files/.exrc
13
files/.exrc
|
|
@ -2,13 +2,18 @@ set showmode ruler
|
|||
set filec=
|
||||
set cedit=
|
||||
set ai
|
||||
set tabstop=4
|
||||
set shiftwidth=4
|
||||
set tabstop=2
|
||||
set shiftwidth=2
|
||||
set number
|
||||
|
||||
" https://mattwidmann.net/notes/modern-nvi-mappings/
|
||||
" display man page
|
||||
map wbyw:o:!man p
|
||||
" git blame
|
||||
map gb :vsplit
"zy1G:edit /tmp
G:read !git blame -- #
:
o"zp!Gwc -lI:
|
||||
|
||||
" git
|
||||
map gs :w
:!clear; git status
|
||||
map gd :w
:!clear; git diff
|
||||
map gp :w
:!clear; git diff
:!git status
:!read con; if test $? -eq 0; then git commit . -m .; git push; fi
"
|
||||
|
||||
" run make
|
||||
map mm :w
:!clear; make -B
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec cage -d /usr/bin/librewolf $@
|
||||
exec cage -d /usr/bin/firefox $@
|
||||
|
|
|
|||
|
|
@ -13,4 +13,4 @@ shopt -q login_shell && \
|
|||
exists swc-launch && \
|
||||
exists velox && \
|
||||
test "$(tty)" = '/dev/tty1' && \
|
||||
exec swc-launch velox
|
||||
exec env WLD_DRM_DUMB=1 swc-launch velox
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue