Skip to content

Instantly share code, notes, and snippets.

cytopia cytopia

Block or report user

Report or block cytopia

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
cytopia /
Last active Aug 29, 2016
Manage multiple git identities
# Handle git identities
# Load this in your bash/zsh config
# Show identity
git-ident-show() {
git config --get
git config --get
cytopia / make-vim-project
Created Oct 17, 2015
Vim workflow for project and ctag files
View make-vim-project
#-------- CTAGS
make-ctags() {
ctags -RBF -f .tags \
--file-scope=yes \
--sort=yes \
--extra=+fq \
make-ctags-css() {
cytopia / ranger-as-file-explorer-in-vim.vim
Last active Aug 29, 2015
Ranger as file explorer in vim
View ranger-as-file-explorer-in-vim.vim
function RangerExplorer()
exec "silent !ranger --choosefile=/tmp/vim_ranger_current_file " . expand("%:p:h")
if filereadable('/tmp/vim_ranger_current_file')
exec 'edit ' . system('cat /tmp/vim_ranger_current_file')
call system('rm /tmp/vim_ranger_current_file')
map <Leader>x :call RangerExplorer()<CR>
You can’t perform that action at this time.