dotfiles

Cross platform dotfiles for linux, mac and windows
git clone git@getsh.org:dotfiles.git
Log | Files | Refs

commit 15a19eca366be0799950934be39a2ed2420d5f63
parent 15c3fb9dd14900ea45a29c457e178ade1bc948d3
Author: Bharatvaj <bharatvaj@yahoo.com>
Date:   Thu,  2 Dec 2021 01:58:39 +0530

Merge pull request #22 from bharatvaj/macos

Better lynx usage and emmet for vim
Diffstat:
M.config/lynx/lynx.cfg | 8++++++++
M.config/sh/aliases | 16++++++++++++----
M.config/vim/keybindings/keybindings.vim | 2+-
M.config/vim/plugin/development.vim | 1+
M.profile | 2++
5 files changed, 24 insertions(+), 5 deletions(-)

diff --git a/.config/lynx/lynx.cfg b/.config/lynx/lynx.cfg @@ -18,3 +18,11 @@ KEYMAP:J:DOWN_TWO KEYMAP:K:UP_TWO DEFAULT_KEYPAD_MODE:LINKS_AND_FIELDS_ARE_NUMBERED MAKE_LINKS_FOR_ALL_IMAGES:TRUE + +# Status line pausing +INFOSECS:0.5 +MESSAGESECS:0.5 +ALERTSECS:3 +NO_PAUSE:TRUE + +DEFAULT_USER_MODE:ADVANCED diff --git a/.config/sh/aliases b/.config/sh/aliases @@ -1,7 +1,15 @@ -mich startx && alias startx="startx \"$XDG_CONFIG_HOME/X11/xinitrc\" vt1" -mich wget && alias wget="wget --hsts-file=\"$XDG_CACHE_HOME/wget-hsts\"" +mich startx && alias startx='startx "$XDG_CONFIG_HOME/X11/xinitrc" vt1' +mich wget && alias wget='wget --hsts-file="$XDG_CACHE_HOME/wget-hsts"' +mich mbsync && alias mbsync='mbsync -c "$XDG_CONFIG_HOME"/isync/mbsyncrc' mich nvim && alias vim=nvim -# ls conditioning -mich sl && alias lls=sl && alias llls=sl && alias sls=sl && alias lsl=sl +# conditioning +## ls conditioning +mich sl && alias lls=sl && alias llls=sl && alias sls=sl && alias lsl=sl && alias lss=sl +## cd conditioning +mich sl && alias cdd=sl + +# ip +mich ifconfig && alias lip="ifconfig | grep -w inet | cut -d ' ' -f2" +mich curl && alias gip="curl ifconfig.co" diff --git a/.config/vim/keybindings/keybindings.vim b/.config/vim/keybindings/keybindings.vim @@ -15,7 +15,7 @@ nnoremap <Leader>s :split<enter> " Quick save and write nnoremap <leader>wq :wq<cr> -nnoremap <leader>w :w<cr> +nnoremap <leader>ww :w<cr> nnoremap <leader>q :q<cr> " Plugin keybindings diff --git a/.config/vim/plugin/development.vim b/.config/vim/plugin/development.vim @@ -5,3 +5,4 @@ if has('nvim') endif Plug 'vim-syntastic/syntastic' Plug 'rust-lang/rust.vim' +Plug 'mattn/emmet-vim' diff --git a/.profile b/.profile @@ -57,6 +57,8 @@ mich() { export VISUAL=$(mich nvim && echo nvim || echo vim ) export EDITOR="$VISUAL" +export BROWSER=$(mich lynx && echo lynx) + chance "${XDG_CONFIG_HOME}/sh/aliases" chance "${XDG_CONFIG_HOME}/sh/plugin/index" chance "${XDG_CONFIG_HOME}/sh/unstaged"