Coder Social home page Coder Social logo

bhupesh-v / .varshney Goto Github PK

View Code? Open in Web Editor NEW
27.0 5.0 2.0 299 KB

My config and dotfiles infrastructure ⚒️

Home Page: https://bhupesh.me/.Varshney/

License: GNU General Public License v3.0

Shell 67.01% Python 15.07% Vim Snippet 4.12% Awk 0.28% Vim Script 13.52%
dotfiles bash bashrc vim scripts tools scripts-collection automation shell bash-completion bash-prompt neovim xmodmap aliases vimrc vimrc-configuration

.varshney's Introduction

.Varshney

My config & .dotfiles managed by dotman 🖖

License: GPLv3 bashit Twitter: bhupeshimself

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 👍

Function Name Description & Demo
netu🌐 Analyze network data usage
Demo demo of netu gif
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 scd demo gif
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
  1. sys

    A realtime update of your system using common shell commands

    Demo sys.sh demo gif

    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

    A utility to watch a Markdown file & build its HTML preview using commonmarker

    Demo md.sh demo gif

    Install

    wget -q https://raw.githubusercontent.com/Bhupesh-V/.Varshney/master/scripts/md && chmod +x md && mv md $HOME/.local/bin/
    
  3. colors

    A utility to check color capability of your terminal

    Demo colors.sh demo png

    Install

    wget -q https://raw.githubusercontent.com/Bhupesh-V/.Varshney/master/scripts/colors && chmod +x colors && mv colors $HOME/.local/bin/
    
  4. 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

    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

    A python utility to list all the contributors on your github repositories

    Install

    wget -q https://raw.githubusercontent.com/Bhupesh-V/.Varshney/master/scripts/contributors && chmod +x contributors && mv contributors $HOME/.local/bin/
    
  7. gif

    A shell utility to convert videos to high-quality GIFs using ffmpeg

    Install

    wget -q https://raw.githubusercontent.com/Bhupesh-V/.Varshney/master/scripts/gif && chmod +x gif && mv gif $HOME/.local/bin/
    
  8. surf

    A python script to surf the web from command line, powered by searx (0 external dependencies)

    Demo surf.py demo png

    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)

    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 + <CR> 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)
<space> Toggle Fold at Current line
<Tab> Switch Windows

Author bhupesh-twitter-image

🤓 Bhupesh Varshney

☺️ Show your support

Support me by giving a ⭐️ if this project helped you! or just Twitter URL

📝 License

Copyright © 2020 Bhupesh Varshney.
This project is GPLv3 licensed.

GPLv3-logo

.varshney's People

Contributors

bhupesh-v avatar mattiasb avatar rancho-rachit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

.varshney's Issues

automatically replace :emoji_string: with actual emoji in vim-emoji

So I use emojis 👌🏽 a lot while writing blogs for that I have vim-emoji installed
But I need a way to figure out a way to replace the emoji string which is generated after autocompletion.
I know this can be done using functions in vimscript, I will come back here once I am able to do that.

We need a way to automatically trigger this on the text

%s/:\([^:]\+\):/\=emoji#for(submatch(1), submatch(0))/g

Resources:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.