Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bhupesh-v/.varshney
My config and dotfiles infrastructure ⚒️
https://github.com/bhupesh-v/.varshney
aliases automation bash bash-completion bash-prompt bashrc dotfiles neovim scripts scripts-collection shell tools vim vimrc vimrc-configuration xmodmap
Last synced: 2 months ago
JSON representation
My config and dotfiles infrastructure ⚒️
- Host: GitHub
- URL: https://github.com/bhupesh-v/.varshney
- Owner: Bhupesh-V
- License: gpl-3.0
- Created: 2020-06-20T08:22:54.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-03-28T20:24:09.000Z (9 months ago)
- Last Synced: 2024-04-14T00:59:15.793Z (9 months ago)
- Topics: aliases, automation, bash, bash-completion, bash-prompt, bashrc, dotfiles, neovim, scripts, scripts-collection, shell, tools, vim, vimrc, vimrc-configuration, xmodmap
- Language: Shell
- Homepage: https://bhupesh.me/.Varshney/
- Size: 292 KB
- Stars: 28
- Watchers: 5
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# .Varshney
My config & .dotfiles managed by dotman 🖖
## My setup 🖥
- **OS**: Ubuntu 20.04
- **DE**: Mate
- **SHELL**: bash
- **Editor**: NeoVim
- **TERM**: xterm-256color## What's Inside 👀
> ~~I am pretty new to this stuff~~ (not anymore), so you won't find any scripts that hack NASA. Anyways, hope you find something useful, Good luck 👍
- [`scripts`](#scripts)
- [`bash_functions`](#bash_functions)
- [`bash_aliases`](#bash_aliases)
- [`bashrc`](#bashrc)
- [`init.vim` or `.vimrc`](#initvim-or-vimrc)### [`.bash_functions`](https://github.com/Bhupesh-V/.Varshney/blob/master/.bash_functions)
Function Name
Description & Demo
netu
🌐
Analyze network data usage
Demo
vcd
🐍
Automatically activate python virtual environments on cd
scd
💡
[s]mart cd searches absolute path names of directories inside your system and switches to them automatically. No need to remember any locations !!.
Read More
Also see scd-completions.bash for automatic tab suggestions.
Demo
alarm
⏰
A single line utility for a timer/alarm
myip
🌐
A single line utility for showing my IP address
extract
📦
A utility for extracting different archives in an easy way
### [`scripts`](https://github.com/Bhupesh-V/.Varshney/blob/master/scripts/)
1. [**sys**](https://github.com/Bhupesh-V/.Varshney/blob/master/scripts/sys)
> A realtime update of your system using common shell commands
Demo
Install
```
wget -q https://raw.githubusercontent.com/Bhupesh-V/.Varshney/master/scripts/sys && chmod +x sys && mv sys $HOME/.local/bin/
```
install lm-sensors for detecting cpu-temps
```
sudo apt install lm-sensors && sudo sensors-detect
```2. [**md**](https://github.com/Bhupesh-V/.Varshney/blob/master/scripts/md)
> A utility to watch a Markdown file & build its HTML preview using commonmarker
Demo
Install
```
wget -q https://raw.githubusercontent.com/Bhupesh-V/.Varshney/master/scripts/md && chmod +x md && mv md $HOME/.local/bin/
```3. [**colors**](https://github.com/Bhupesh-V/.Varshney/blob/master/scripts/colors)
> A utility to check color capability of your terminal
Demo
Install
```
wget -q https://raw.githubusercontent.com/Bhupesh-V/.Varshney/master/scripts/colors && chmod +x colors && mv colors $HOME/.local/bin/
```4. [**myprs**](https://github.com/Bhupesh-V/.Varshney/blob/master/scripts/myprs)
> A python utility to list a github user's pull requests in a nicely readable markdown file with 0 external dependencies.Install
```
wget -q https://raw.githubusercontent.com/Bhupesh-V/.Varshney/master/scripts/myprs && chmod +x myprs && mv myprs $HOME/.local/bin/
```
5. [**bkp**](https://github.com/Bhupesh-V/.Varshney/blob/master/scripts/bkp)
> A python utility to backup files on Github as a Secret Gist (0 dependency)Install
```
wget -q https://raw.githubusercontent.com/Bhupesh-V/.Varshney/master/scripts/bkp && chmod +x bkp && mv bkp $HOME/.local/bin/
```
6. [**contributors**](https://github.com/Bhupesh-V/.Varshney/blob/master/scripts/contributors)
> A python utility to list all the contributors on your github repositoriesInstall
```
wget -q https://raw.githubusercontent.com/Bhupesh-V/.Varshney/master/scripts/contributors && chmod +x contributors && mv contributors $HOME/.local/bin/
```
7. [**gif**](https://github.com/Bhupesh-V/.Varshney/blob/master/scripts/gif)
> A shell utility to convert videos to high-quality GIFs using ffmpegInstall
```
wget -q https://raw.githubusercontent.com/Bhupesh-V/.Varshney/master/scripts/gif && chmod +x gif && mv gif $HOME/.local/bin/
```
8. [**surf**](https://github.com/Bhupesh-V/.Varshney/blob/master/scripts/surf)
> A python script to surf the web from command line, powered by searx (0 external dependencies)
Demo
Install
```
wget -q https://raw.githubusercontent.com/Bhupesh-V/.Varshney/master/scripts/surf && chmod +x surf && mv surf $HOME/.local/bin/
```
9. [**oib (open in browser)**](https://github.com/Bhupesh-V/.Varshney/blob/master/scripts/oib)
> A utility to open a text-file as a HTML page so that I can use grammarly web extension `-_-`Install
```
wget -q https://raw.githubusercontent.com/Bhupesh-V/.Varshney/master/scripts/oib && chmod +x oib && mv oib $HOME/.local/bin/
```#### Keyboard Shortcuts
| Shortcut | Purpose |
|:-------------:|:-------------|
| `F3` | Open **:term** |
| `F4` | Insert Current Date (dd mm, yyyy) |
| `F5` | Source **$MYVIMRC** |
| `F6` | **:NERDToggle** |
| `F7` | Edit **$MYVIMRC** |
| `F8` | Switch to Transparent Mode |
| `F9` | Write and Quit on all buffers (Kill Switch) |
| `F10` | Indent based on FileType |
| `Alt` + `m` | Build & Run code using **:make** |
| `Alt` + `h` | Vertical resize +3 |
| `Alt` + `l` | Vertical resize -3 |
| `Alt` + `k` | Horizontal resize +3 |
| `Alt` + `j` | Horizontal resize +3 |
| `Alt` + `` | Switch to **:Goyo** Mode |
| `Shift` + `k` | Move line(s) up |
| `Shift` + `j` | Move line(s) down |
| `Shift` + `r` | Run linux Command at current line |
| `Shift` + `l` | Open hyperlink at current line |
| `Shift` + `t` | Switch buffer in current window |
| `Ctrl` + `c` | Copy in Visual Mode |
| `Ctrl` + `v` | Paste in Insert Mode |
| `t` | Toggle Comment in Current line (Normal Mode) |
| `` | Toggle Fold at Current line |
| `` | Switch Windows |## Author [![bhupesh-twitter-image](https://kutt.it/bhupeshimself)](https://twitter.com/bhupeshimself)
**🤓 [Bhupesh Varshney](https://bhupesh.me)**## ☺️ Show your support
Support me by giving a ⭐️ if this project helped you! or just [![Twitter URL](https://img.shields.io/twitter/url?style=social&url=https%3A%2F%2Fgithub.com%2FBhupesh-V%2F.Varshney%2F)](https://twitter.com/intent/tweet?url=https://github.com/Bhupesh-V/.Varshney&text=.Varshney%20via%20@bhupeshimself)
## 📝 License
Copyright © 2020 [Bhupesh Varshney](https://github.com/Bhupesh-V).
This project is [GPLv3](https://github.com/Bhupesh-V/.Varshney/blob/master/LICENSE) licensed.![GPLv3-logo](https://www.gnu.org/graphics/gplv3-with-text-136x68.png)