Skip to content

Instantly share code, notes, and snippets.

View tomasflopes's full-sized avatar

Tomás Lopes tomasflopes

View GitHub Profile
monitor=eDP-1,2160x1440@60,0,1
$volume = bash ~/.config/hypr/scripts/volume
$brightness = bash ~/.config/hypr/scripts/brightness
$lock = swaylock
$powerMenu = wlogout
# ----==###==----
# EXECS
# ----==###==----
return {
"nvim-neo-tree/neo-tree.nvim",
version = "*",
dependencies = {
"nvim-lua/plenary.nvim",
"nvim-tree/nvim-web-devicons", -- not strictly required, but recommended
"MunifTanjim/nui.nvim",
},
config = function ()
-- Unless you are still migrating, remove the deprecated commands from v1.x
--[[
=====================================================================
==================== READ THIS BEFORE CONTINUING ====================
=====================================================================
Kickstart.nvim is *not* a distribution.
Kickstart.nvim is a template for your own configuration.
The goal is that you can read every line of code, top-to-bottom, and understand
# Change leader key to Space
unbind C-b
unbind C-Space
set -g prefix C-Space
bind C-Space send-prefix
set -ga terminal-overrides ",xterm-256color*:Tc"
set -s escape-time 0
set -g status-style 'bg=#333333 fg=#5eacd3'
set nocompatible " disable compatibility to old-time vi
set showmatch " show matching
set ignorecase " case insensitive
set mouse=v " middle-click paste with
set hlsearch " highlight search
set incsearch " incremental search
set termguicolors
set scrolloff=8
set colorcolumn=80
set nowrap
@tomasflopes
tomasflopes / configs
Last active March 6, 2021 15:54
ESLINT/PRETTIER COMPLETE CONFIG
yarn add prettier eslint-plugin-prettier eslint-config-prettier @typescript-eslint/eslint-plugin@latest eslint-config-airbnb-base@latest @typescript-eslint/parser@latest -D
---------------------------------------------------------------------
.eslintrc.json
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2018,
{
"Create React-Native BoilerPlate": {
"prefix": "rnfc",
"body": [
"import React from 'react';",
"import { Text, View } from 'react-native';",
"",
"import styles from './styles';",
"",
"const ${TM_DIRECTORY/.*\\/(.*)$/$1/g}: React.FC = () => {",
{
"Setup StyleSheet React Native": {
"prefix": "rnss",
"body": [
"import { StyleSheet } from 'react-native';",
"",
"const styles = StyleSheet.create({",
" container: {",
" flex: 1,",
" justifyContent: 'center',",
code --install-extension formulahendry.auto-close-tag &&
code --instal-extension formulahendry.auto-rename-tag &&
code --install-extension aaron-bond.better-comments &&
code --install-extension coenraads.bracket-pair-colorizer-2 &&
code --install-extension streetsidesoftware.code-spell-checker &&
code --install-extension streetsidesoftware.code-spell-checker-portuguese &&
code --install-extension adpyke.codesnap &&
code --install-extension naumovs.color-highlight &&
code --install-extension kamikillerto.vscode-colorize &&
code --install-extension aeschli.vscode-css-formatter &&
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// choose either `'stable'` for receiving highly polished,
// or `'canary'` for less polished but more frequent updates
updateChannel: 'stable',