Image
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gui: | |
theme: | |
selectedLineBgColor: | |
- reverse | |
selectedRangeBgColor: | |
- reverse | |
inactiveBorderColor: | |
- '#000000' | |
showRandomTip: false | |
showCommandLog: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
❯ cat tmux/tmux.conf | |
# Set window to start at 1 | |
set -g base-index 1 | |
setw -g pane-base-index 1 | |
set -g mouse on | |
# Fix terminal issue | |
set -sg escape-time 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
up() { | |
branch=$(git branch --no-color 2> /dev/null | egrep '^\* [^\(]' | cut -c3-); | |
git --no-pager log --oneline "$branch" "^origin/$branch" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Install packer | |
local install_path = vim.fn.stdpath 'data' .. '/site/pack/packer/start/packer.nvim' | |
local is_bootstrap = false | |
if vim.fn.empty(vim.fn.glob(install_path)) > 0 then | |
is_bootstrap = true | |
vim.fn.system { 'git', 'clone', '--depth', '1', 'https://github.com/wbthomason/packer.nvim', install_path } | |
vim.cmd [[packadd packer.nvim]] | |
end | |
require('packer').startup(function(use) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// Require .prettierrc | |
"prettier.requireConfig": true, | |
// Show diagnostics for current line | |
"diagnostic.checkCurrentLine": true, | |
// Tslint on save | |
"tslint.enable": true, | |
"tslint.autoFixOnSave": true, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" https://github.com/neoclide/coc.nvim#example-vim-configuration | |
inoremap <silent><expr> <c-space> coc#refresh() | |
" gd - go to definition of word under cursor | |
nmap <silent> gd <Plug>(coc-definition) | |
nmap <silent> gy <Plug>(coc-type-definition) | |
" gi - go to implementation | |
nmap <silent> gi <Plug>(coc-implementation) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
syntax on | |
" colorscheme onedark | |
set shortmess=I | |
set backspace=start,eol,indent | |
" set colorcolumn=80 | |
" set cursorline | |
set expandtab | |
set foldlevel=2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"bind": { | |
"prefix": "bind", | |
"body": [ | |
"{{$1}}" | |
], | |
"description": "" | |
}, | |
"message": { | |
"prefix": "message", |
NewerOlder