dotfiles

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

commit d4f3ad7591b507cd8e484dc4ddcb6cf0030bddf5
parent dacba0e39e5b41133b04c1e3368affec05fe009a
Author: Bharatvaj <bharatvaj@yahoo.com>
Date:   Thu,  3 Mar 2022 23:53:29 +0530

Merge pull request #29 from bharatvaj/macos

macos
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"