commit 494396de9014d66bc74fc25af68ea3140d52ec64
parent 0ce510b0ea46cf4af031d344fb1cb4396b9ccafc
Author: Bharatvaj <bharatvaj@yahoo.com>
Date: Fri, 12 Nov 2021 00:19:08 +0530
Add lynx.lss for better browsing
Make vim more easier with <leader>wq
XDG path for notmuch
Diffstat:
6 files changed, 94 insertions(+), 1 deletion(-)
diff --git a/.config/.gitignore b/.config/.gitignore
@@ -16,4 +16,5 @@
!wgetrc
!lynx/
!lynx/lynx.cfg
+!lynx/lynx.lss
!user-dirs.dirs
diff --git a/.config/lynx/lynx.cfg b/.config/lynx/lynx.cfg
@@ -9,3 +9,4 @@ EDITOR:vim
KEYMAP:J:DOWN_TWO
KEYMAP:K:UP_TWO
+DEFAULT_KEYPAD_MODE:LINKS_AND_FIELDS_ARE_NUMBERED
diff --git a/.config/lynx/lynx.lss b/.config/lynx/lynx.lss
@@ -0,0 +1,87 @@
+em: bold: brightblue
+strong: bold: brightred
+b: bold: red
+i: bold: brightblue
+a: bold: green
+img: dim: brown
+fig: normal: gray
+caption: reverse: brown
+hr: normal: yellow
+blockquote: normal: brightblue
+ul: normal: brown
+address: normal: magenta
+title: normal: magenta
+tt: dim: brightmagenta: black
+h1: bold: yellow: blue
+label: normal: magenta
+q: normal: yellow: magenta
+small: dim: default
+big: bold: yellow
+sup: bold: yellow
+sub: dim: gray
+li: normal: magenta
+code: normal: cyan
+cite: normal: cyan
+
+table: normal: brightcyan
+tr: bold: brown
+td: normal: default
+br: normal: default
+
+alink: reverse: black: white
+status: reverse: black: lightgray
+alert: bold: yellow: red
+whereis: reverse+underline: magenta: cyan
+
+menu.bg: normal: black: lightgray
+menu.frame: normal: black: lightgray
+menu.entry: normal: lightgray: black
+menu.n: normal: red: gray
+menu.active: normal: yellow: black
+menu.sb: normal: brightred: lightgray
+
+forwbackw.arrow:reverse
+hot.paste: normal: brightred: gray
+
+# Styles with classes - <ul class=red> etc.
+ul.red: underline: brightred
+ul.blue: bold: brightblue
+li.red: reverse: red: yellow
+li.blue: bold: blue
+strong.a: bold: black: red
+em.a: reverse: black: blue
+strong.b: bold: white: red
+em.b: reverse: white: blue
+strong.debug: reverse: green
+font.letter: normal: white: blue
+input.submit: normal: cyan
+tr.baone: bold: yellow
+tr.batwo: bold: green
+tr.bathree: bold: red
+
+# Special handling for link.
+link: normal: white
+link.green: bold: brightgreen
+link.red: bold: black: red
+link.blue: bold: white: blue
+link.toc: bold: black: white
+
+# Special cases for link - the rel or title is appended after the class.
+# <link rel=next class=red href="1">
+link.red.next: bold: red
+link.red.prev: bold: yellow: red
+link.blue.prev: bold: yellow: blue
+link.blue.next: bold: blue
+link.green.toc: bold: white: green
+
+# Define styles that will be used when syntax highlighting is requested
+span.htmlsrc_comment:normal: white
+span.htmlsrc_tag:normal: white
+span.htmlsrc_attrib:normal: cyan
+span.htmlsrc_attrval:normal: magenta
+span.htmlsrc_abracket:normal: white
+span.htmlsrc_entity:normal: white
+span.htmlsrc_badseq:normal: red
+span.htmlsrc_badtag:normal: red
+span.htmlsrc_badattr:normal: red
+span.htmlsrc_sgmlspecial:normal: yellow
diff --git a/.config/sh/aliases b/.config/sh/aliases
@@ -3,5 +3,5 @@ mich wget && alias wget="wget --hsts-file=\"$XDG_CACHE_HOME/wget-hsts\""
mich nvim && alias vim=nvim
# ls conditioning
-mich sl && alias lls=sl && alias llls=sl && alias sls=sl
+mich sl && alias lls=sl && alias llls=sl && alias sls=sl && alias lsl=sl
diff --git a/.config/vim/keybindings/keybindings.vim b/.config/vim/keybindings/keybindings.vim
@@ -14,6 +14,7 @@ nnoremap <Leader>v :vsplit<enter>
nnoremap <Leader>s :split<enter>
" Quick save and write
+nnoremap <leader>wq :wq<cr>
nnoremap <leader>w :w<cr>
nnoremap <leader>q :q<cr>
diff --git a/.profile b/.profile
@@ -11,6 +11,7 @@ export GNUPGHOME="$XDG_DATA_HOME/gnupg"
export VIMINIT="source $XDG_CONFIG_HOME/vim/vimrc"
export LESSHISTFILE=-
export LYNX_CFG="$XDG_CONFIG_HOME/lynx/lynx.cfg"
+export LYNX_LSS="$XDG_CONFIG_HOME/lynx/lynx.lss"
export NODE_REPL_HISTORY="$XDG_DATA_HOME"/node_repl_history
export NPM_CONFIG_USERCONFIG=$XDG_CONFIG_HOME/npm/npmrc
export PASSWORD_STORE_DIR="$XDG_DATA_HOME"/pass
@@ -30,6 +31,8 @@ export SCREENRC="$XDG_CONFIG_HOME"/screen/screenrc
export DOCKER_CONFIG="$XDG_CONFIG_HOME"/docker
export MACHINE_STORAGE_PATH="$XDG_DATA_HOME"/docker-machine
+export NOTMUCH_CONFIG="$XDG_CONFIG_HOME/notmuch/config"
+
# Local programs
export NB_PATH="$XDG_DATA_HOME/notebook"