These are my settings for the Cursor column highlight extension for VSCode.
{
"cursor-column.showBorder": true,
"workbench.colorCustomizations": {
"cursorColumnColor": "#1f231f"
}
{ | |
"custom-layouts": [ | |
{ | |
"uuid": "{47386FC1-998E-4355-9E5D-034CB0AD7583}", | |
"name": "12 by 12", | |
"type": "grid", | |
"info": { | |
"rows": 12, | |
"columns": 12, | |
"rows-percentage": [ |
These are my settings for the Cursor column highlight extension for VSCode.
{
"cursor-column.showBorder": true,
"workbench.colorCustomizations": {
"cursorColumnColor": "#1f231f"
}
To install Markdown Preview in LunarVim on Windows, follow these steps:
In config.lua
add the following to your lvim.plugins
table:
{
"iamcco/markdown-preview.nvim",
cmd = { "MarkdownPreviewToggle", "MarkdownPreview", "MarkdownPreviewStop" },
ft = { "markdown" }
}
On Windows, you should be able to create a .wezterm.lua
in $HOME
(which is really just $HOMEDRIVE
+ $HOMEPATH
).
Here is a sample .wezterm.lua
which sends a Control-w in response to Control-Backspace, useful for deleting a word behind the cursor:
local wezterm = require 'wezterm'
local act = wezterm.action
return {
vim.o.breakindent = true | |
vim.o.linebreak = true | |
vim.o.number = true | |
vim.o.relativenumber = true | |
vim.opt.tabstop = 4 | |
vim.opt.shiftwidth = 4 | |
vim.opt.softtabstop = 4 | |
vim.opt.expandtab = true |
Function Set-PSConsoleReadLineSelectionState | |
{ | |
param( | |
[Parameter(Mandatory)][int]$Start, | |
[Parameter(Mandatory)][int]$Length, | |
[ValidateSet('Backward', 'Forward')][string]$Direction='Forward' | |
) | |
$startCursorPosition,$selectChar = switch ($Direction) | |
{ |
Set-PSReadLineKeyHandler -Key 'Alt+F4' ` | |
-BriefDescription ExitPowerShell ` | |
-LongDescription "Exits PowerShell" ` | |
-ScriptBlock { | |
param($key, $arg) | |
$line = $null; | |
$cursor = $null; | |
[Microsoft.PowerShell.PSConsoleReadLine]::GetBufferState([ref] $line, [ref] $cursor); | |
[Microsoft.PowerShell.PSConsoleReadLine]::Delete(0, $line.Length); |
class Point { | |
[double]$X; | |
[double]$Y; | |
Point([double]$x, [double]$y) { | |
$this.X = $x; | |
$this.Y = $y; | |
} | |
[Point]Add([double]$xDelta, [double]$yDelta) { |
using Microsoft.SharePoint.Client; | |
using System; | |
using System.Collections.Concurrent; | |
using System.Net.Http; | |
using System.Text; | |
using System.Text.Json; | |
using System.Threading; | |
using System.Threading.Tasks; | |
using System.Diagnostics; |
Windows Registry Editor Version 5.00 | |
[HKEY_CLASSES_ROOT\Directory\Background\shell\OpenPowerShellHere] | |
@="Open PowerShell here" | |
"Icon"="C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe" | |
[HKEY_CLASSES_ROOT\Directory\Background\shell\OpenPowerShellHere\command] | |
@="powershell.exe -NoExit -Command Set-Location -LiteralPath '%V'" | |
[HKEY_CLASSES_ROOT\Directory\shell\OpenPowerShellHere] |