Skip to content

Instantly share code, notes, and snippets.

View NunoFrRibeiro's full-sized avatar

Nuno Ribeiro NunoFrRibeiro

View GitHub Profile
@NunoFrRibeiro
NunoFrRibeiro / keybinding.json
Last active June 21, 2024 16:53
settings and keybinding for vscode vim extension
[
{
"key": "ctrl+h",
"command": "workbench.action.focusLeftGroup",
"when": "editorTextFocus && vim.active && vim.mode != 'Insert'"
},
{
"key": "ctrl+l",
"command": "workbench.action.focusRightGroup",
"when": "editorTextFocus && vim.active && vim.mode != 'Insert'"
@NunoFrRibeiro
NunoFrRibeiro / tmux.conf
Last active October 1, 2024 10:43
tmux.conf
set-option -sa terminal-overrides ",xterm*:Tc"
set -g mouse on
# bind "r" to reload tmux.conf
bind r source-file ~/.config/tmux/tmux.conf
unbind C-b
set -g prefix C-a
bind C-a send-prefix
# winget install JanDeDobbeleer.OhMyPosh
# Install-Module -Name Terminal-Icons -Repository PSGallery
# Import-Module -Name Terminal-Icons
# Install-Module PSReadLine -AllowPrerelease -Force
using namespace System.Management.Automation
using namespace System.Management.Automation.Language
if ($host.Name -eq 'ConsoleHost')
{
@NunoFrRibeiro
NunoFrRibeiro / OhMyProshv1.json
Last active September 22, 2024 11:18
OHMyPosh Profile
{ "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"version": 2,
"final_space": true,
"blocks": [
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"type": "battery",