Caution
I've moved this gist over to a template repository here. Everything here is unmaintained...
Following are the extensions required for neovim:
Caution
I've moved this gist over to a template repository here. Everything here is unmaintained...
Following are the extensions required for neovim:
loadkeys us-acentos | |
setfont Lat2-Terminus16 | |
timedatectl | |
fdisk -l | |
fdisk /dev/vda | |
g | |
n | |
<default> | |
<enter> | |
+512M |
[ | |
{ | |
"command": "projectManager.listGitProjects#sideBarGit", | |
"key": "cmd+o" | |
}, | |
{ | |
"command": "expand_region", | |
"key": "ctrl+=", | |
"when": "editorTextFocus" | |
}, |
[[language]] | |
name = "python" | |
roots = ["pyproject.toml"] | |
formatter = { command = "black", args = ["--quiet", "-"] } | |
language-server = { command = "pyright-langserver", args = ["--stdio"] } | |
config = {} | |
auto-format = true | |
[[language]] | |
name = "rust" |
theme = "tokyonight" | |
[editor] | |
line-number = "relative" | |
true-color = true | |
cursorline = true | |
gutters = ["diagnostics", "spacer", "line-numbers", "spacer", "diff"] | |
[keys.insert] | |
j = { k = "normal_mode" } |
[ | |
{ | |
"key": "ctrl+tab", | |
"command": "workbench.action.nextEditor" | |
}, | |
{ | |
"key": "ctrl+shift+tab", | |
"command": "workbench.action.previousEditor" | |
}, | |
{ |
{ | |
"files.autoSave": "onFocusChange", | |
"vim.easymotion": true, | |
"vim.incsearch": true, | |
"vim.useSystemClipboard": true, | |
"vim.useCtrlKeys": true, | |
"vim.hlsearch": true, | |
"vim.sneak": true, | |
"vim.easymotionMarkerooundColor": "#020202", | |
"vim.normalModeKeyBindings": [ |
<# | |
.SYNOPSIS | |
Setup an MSYS2 environment including the minimum tools needed for building neovim on Windows. | |
.DESCRIPTION | |
The script will download the latest nightly release of the MSYS2 installer | |
and install all the packges required for building neovim on Windows. | |
Requies administrative privilages because the MSYS2 installation must go into `C:\msys64`. |
set-executionpolicy -scope CurrentUser -executionPolicy Bypass -Force | |
If (-NOT ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)) | |
{ | |
# Relaunch as an elevated process: | |
Start-Process powershell.exe "-File",('"{0}"' -f $MyInvocation.MyCommand.Path) -Verb RunAs | |
exit | |
} | |
$ProgressPreference = 'SilentlyContinue' |
import apiProvider from './provider'; | |
export class ApiCore { | |
constructor(options) { | |
if (options.getAll) { | |
this.getAll = () => { | |
return apiProvider.getAll(options.url); | |
}; | |
} |