Skip to content

Instantly share code, notes, and snippets.

View kryshac's full-sized avatar
🎯
Focusing

kryshac

🎯
Focusing
View GitHub Profile
@kryshac
kryshac / netrw quick reference.md
Created March 12, 2022 21:26 — forked from t-mart/netrw quick reference.md
A quick reference for Vim's built-in netrw file selector.
Map Action
<F1> Causes Netrw to issue help
<cr> Netrw will enter the directory or read the file
<del> Netrw will attempt to remove the file/directory
- Makes Netrw go up one directory
a Toggles between normal display, hiding (suppress display of files matching g:netrw_list_hide) showing (display only files which match g:netrw_list_hide)
c Make browsing directory the current directory
C Setting the editing window
d Make a directory
# set zsh defaul "chsh -s /usr/bin/zsh"
export TERM="xterm-256color"
export POWERLEVEL9K_INSTALLATION_PATH=~/.antigen/bundles/bhilburn/powerlevel9k
source /usr/share/nvm/init-nvm.sh
source /usr/share/zsh/share/antigen.zsh
# Load the oh-my-zsh's library.
Xft.dpi: 96
Xft.antialias: true
Xft.hinting: true
Xft.rgba: rgb
Xft.autohint: false
Xft.hintstyle: hintslight
Xft.lcdfilter: lcddefault
XTerm*background: #222D31
XTerm*foreground: #d8d8d8
call plug#begin('~/.local/share/nvim/plugged')
" ColorSchemes: {{{
" One Dark
Plug 'joshdick/onedark.vim'
" Vim one
Plug 'rakr/vim-one'
" }}}
" General settings {{{
scriptencoding utf-16 " allow emojis in vimrc
syntax on " syntax highlighting
" }}}
" Behavior Modification ---------------------- {{{
" set leader key
let g:mapleader="\\"
@kryshac
kryshac / .vimrc
Last active April 8, 2019 22:55
vim configuration
" Specify a directory for plugins
" - For Neovim: ~/.local/share/nvim/plugged
" - Avoid using standard Vim directory names like 'plugin'
call plug#begin('~/.vim/plugged')
" Plugins for vim
Plug 'easymotion/vim-easymotion'
Plug 'tpope/vim-surround'
" multiple cursors
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(t,e,n){t.exports=n("zUnb")},crnd:function(t,e){function n(t){return Promise.resolve().then(function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e})}n.keys=function(){return[]},n.resolve=n,t.exports=n,n.id="crnd"},zUnb:function(t,e,n){"use strict";n.r(e);var r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function i(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var o=function(){return(o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function a(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==ty
#Hello
write-host "Hello. This script will install php-cs-fixer for you." -foregroundcolor DarkGreen -backgroundcolor white
$PSVersionTable.PSVersion
#functions and variables
if ($env:TEMP -eq $null) {
$env:TEMP = Join-Path $env:SystemDrive 'temp'
}
if (![System.IO.Directory]::Exists($env:TEMP)) {
Write-Host "Creating temporary download directory in env:TEMP" -foregroundcolor DarkBlue -backgroundcolor white