Skip to content

Instantly share code, notes, and snippets.

View dragod812's full-sized avatar

Sidharth Padhee dragod812

View GitHub Profile
@dragod812
dragod812 / neovimrc
Last active August 22, 2022 22:41
~/.config/nvim/init.vim
" _ _ ____ _ _
" | | ___| |_ ___ / ___|___ __| | ___| |
" | | / _ \ __/ __| | | / _ \ / _` |/ _ \ |
" | |__| __/ |_\__ \ | |__| (_) | (_| | __/_|
" |_____\___|\__|___/ \____\___/ \__,_|\___(_)
""""""""""
"Encoding"
""""""""""
set encoding=utf-8
@dragod812
dragod812 / config
Created July 5, 2022 13:35
~/.config/i3/config
# This file has been auto-generated by i3-config-wizard(1).
# It will not be overwritten, so edit it as you like.
# Should you change your keyboard layout some time, delete
# this file and re-run i3-config-wizard(1).
#
focus_follows_mouse no
# i3 config file (v4)
#
# Please see https://i3wm.org/docs/userguide.html for a complete reference!
@dragod812
dragod812 / vscode-vim-settings.json
Last active February 28, 2024 21:05
VSCode VIM Keybindings
"vim.leader": " ",
"vim.insertModeKeyBindings": [
{
"before": [
"ctrl+a"
],
"commands": [
"editor.action.quickFix"
]
},
@dragod812
dragod812 / .ideavimrc
Last active August 8, 2022 22:38
IdeaVim Configuration
let mapleader=","
set easymotion
set relativenumber
set smartcase
map s <Plug>(easymotion-s)
map gh <Action>(QuickJavaDoc)
map ge <Action>(ShowErrorDescription)
map gi <Action>(GotoImplementation)
map gu <Action>(GotoSuperMethod)
@dragod812
dragod812 / .vimrc
Created June 29, 2022 15:15
.vimrc
"__ ___
"\ \ / (_)_ __ ___
" \ \ /\ / /| | '_ ` _ \
" \ V V / | | | | | | |
" \_/\_/ |_|_| |_| |_|
"
""""""""""
"Encoding"
""""""""""
@dragod812
dragod812 / init.lua
Last active August 8, 2022 02:05
Hyper Key configuration for MacOS
-- HyperKey Setup
-- install carbiner and hammerspoon
-- map the capslock key to F18, map the escape key to capslock
-- paste this document in hammerspoon config in ~/.hammerspoon/init.lua
-- A variable for the Hyper Mode
local k = hs.hotkey.modal.new({}, "F17")
-- VimMode Support
-- Install vim-mode -> Run the following commands in a terminal
-- mkdir -p ~/.hammerspoon/Spoons
@dragod812
dragod812 / plantuml-sequence-template.puml
Created March 5, 2022 15:00
PlantUML: Sequence Diagram Template
@startuml
participant Participant as Foo
actor Actor as Foo1
boundary Boundary as Foo2
control Control as Foo3
entity Entity as Foo4
database Database as Foo5
collections Collections as Foo6
queue Queue as Foo7
alt success
@dragod812
dragod812 / plantuml-architecture-template.puml
Last active March 5, 2022 14:59
PlantUML: Architecture template
@startuml
!include <awslib/AWSCommon>
!include <awslib/AWSSimplified.puml>
!include <awslib/Compute/all.puml>
!include <awslib/mobile/all.puml>
!include <awslib/general/all.puml>
!include <awslib/GroupIcons/all.puml>
!include <awslib/NetworkingAndContentDelivery/all.puml>
skinparam ComponentStyle rectangle