Skip to content

Instantly share code, notes, and snippets.

call plug#begin()
Plug 'tpope/vim-sensible'
Plug 'tpope/vim-commentary'
Plug 'mg979/vim-visual-multi', {'branch': 'master'}
call plug#end()
set guifont=Fira_Code:h12:cANSI:qDRAFT
set guioptions -=T
set guioptions-=r "scrollbar
set lines=35 columns=100
[{
"key": "cmd+t",
"command": "workbench.action.terminal.toggleTerminal"
},
{
"key": "cmd+j",
"command": "editor.action.joinLines",
"when": "editorTextFocus"
},
[
{
"bindings": {
"cmd-t": "workspace::ToggleBottomDock",
"cmd-b": "workspace::ToggleRightDock",
"cmd-r": "project_symbols::Toggle",
"cmd-l": "editor::DuplicateLine",
"cmd-j": "editor::JoinLines"
}
}
bind -n S-Right next-window
bind -n S-Left previous-window
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'seebi/tmux-colors-solarized'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
@roelandmoors
roelandmoors / .ideavimrc
Last active January 10, 2024 17:37
ideavim
" the same commands as the original .vimrc configuration.
" You can find a list of commands here: https://jb.gg/h38q75
" Find more examples here: https://jb.gg/share-ideavimrc
let mapleader = " "
set clipboard+=unnamed
set sidescrolloff=6
set scrolloff=6
set ignorecase
@roelandmoors
roelandmoors / init.vim
Last active February 1, 2024 20:17
neovim
call plug#begin()
Plug 'preservim/nerdtree'
Plug 'tpope/vim-commentary'
Plug 'tpope/vim-surround'
Plug 'tpope/vim-rails'
Plug 'mattn/emmet-vim'
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
Plug 'nvim-tree/nvim-web-devicons'
Plug 'nvim-lua/plenary.nvim'
Plug 'akinsho/toggleterm.nvim', {'tag' : '*'}
@roelandmoors
roelandmoors / backup.php
Last active September 10, 2023 08:12
Backup mysql databases to dropbox
<?php
# https://gist.github.com/phuze/755dd1f58fba6849fbf7478e77e2896a
# https://www.dropbox.com/developers/apps/info/i4uphx9x4x2lb3k#settings
$databases = ['db1', 'db2'];
$basepath = '/some/path/backup/';
$app_key = "1234";
$app_secret = '567';