Skip to content

Instantly share code, notes, and snippets.

View okraits's full-sized avatar

Oliver Kraitschy okraits

View GitHub Profile
@wwalker
wwalker / i3-alt-tab-ww
Created July 8, 2021 16:03
my i3 alt-tab functionality - work in progress
#!/usr/bin/env python3
#
# modified by wwalker (wwalker@solid-constructs.com) from example script
# https://github.com/altdesktop/i3ipc-python/blob/master/examples/i3-cycle-focus.py
#
# provides alt+tab functionality between windows, switching
# between n windows; example i3 conf to use:
# exec_always --no-startup-id i3-alt-tab-ww
# bindsym Shift+$alt+Tab exec --no-startup-id i3-select-recent-window
# bindsym $alt+Tab exec --no-startup-id i3-alt-tab-ww --switch
@seven1m
seven1m / init.vim
Last active July 24, 2024 07:22
my vim/neovim config in < 100 LOC
syntax on " enable syntax highlighting
set background=dark " we like it dark!
try | colorscheme gruvbox | catch | endtry " use this awesome theme if possible
highlight Pmenu ctermbg=black guibg=black | " fix popup color so it's easier to read
filetype plugin on " load plugins based on file type
filetype indent on " load indent settings based on file type
set shiftwidth=2 " number of spaces to use for indenting
set softtabstop=2 " number of spaces to use when inserting a tab
set tabstop=2 " show tabs as 2 spaces
set expandtab " convert tabs into spaces