dotfiles

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

commit 55480ebf1fe2db63df042fbd3c9257960ca18777
parent 8b82ad54cb3fd7c0e4c7bfb6c9f67a096cee8a41
Author: Bharatvaj <bharatvaj@yahoo.com>
Date:   Thu,  3 Mar 2022 23:55:54 +0530

Merge branch 'base' of github.com:bharatvaj/dotfiles into linux

Diffstat:
M.config/sh/aliases | 8+++-----
M.config/vim/keybindings/keybindings.vim | 3+++
M.profile | 3++-
3 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/.config/sh/aliases b/.config/sh/aliases @@ -6,6 +6,8 @@ mich emcc && alias emcc='emcc --em-config "$XDG_CONFIG_HOME"/emscripten/config - mich dict && alias dict='dict -c "$XDG_CONFIG_HOME"/dict/dictrc' mich btpd && alias btpd='btpd -d "$XDG_DATA_HOME"/btpd' mich abook && alias abook='abook -C "$XDG_CONFIG_HOME"/abook/abookrc --datafile "$XDG_DATA_HOME"/abook/addressbook' +mich vim && alias v='vim' +mich nvim && alias n='nvim' # conditioning ## ls conditioning @@ -18,8 +20,4 @@ mich sl && alias cdd=sl mich ifconfig && alias lip="ifconfig | grep -w inet | cut -d ' ' -f2" mich curl && alias gip="curl ifconfig.co" -duck() { - url="$*" - lynx "https://duckduckgo.com/lite?q=$url" -} -alias '?'='duck' +alias '?d'='sr duckduckgo' diff --git a/.config/vim/keybindings/keybindings.vim b/.config/vim/keybindings/keybindings.vim @@ -14,6 +14,9 @@ nnoremap <leader>wq :wq<cr> nnoremap <leader>ww :w<cr> nnoremap <leader>qq :q<cr> +" Run Make +nnoremap <leader>bb :make<CR> + nnoremap <CR> :noh<CR><CR>:<backspace> " Plugin keybindings diff --git a/.profile b/.profile @@ -75,7 +75,8 @@ mich() { export VISUAL=nvi export EDITOR="$VISUAL" -export BROWSER=$(mich lynx && echo lynx) +export BROWSER="$(mich lynx && echo lynx)" +export SURFRAW_browser="$BROWSER" chance "${XDG_CONFIG_HOME}/sh/aliases" chance "${XDG_CONFIG_HOME}/sh/plugin/index"