Skip to content

Instantly share code, notes, and snippets.

View krithravi's full-sized avatar
🥯
eating bagel

Krithika Ravishankar krithravi

🥯
eating bagel
View GitHub Profile
se rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'jiangmiao/auto-pairs'
Plugin 'danro/rename.vim'
Plugin 'ervandew/supertab'
Plugin 'SirVer/ultisnips'
let g:UltiSnipsExpandTrigger="<tab>"
let g:UltiSnipsJumpForwardTrigger="<c-b>"
let g:UltiSnipsJumpBackwardTrigger="<c-z>"
@krithravi
krithravi / config
Last active May 31, 2021 05:36
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).
#
# i3 config file (v4)
#
# Please see https://i3wm.org/docs/userguide.html for a complete reference!
@krithravi
krithravi / config.ini
Last active May 31, 2021 05:38
Polybar config
[colors]
white = #fff
black = #000
# orange, for current window
orange = #ef9f0b
# a deeper green for visible windows
deepGreen = #48aa01
# a magenta for urgent
magenta = #f40756
[TextView]
indent=30
tabs=None
font=
justify=
linespacing=3
bullet_icon_size=GTK_ICON_SIZE_MENU
[Tag strong]
weight=PANGO_WEIGHT_BOLD
# here's a man page link:
# https://manpages.ubuntu.com/manpages/trusty/man5/zathurarc.5.html
# copy selection to system clipboard
set selection-clipboard clipboard
# sets the window title to filename only, not path as default
set window-title-basename "true"
# background in general is a dark green
set runtimepath+=~/.vim_runtime
set nocp
syntax enable
syntax on
se rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'scrooloose/nerdtree'
Plugin 'VundleVim/Vundle.vim'
Bundle '907th/vim-auto-save'
Plugin 'octol/vim-cpp-enhanced-highlight'
#some more ls aliases
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'
alias lt='ls -lrth'
alias sl='ls'
alias lat='lt -A'
# case insensitive grepping with ls
li () {
@krithravi
krithravi / .bashrc
Last active May 31, 2021 05:39
Bashrc
#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
alias ls='ls --color=auto'
export PS1='\[\e[1;32m\]KR$ \[\e[m\]'