Skip to content

Instantly share code, notes, and snippets.

View ishabo's full-sized avatar

Joshua ishabo

  • YodaTek LTD
  • London
View GitHub Profile
@ishabo
ishabo / .tmux.conf
Last active January 21, 2025 13:48
My .tmux.conf - linux
unbind r
bind r source-file ~/.tmux.conf
set -g mouse on
# set-option -g default-shell /opt/homebrew/bin/zsh
unbind C-b
set-option -g prefix M-z
@ishabo
ishabo / .vimrc
Last active January 21, 2025 14:09
.vimrc
let mapleader=","
source ~/.cocrc
call plug#begin()
" Autocompletion
Plug 'neoclide/coc.nvim', { 'branch': 'release' }
Plug 'Shougo/vimproc.vim', {'do' : 'make'} " Interactive command execution in Vim.
" Source Control
Plug 'airblade/vim-gitgutter'
@ishabo
ishabo / .cocrc
Last active January 20, 2025 16:58
My .cocrc
inoremap <expr> <CR> pumvisible() ? "\<C-Y>" : "\<CR>"
function! CheckBackSpace() abort
let col = col('.') - 1
return !col || getline('.')[col - 1] =~ '\s'
endfunction
" Insert <tab> when previous text is space, refresh completion if not.
inoremap <silent><expr> <TAB>
\ coc#pum#visible() ? coc#pum#next(1):